/**
 * Chord Simplifier - Main Styles
 */

:root {
    --bg-dark: #1a1a2e;
    --bg-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --card-bg: linear-gradient(145deg, #2d2d44, #1f1f30);
    --primary: #64ffda;
    --primary-dark: #00bfa5;
    --text: #e4e4e4;
    --text-muted: #8892b0;
    --text-dim: #6c7a89;
    --border: rgba(255,255,255,0.1);
    --border-light: rgba(255,255,255,0.05);
    --easy: #22c55e;
    --medium: #f59e0b;
    --hard: #ef4444;
    --sidebar-width: 260px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text);
    padding-top: 140px;
    padding-bottom: 28px;
}

body.has-sidebar {
    padding-left: var(--sidebar-width);
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 20, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

body.has-sidebar .header {
    left: var(--sidebar-width);
}

.header-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

/* Auth Page Logo */
.auth-logo {
    display: inline-block;
}

.auth-logo img {
    height: 63px;
    width: auto;
}

/* User Menu */
/* Online Users Box */
.online-users-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    color: #fff;
    font-weight: bold;
    font-size: 1.15rem;
    white-space: nowrap;
    padding: 0;
}

.online-users-box strong {
    margin-right: 8px;
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem;
}

.user-menu-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(30, 30, 50, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    display: none;
    z-index: 1001;
}

.user-menu:hover .user-menu-dropdown {
    display: block;
}

.user-menu-dropdown a {
    display: block;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.user-menu-dropdown a:hover {
    background: rgba(100, 255, 218, 0.1);
    color: var(--primary);
}

.user-menu-dropdown a:first-child {
    border-radius: 12px 12px 0 0;
}

.user-menu-dropdown a:last-child {
    border-radius: 0 0 12px 12px;
}

.why-register-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.why-register-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.auth-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 8px;
    color: var(--bg-dark);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.3);
}

/* Instrument Toggle */
.instrument-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 15px;
}

.instrument-btn {
    padding: 10px 25px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instrument-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.instrument-btn:last-child {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.instrument-btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

.instrument-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    font-weight: 600;
    border-color: var(--primary);
}

.instrument-btn svg {
    width: 20px;
    height: 20px;
}

/* ========== Search Section ========== */
.search-section {
    padding: 25px 20px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border-light);
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1.1rem;
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
}

.search-input::placeholder {
    color: var(--text-dim);
}

.search-btn {
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    color: var(--bg-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.3);
}

/* Filters */
.filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(100, 255, 218, 0.15);
    border-color: rgba(100, 255, 218, 0.3);
    color: var(--primary);
}

.filter-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
    margin: 0 5px;
}

.finger-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.finger-toggle svg {
    flex-shrink: 0;
}

/* Quick Chords */
.quick-chords {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.quick-chords-label {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.quick-chord-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-chord-btn {
    padding: 8px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #ccc;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.quick-chord-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
    color: var(--primary);
}

.quick-chord-btn.minor {
    color: var(--medium);
}

.quick-chord-btn.minor:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

/* ========== Main Content ========== */
.main-content {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.results-header {
    margin-bottom: 25px;
}

.results-header h2 {
    font-size: 1.3rem;
    color: #fff;
}

.results-header span {
    color: var(--primary);
}

/* Chord Groups */
.chord-group {
    margin-bottom: 40px;
}

.chord-group-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(100, 255, 218, 0.2);
}

.chord-group-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.chord-group-count {
    background: rgba(100, 255, 218, 0.15);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Chord Grid */
.chord-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Chord Cards */
.chord-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-light);
    cursor: pointer;
    position: relative;
}

.chord-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(100, 255, 218, 0.15);
    border-color: rgba(100, 255, 218, 0.2);
}

.chord-card.playing {
    animation: pulse 0.6s ease-out;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Favorite Button */
.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-muted);
    transition: all 0.2s;
    z-index: 10;
}

.favorite-btn:hover {
    color: var(--hard);
    transform: scale(1.2);
}

.favorite-btn.active {
    color: var(--hard);
}

.favorite-btn svg {
    width: 20px;
    height: 20px;
}

.play-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--primary);
    opacity: 0.7;
}

.play-hint svg {
    width: 14px;
    height: 14px;
}

.chord-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.voicing-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

.difficulty-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Chord Diagram */
.chord-diagram {
    position: relative;
    width: 130px;
    height: 160px;
    margin: 15px auto;
}

.chord-diagram.ukulele {
    width: 100px;
}

.chord-diagram svg {
    width: 100%;
    height: 100%;
}

.chord-frets {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
}

.fret-num {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--text-muted);
}

.fret-num.muted {
    color: var(--hard);
}

.fret-num.open {
    color: var(--primary);
}

.chord-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: left;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.chord-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: var(--text-dim);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.start-fret-label {
    position: absolute;
    left: -5px;
    top: 25px;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: bold;
}

/* ========== Footer ========== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 18px;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: 0.65rem;
    color: var(--text-dim);
    z-index: 1000;
}

body.has-sidebar .footer {
    left: var(--sidebar-width);
}

.footer-left, .footer-right {
    white-space: nowrap;
}

.footer-right .heart {
    color: var(--hard);
}

/* ========== Auth Pages ========== */
.auth-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 0 20px;
}

.auth-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid var(--border-light);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

/* ========== Global Select/Dropdown Styles ========== */
select,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364ffda' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

select:hover,
.form-group select:hover {
    border-color: rgba(100, 255, 218, 0.5);
}

select:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

select option {
    background: #1a1a2e;
    color: var(--text);
    padding: 12px;
}

select option:hover,
select option:checked {
    background: rgba(100, 255, 218, 0.2);
}

/* Smaller selects for inline use */
select.select-sm {
    padding: 8px 12px;
    font-size: 0.9rem;
    padding-right: 32px;
}

/* Password Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle svg {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.password-toggle:hover svg {
    color: var(--primary);
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 8px;
    color: var(--bg-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(100, 255, 218, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    body.has-sidebar {
        padding-left: 0;
    }

    body.has-sidebar .header,
    body.has-sidebar .footer {
        left: 0;
    }

    .online-users-box {
        display: none;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }
}

@media (max-width: 600px) {
    .search-box {
        flex-direction: column;
    }

    .chord-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
    }

    .header-right {
        position: absolute;
        right: 15px;
        top: 15px;
    }
}

/* ========== Page Header ========== */
.page-header {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ========== Filter Bar ========== */
.filter-bar {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.filter-bar .filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========== CSS Variables for Progressions ========== */
:root {
    --bg-lighter: rgba(255, 255, 255, 0.05);
    --primary-dim: rgba(100, 255, 218, 0.15);
}

/* ========== Finger Animation ========== */
.animate-btn {
    position: absolute;
    bottom: 50px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    opacity: 0;
}

.chord-card:hover .animate-btn {
    opacity: 1;
}

.animate-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: scale(1.1);
}

.chord-card.animating {
    border-color: var(--primary);
}

.chord-card.animating .animate-btn {
    opacity: 1;
    background: var(--primary);
    color: var(--bg-dark);
}

/* Toast Messages */
.toast-message {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--card-bg);
    color: var(--text);
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========== Light Theme ========== */
body.light-theme {
    --bg-dark: #f5f5f7;
    --bg-gradient: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 50%, #dcdce3 100%);
    --card-bg: linear-gradient(145deg, #ffffff, #f0f0f5);
    --primary: #00897b;
    --primary-dark: #00695c;
    --text: #1a1a2e;
    --text-muted: #5a5a6e;
    --text-dim: #8a8a9e;
    --border: rgba(0,0,0,0.1);
    --border-light: rgba(0,0,0,0.05);
    --bg-lighter: rgba(0, 0, 0, 0.03);
}

body.light-theme .header {
    background: rgba(245, 245, 247, 0.95);
}

body.light-theme .search-section {
    background: rgba(0,0,0,0.03);
}

body.light-theme .search-input {
    background: rgba(255,255,255,0.8);
    border-color: rgba(0, 137, 123, 0.3);
    color: var(--text);
}

body.light-theme .search-input::placeholder {
    color: var(--text-dim);
}

body.light-theme .chord-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body.light-theme .chord-card:hover {
    box-shadow: 0 8px 30px rgba(0, 137, 123, 0.15);
}

body.light-theme .voicing-name {
    color: var(--text);
}

body.light-theme .footer {
    background: rgba(245, 245, 247, 0.95);
}

body.light-theme .auth-card {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

body.light-theme .form-group input {
    background: rgba(255,255,255,0.9);
    color: var(--text);
}

body.light-theme select option {
    background: #ffffff;
}

body.light-theme .user-menu-dropdown {
    background: rgba(255, 255, 255, 0.98);
}

body.light-theme .sidebar {
    background: linear-gradient(180deg, #f5f5f7 0%, #e8e8ed 100%);
}

body.light-theme .sidebar-section-title {
    color: var(--text-dim);
}

body.light-theme .sidebar-link {
    color: var(--text-muted);
}

body.light-theme .sidebar-link:hover,
body.light-theme .sidebar-link.active {
    background: rgba(0, 137, 123, 0.1);
    color: var(--primary);
}

body.light-theme .sidebar-user {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .sidebar-user-avatar {
    background: var(--primary);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 999;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    color: var(--primary);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.theme-toggle:hover svg {
    transform: rotate(30deg);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

body.light-theme .theme-toggle .sun-icon {
    display: block;
}

body.light-theme .theme-toggle .moon-icon {
    display: none;
}
