:root {
    --metal-dark: #1a1a1d;
    --steel: #4e4e50;
    --gear-orange: #c3073f; /* Industrial Alert Red/Orange */
    --blueprint-blue: #1a2238;
    --brass: #b19410;
    --text-white: #e3e3e3;
}

body {
    background-color: var(--metal-dark);
    background-image: 
        radial-gradient(var(--blueprint-blue) 1px, transparent 1px);
    background-size: 30px 30px; /* Blueprint Grid Effect */
    color: var(--text-white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Rotating Gear Animation */
.gear {
    display: inline-block;
    animation: rotate-gear 4s linear infinite;
    color: var(--brass);
    font-size: 2rem;
}

@keyframes rotate-gear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Classroom/Blueprints Card */
.card {
    background: rgba(26, 34, 56, 0.9);
    border-left: 5px solid var(--gear-orange);
    border-top: 1px solid var(--steel);
    padding: 20px;
    margin: 15px;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Industrial Animated Progress Bar */
.mechanical-gauge {
    width: 100%;
    height: 30px;
    background: #000;
    border: 2px solid var(--steel);
    border-radius: 4px;
    position: relative;
    box-shadow: inset 0 0 10px #000;
}

.gauge-fill {
    height: 100%;
    width: 0%; /* Start at 0 for animation */
    background: repeating-linear-gradient(
      45deg,
      var(--gear-orange),
      var(--gear-orange) 10px,
      #950740 10px,
      #950740 20px
    );
    transition: width 2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.gauge-fill::after {
    content: "PROCESSING...";
    font-size: 0.6rem;
    font-weight: bold;
    padding-right: 10px;
    white-space: nowrap;
    color: white;
}/* Classroom Blueprint Background */
.classroom-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background: #1a2238; /* Blueprint Blue */
    border: 2px solid var(--brass);
    box-shadow: 0 0 20px rgba(177, 148, 16, 0.2);
    position: relative;
}

/* Hand-drawn style lines for Classroom feel */
.classroom-container::after {
    content: "";
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.mechanical-list {
    list-style: none;
    padding: 0;
}

.mechanical-list li::before {
    content: "⚙"; /* Gear icon for bullets */
    margin-right: 10px;
    color: var(--gear-orange);
    display: inline-block;
    animation: rotate-gear 5s infinite linear;
}

.contact-terminal {
    background: #000;
    padding: 20px;
    font-family: 'Consolas', monospace;
    color: var(--matrix-green);
    border-radius: 5px;
}.header-tools {
    display: flex;
    gap: 25px;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border: 1px solid var(--steel);
    border-radius: 20px;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

#robotClock {
    color: var(--matrix-green); /* Keep the green glow for the timer */
    font-weight: bold;
    letter-spacing: 1px;
}

/* Navbar Logo Fix */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.school-logo {
    height: 35px;
    filter: drop-shadow(0 0 5px var(--gear-orange));
}

/* Header-Specific Adjustments */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background: var(--metal-dark);
    border-bottom: 2px solid var(--steel);
}

@media (max-width: 900px) {
    .header-tools {
        display: none; /* Hide tools on small screens to save space */
    }
    #wrapper {
    overflow-x: hidden;
}

#sidebar-wrapper {
    min-height: 100vh;
    width: 250px;
    margin-left: -250px; /* Initially hidden */
    transition: margin 0.25s ease-out;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

.list-group-item {
    border: none;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    transition: 0.3s;
}

.list-group-item:hover {
    background: rgba(0, 255, 65, 0.1) !important;
    color: var(--matrix-green) !important;
    padding-left: 1.5rem;
}

.active-link {
    border-left: 4px solid var(--gear-orange) !important;
    background: rgba(195, 7, 63, 0.1) !important;
}

.text-matrix { color: var(--matrix-green); }
.header-tools {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--steel);
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 255, 65, 0.05);
}

.text-matrix {
    color: var(--matrix-green);
    text-shadow: 0 0 8px var(--matrix-green);
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: rgba(195, 7, 63, 0.1); /* Gear Orange tint on hover */
    color: var(--gear-orange);
}

.navbar-nav .nav-link {
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.animate-pulse {
    animation: blink 1.5s infinite;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.animate-pulse {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.card:hover {
    transform: translateY(-3px);
    transition: 0.3s ease;
    border-color: var(--gear-orange) !important;
}
.active-link-root {
    background: rgba(255, 0, 0, 0.1) !important;
    border-left: 4px solid #ff0000 !important;
    color: #ff0000 !important;
}

.text-orange {
    color: var(--gear-orange);
}
/* style.css */
:root {
    --metal-dark: #1a1a1a;
    --steel: #4682b4;
    --gear-orange: #ff8c00;
    --card-bg: #121212;
    --text-matrix: #00ff41;
}

body {
    background-color: var(--metal-dark);
    color: white;
    font-family: 'Consolas', monospace;
}

#sidebar-wrapper {
    min-height: 100vh;
    width: 250px;
    transition: all 0.3s;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: -250px;
}

.active-link {
    background: rgba(0, 255, 65, 0.1) !important;
    border-left: 4px solid var(--text-matrix);
}
.x-small {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}
.border-dashed { border-style: dashed !important; }
.lesson-scroll-area::-webkit-scrollbar { width: 5px; }
.lesson-scroll-area::-webkit-scrollbar-track { background: #000; }
.lesson-scroll-area::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
.lesson-scroll-area::-webkit-scrollbar-thumb:hover { background: #0dcaf0; }
.btn-xs { font-size: 0.65rem; padding: 2px 6px; }
}