:root {
    --bg: #0a0a0f;
    --surface: rgba(22, 22, 35, 0.85);
    --surface-light: rgba(30, 30, 48, 0.6);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --primary: #06b6d4;
    --primary-hover: #0891b2;
    --accent: #3b82f6;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --success: #34d399;
    --danger: #f87171;
    --warning: #fbbf24;
    --gradient-text: #fff;
    --shadow-lg: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(6, 182, 212, 0.3);
    border-radius: 4px;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: drift 12s infinite alternate;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: #0891b2;
    top: -150px;
    left: -150px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: #2563eb;
    bottom: -100px;
    right: -100px;
    animation-delay: -6s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, 60px) scale(1.15);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Glass */
.glass {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px var(--shadow-lg);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px var(--shadow-hover);
}

/* Header */
header {
    width: 100%;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.5s ease-out forwards;
    opacity: 0;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: var(--logo-gradient, linear-gradient(135deg, #06b6d4, #a78bfa, #3b82f6));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    background: var(--logo-gradient, linear-gradient(135deg, #06b6d4, #a78bfa, #3b82f6));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    padding: 6px;
    border-radius: 9px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 10px rgba(6, 182, 212, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}

.footer-logo .logo-img {
    width: 28px;
    height: 28px;
    padding: 4px;
    border-radius: 7px;
}

.nav-links {
    display: none;
    /* Hidden on all devices in favor of hamburger */
    gap: 22px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Footer */
.footer {
    width: 100%;
    padding: 25px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    z-index: 20;
    background: rgba(10, 10, 15, 0.5);
    border-top: 1px solid var(--border);
}

/* Forms */
input,
select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 15px;
    color: var(--text);
    font-size: 15px;
    transition: all 0.3s;
    width: 100%;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

select option {
    background: #16162b;
    color: white;
}

label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Buttons */
button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.45);
}

button:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
    transform: translateY(-2px);
}

/* Page Wrapper (used by all tool pages) */
.page-wrap {
    width: 100%;
    max-width: 960px;
    padding: 20px;
    z-index: 10;
}

/* Page Header (badge + title + subtitle) */
.page-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out forwards;
}

.page-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gradient-text) 30%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Two-Panel Layout */
.panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 60px;
    align-items: stretch;
}

/* Panel Sections */
.panel-section {
    margin-bottom: 5px;
}

.panel-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.slot-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.slot-field label {
    text-align: center;
}

.slot-field input {
    text-align: center;
    padding: 10px 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Result Placeholder */
.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    gap: 10px;
}

.result-placeholder.hidden {
    display: none;
}

.placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

.result-placeholder h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.result-placeholder p {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 250px;
}

/* Impact / Result Styles */
.impact-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 25px;
}

.impact-big-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 30px;
}

.impact-drop {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.impact-drop-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px;
    background: var(--surface-light);
    border-radius: 14px;
    border: 1px solid var(--border);
}

.impact-stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
}

.impact-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Comparison Bars */
.impact-comparison {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 75px;
    flex-shrink: 0;
    text-align: right;
}

.comparison-bar-track {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.comparison-bar {
    height: 100%;
    border-radius: 6px;
    width: 0;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.before-bar {
    background: linear-gradient(90deg, #06b6d4, #a78bfa);
}

.after-bar {
    background: linear-gradient(90deg, #fbbf24, #f97316);
}

.comparison-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    width: 50px;
    flex-shrink: 0;
}

/* Verdicts */
.impact-verdict {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: center;
}

.verdict-safe {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #6ee7b7;
}

.verdict-warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: #fde68a;
}

.verdict-danger {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.25);
    color: #fca5a5;
}

/* Circular Progress */
.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.circular-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circular-progress circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
}

.circular-progress circle.bg {
    stroke: rgba(255, 255, 255, 0.05);
}

.circular-progress circle.progress {
    stroke: var(--primary);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    font-weight: 800;
}

.result-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.result-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-message {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: left;
}

.action-message {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.5;
}

.highlight-number {
    font-size: 1.05rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    margin: 0 4px;
    display: inline-block;
}

.highlight-number.missable {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.highlight-number.needed {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.result-section {
    margin-top: 25px;
}

#result-section.hidden,
#planner-result.hidden,
.holiday-results.hidden {
    display: none;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.stroke-success {
    stroke: var(--success) !important;
}

.stroke-danger {
    stroke: var(--danger) !important;
}

.stroke-warning {
    stroke: var(--warning) !important;
}

/* Absent Stats */
.absent-stats {
    width: 100%;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.absent-stats h3 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.absent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.absent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 8px;
    transition: transform 0.2s;
}

.absent-item:hover {
    transform: translateY(-2px);
}

.absent-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
}

.absent-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* No Attendance Alert */
.no-attendance-alert {
    width: 100%;
    margin-bottom: 20px;
    padding: 22px 20px;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: 16px;
    text-align: center;
    animation: slideDown 0.5s ease-out forwards;
}

.no-attendance-alert.hidden {
    display: none;
}

.no-attendance-alert .alert-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.no-attendance-alert h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--danger);
    margin-bottom: 8px;
}

.no-attendance-alert p {
    font-size: 0.88rem;
    color: #fca5a5;
    line-height: 1.6;
    margin-bottom: 4px;
}

.no-attendance-alert .alert-recovery {
    font-weight: 700;
    color: var(--danger);
    margin-top: 6px;
}

.dismiss-btn {
    margin-top: 12px;
    padding: 8px 25px;
    background: transparent;
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: var(--danger);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
    width: auto;
}

.dismiss-btn:hover {
    background: rgba(248, 113, 113, 0.1);
    box-shadow: none;
}

/* Accordion (Weekly Planner) */
.accordion {
    margin: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 5px;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-optional {
    font-size: 11px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 12px;
    color: var(--text-muted);
}

.accordion-header:hover .badge-optional {
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary);
}

.toggle-icon {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.4s;
}

.accordion-header.active .toggle-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    overflow-y: auto;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content.open {
    max-height: 2000px;
}

.month-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin: 12px 0 6px 5px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 5px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-light);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.checkbox-wrapper.small {
    margin-bottom: 0;
    padding: 8px 10px;
}

.checkbox-wrapper label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

/* ==================== */
/* LANDING PAGE         */
/* ==================== */
.main-container {
    width: 100%;
    max-width: 960px;
    padding: 20px;
    z-index: 10;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out forwards;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gradient-text) 20%, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 28px 40px;
    margin-bottom: 70px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 35px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 80px;
}

.feature-card {
    flex: 1 1 300px;
    max-width: 380px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(6, 182, 212, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    transform: translateY(-5px) scale(1.1);
    background: rgba(6, 182, 212, 0.2);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: rgba(6, 182, 212, 0.12);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-bottom: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.feature-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.feature-card a {
    margin-top: auto;
    position: relative;
    z-index: 2;
}

/* How It Works */
.how-it-works {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 80px;
}

.step {
    text-align: center;
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(6, 182, 212, 0.15);
}

.step:hover .step-number {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.step-number {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 800;
    font-size: 17px;
    margin: 0 auto 14px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-connector {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rich Footer */
.footer-rich {
    width: 100%;
    z-index: 20;
    background: rgba(10, 10, 15, 0.8);
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 60px 30px 45px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 400px;
    flex: 1 1 300px;
    text-align: left;
}

.footer-nav-group {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 2 1 600px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 1024px) {
    .footer-content {
        gap: 40px;
    }

    .footer-nav-group {
        gap: 40px;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        padding: 35px 20px;
    }

    .footer-brand {
        text-align: center;
        max-width: 100%;
        margin-bottom: 5px;
    }

    .footer-brand p {
        margin-bottom: 0;
    }

    .footer-nav-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-top: 5px;
        text-align: center;
    }

    /* Target specific columns inside nav group on mobile */
    .footer-col {
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .footer-nav-group>.footer-col:nth-child(3) {
        /* Preferences */
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-nav-group>.footer-col:nth-child(3) .theme-switcher {
        justify-content: center;
        width: 100%;
        margin-top: 5px;
    }

    .footer-logo {
        justify-content: center;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo span {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-quote {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5px;
}

.footer-quote p.quote {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    font-style: italic;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 5px;
}

.footer-quote .author {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 18px 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Weekly Planner specific (grid-input-group, input-group used within panels) */
.grid-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

/* ==================== */
/* HAMBURGER MENU       */
/* ==================== */
.hamburger {
    display: flex;
    /* Always show hamburger */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
    box-shadow: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Navigation Overlay */
.nav-overlay {
    display: block;
    /* Prepared for all devices */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Fixed Navigation Panel */
.mobile-nav {
    display: flex;
    /* Prepared for all devices */
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: rgba(14, 14, 22, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border);
    z-index: 1000;
    flex-direction: column;
    padding: 90px 30px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.mobile-nav::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-nav.active {
    right: 0;
}

.nav-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 20px 18px 8px;
    opacity: 0.7;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.25s ease;
    margin-bottom: 6px;
    border: 1px solid transparent;
}

.mobile-nav a:hover {
    background: rgba(6, 182, 212, 0.08);
    color: var(--primary);
    border-color: rgba(6, 182, 212, 0.15);
}

.mobile-nav a.active {
    background: rgba(6, 182, 212, 0.12);
    color: var(--primary);
    border-color: rgba(6, 182, 212, 0.2);
}

.mobile-nav a .nav-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    filter: grayscale(0.3);
}

.mobile-nav a.active .nav-icon {
    filter: none;
}

.mobile-nav-footer {
    margin-top: auto;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.mobile-nav-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ==================== */
/* RESPONSIVE           */
/* ==================== */

/* --- Tablet (up to 1024px) --- */
@media (max-width: 1024px) {

    .page-wrap,
    .main-container {
        max-width: 100%;
        padding: 20px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .panels {
        gap: 20px;
    }
}

/* --- Mobile (up to 768px) --- */
@media (max-width: 768px) {

    /* Header */
    header {
        padding: 8px 12px;
    }

    .logo {
        font-size: 20px;
        gap: 6px;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
        border-radius: 6px;
    }

    /* Page containers */
    .page-wrap,
    .main-container {
        padding: 16px;
    }

    /* Hero */
    .hero {
        margin-top: 50px;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Page header */
    .page-header {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .page-header h1,
    .holiday-header h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-header p {
        font-size: 0.92rem;
        padding: 0 10px;
    }

    .page-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    /* Two-panel layout → stacked */
    .panels,
    .holiday-panels {
        grid-template-columns: 1fr;
    }

    /* Glass cards */
    .glass {
        padding: 22px 18px;
        border-radius: 16px;
    }

    /* Stats bar */
    .stats-bar {
        flex-direction: column;
        gap: 16px;
        padding: 22px 20px;
        margin-bottom: 50px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    /* Feature cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 50px;
    }

    .feature-card {
        padding: 22px 18px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    /* How it works */
    .how-it-works {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 50px;
    }

    .step {
        padding: 22px 18px;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    /* Forms / inputs */
    .input-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .slots-grid,
    .holiday-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .slot-field input {
        padding: 10px 4px;
        font-size: 1rem;
    }

    input,
    select {
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 10px;
    }

    button {
        padding: 14px;
        font-size: 15px;
        border-radius: 10px;
    }

    /* Results */
    .result-row {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .result-text {
        align-items: center;
    }

    .status-message,
    .action-message {
        text-align: center;
    }

    .circular-progress {
        width: 110px;
        height: 110px;
    }

    .percentage {
        font-size: 22px;
    }

    .absent-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .absent-item {
        padding: 12px 6px;
    }

    .absent-value {
        font-size: 1.2rem;
    }

    /* Impact styles */
    .impact-drop {
        font-size: 2.8rem;
    }

    .impact-stats {
        gap: 10px;
        margin-bottom: 22px;
    }

    .impact-stat {
        padding: 14px 10px;
    }

    .impact-stat-value {
        font-size: 1.4rem;
    }

    .comparison-label {
        font-size: 0.7rem;
        width: 60px;
    }

    .comparison-value {
        font-size: 0.8rem;
        width: 45px;
    }

    .impact-verdict {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    /* Checkbox grid (holidays) */
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .checkbox-wrapper {
        padding: 10px 12px;
    }

    .checkbox-wrapper.small {
        padding: 9px 10px;
    }

    /* Accordion */
    .accordion-content.open {
        max-height: 2500px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 35px 20px 25px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo span {
        font-size: 1.1rem;
    }

    .footer-bottom {
        padding: 14px 16px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    /* No attendance alert */
    .no-attendance-alert {
        padding: 18px 16px;
    }

    .no-attendance-alert h3 {
        font-size: 1rem;
    }

    /* Docs page */
    .docs-container {
        padding: 25px 10px;
    }

    .doc-section h2 {
        font-size: 1.4rem;
    }

    .doc-section p {
        font-size: 0.95rem;
    }
}

/* --- Small Mobile (up to 480px) --- */
@media (max-width: 480px) {

    /* Header */
    header {
        padding: 10px 12px;
    }

    .logo {
        font-size: 12px;
        gap: 6px;
    }

    .logo-img {
        width: 26px;
        height: 26px;
        padding: 4px;
        border-radius: 6px;
    }

    /* Pages */
    .page-wrap,
    .main-container {
        padding: 10px;
    }

    /* Hero */
    .hero {
        margin-top: 35px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 1.6rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 0.9rem;
    }

    /* Page header */
    .page-header {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .page-header p {
        font-size: 0.85rem;
    }

    .page-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    /* Glass panels */
    .glass {
        padding: 16px 14px;
        border-radius: 14px;
    }

    /* Stats bar */
    .stats-bar {
        padding: 18px 14px;
        margin-bottom: 35px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.15rem;
        margin-bottom: 18px;
    }

    /* Feature cards */
    .feature-card {
        padding: 18px 14px;
    }

    .feature-card h2 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    /* Steps */
    .step {
        padding: 18px 14px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .step h3 {
        font-size: 0.9rem;
    }

    .step p {
        font-size: 0.78rem;
    }

    /* Input row → stack on tiny screens */
    .input-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Slots: 3 columns still OK */
    .slots-grid,
    .holiday-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .slot-field input {
        padding: 8px 2px;
        font-size: 0.95rem;
    }

    .slot-field label {
        font-size: 11px;
    }

    /* Form elements */
    input,
    select {
        padding: 11px 12px;
        font-size: 14px;
    }

    label {
        font-size: 11px;
    }

    button {
        padding: 13px;
        font-size: 14px;
    }

    .panel-label {
        font-size: 0.75rem;
    }

    .panel-divider {
        margin: 14px 0;
    }

    /* Results */
    .circular-progress {
        width: 95px;
        height: 95px;
    }

    .percentage {
        font-size: 20px;
    }

    .absent-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .absent-item {
        padding: 10px 4px;
        border-radius: 10px;
    }

    .absent-value {
        font-size: 1.1rem;
    }

    .absent-label {
        font-size: 0.62rem;
    }

    .status-message {
        font-size: 1.05rem;
    }

    .action-message {
        font-size: 0.82rem;
    }

    .highlight-number {
        font-size: 0.92rem;
        padding: 2px 6px;
    }

    /* Impact */
    .impact-drop {
        font-size: 2.2rem;
    }

    .impact-drop-label {
        font-size: 0.72rem;
    }

    .impact-stat {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .impact-stat-value {
        font-size: 1.2rem;
    }

    .impact-stat-label {
        font-size: 0.62rem;
    }

    .comparison-label {
        font-size: 0.65rem;
        width: 50px;
    }

    .comparison-value {
        font-size: 0.75rem;
        width: 40px;
    }

    .comparison-bar-track {
        height: 8px;
    }

    .impact-verdict {
        padding: 10px 12px;
        font-size: 0.78rem;
        border-radius: 10px;
    }

    /* Checkbox grid */
    .checkbox-wrapper label {
        font-size: 12px;
    }

    .checkbox-wrapper input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .month-title {
        font-size: 12px;
    }

    /* Accordion */
    .accordion-header h3 {
        font-size: 13px;
    }

    .badge-optional {
        font-size: 10px;
    }

    /* Footer */
    .footer-content {
        padding: 28px 14px 20px;
        gap: 22px;
    }

    .footer-logo {
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .footer-logo span {
        font-size: 1rem;
    }

    .footer-col h4 {
        font-size: 0.75rem;
    }

    .footer-col p {
        font-size: 0.8rem;
    }

    .footer-col a {
        font-size: 0.82rem;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }

    /* No attendance alert */
    .no-attendance-alert {
        padding: 14px 12px;
        border-radius: 12px;
    }

    .no-attendance-alert .alert-icon {
        font-size: 1.8rem;
    }

    .no-attendance-alert h3 {
        font-size: 0.92rem;
    }

    .no-attendance-alert p {
        font-size: 0.82rem;
    }

    .dismiss-btn {
        padding: 7px 20px;
        font-size: 0.78rem;
    }

    /* Mobile nav panel */
    .mobile-nav {
        width: 260px;
        padding: 80px 22px 30px;
    }

    .mobile-nav a {
        padding: 14px 14px;
        font-size: 0.9rem;
        gap: 12px;
    }

    /* Docs page */
    .docs-container {
        padding: 18px 6px;
    }

    .doc-section {
        margin-bottom: 30px;
        padding: 18px 14px;
    }

    .doc-section h2 {
        font-size: 1.2rem;
        gap: 8px;
    }

    .doc-section p {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .doc-section li {
        font-size: 0.88rem;
        padding-left: 20px;
        margin-bottom: 10px;
    }

    .highlight-box {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

/* --- Touch-friendly: ensure min tap targets --- */
@media (hover: none) and (pointer: coarse) {

    button,
    .hamburger,
    .nav-links a,
    .mobile-nav a,
    .checkbox-wrapper,
    .accordion-header {
        min-height: 44px;
    }

    input,
    select {
        min-height: 44px;
        font-size: 16px;
        /* prevents iOS zoom on focus */
    }
}

/* Predictor Suggestion Link */
.predictor-suggestion {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
}

.predictor-suggestion:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.35);
    transform: translateY(-2px);
}

.predictor-suggestion-title {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.predictor-suggestion-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    line-height: 1.4;
    word-break: break-word;
    /* Prevents overflow on very small devices */
}

.predictor-suggestion-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.predictor-suggestion:hover .predictor-suggestion-arrow {
    transform: translateX(4px);
}

.predictor-suggestion.success {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.2);
}

.predictor-suggestion.success:hover {
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.35);
}

.predictor-suggestion.success .predictor-suggestion-link {
    color: var(--success);
}

@media (max-width: 1024px) {
    .predictor-suggestion {
        padding: 14px;
        border-radius: 12px;
        align-items: center;
        text-align: center;
    }

    .predictor-suggestion-title {
        font-size: 0.8rem;
    }

    .predictor-suggestion-link {
        font-size: 0.95rem;
        justify-content: center;
        margin-top: 2px;
    }
}

/* ==================== */
/* THEME & PREFERENCES  */
/* ==================== */

:root[data-theme="light"] {
    --bg: #ffffff;
    /* Solid white background */
    --surface: #ffffff;
    --surface-light: #f1f5f9;
    --border: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(0, 0, 0, 0.15);
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --accent: #6366f1;
    --text: #0f172a;
    --text-muted: #475569;
    --gradient-text: #0284c7;
    --logo-gradient: linear-gradient(135deg, #0284c7, #6366f1, #0ea5e9);
    --shadow-lg: rgba(0, 0, 0, 0.05);
    --shadow-hover: rgba(0, 0, 0, 0.08);
}

/* Remove glows and main heading gradients for light theme */
:root[data-theme="light"] .glow {
    display: none;
}

:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .page-header h1 {
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
    animation: none !important;
}

/* Enabled new vibrant gradient for logo in light theme */
:root[data-theme="light"] .logo,
:root[data-theme="light"] .footer-logo span {
    background: var(--logo-gradient) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: gradientShift 4s ease infinite !important;
}

/* Specific solid primary color for main branding keyword if any */
:root[data-theme="light"] .gradient-text-indicator {
    background: none !important;
    -webkit-text-fill-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* Solid white backgrounds for headers and footers */
:root[data-theme="light"] header,
:root[data-theme="light"] .footer-rich {
    background: #ffffff !important;
    backdrop-filter: none !important;
    border-bottom: 2px solid #f1f5f9;
}

/* Refined logo icon for light theme */
:root[data-theme="light"] .logo-icon {
    background: #ffffff !important;
    border: 1px solid rgba(2, 132, 199, 0.2) !important;
    color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08) !important;
}

:root[data-theme="light"] .mobile-nav {
    background: #ffffff;
}

:root[data-theme="light"] .badge-optional {
    background: rgba(0, 0, 0, 0.08);
}

:root[data-theme="light"] .mobile-nav a:hover,
:root[data-theme="light"] .mobile-nav a.active {
    background: rgba(2, 132, 199, 0.1);
}

/* Theme Switcher UI */
.theme-switcher {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.theme-btn {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    color: var(--text);
    padding: 0;
    box-shadow: none;
}

.theme-btn:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: none;
}

.theme-btn.active {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--primary);
    transform: scale(1.05);
}