/* LA Roleplay shared theme system */

#la-theme-switcher {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    padding: 10px 13px;
    border: 1px solid #526174;
    border-radius: 12px;
    background: #101b2b;
    color: #fff;
    font: 600 13px Arial, sans-serif;
    box-shadow: 0 5px 22px rgba(0,0,0,.3);
}

#la-theme-switcher label {
    display: flex;
    align-items: center;
    gap: 9px;
}

#la-theme-switcher select {
    padding: 7px 9px;
    border-radius: 8px;
    border: 1px solid #526174;
    background: #17263a;
    color: white;
    font: inherit;
    cursor: pointer;
}

body[data-la-theme="christmas"] {
    background-color: #101b17 !important;
    color: #f7f0e5;
}

body[data-la-theme="christmas"] .landing-page {
    background: #101b17;
}

body[data-la-theme="christmas"] .la-header,
body[data-la-theme="christmas"] .sidebar,
body[data-la-theme="christmas"] aside {
    background-color: rgba(13, 38, 29, .96);
    border-color: rgba(212, 175, 95, .25);
}

body[data-la-theme="christmas"] .card,
body[data-la-theme="christmas"] .panel,
body[data-la-theme="christmas"] .auth-card,
body[data-la-theme="christmas"] .welcome {
    border-color: rgba(212, 175, 95, .3);
}

body[data-la-theme="christmas"] .la-brand strong,
body[data-la-theme="christmas"] .footer-brand strong,
body[data-la-theme="christmas"] .la-nav a:hover,
body[data-la-theme="christmas"] .la-nav a.active,
body[data-la-theme="christmas"] .panel-title,
body[data-la-theme="christmas"] .section h3,
body[data-la-theme="christmas"] .log h3 {
    color: #d9b66c !important;
    text-shadow: none;
}

body[data-la-theme="christmas"] .nav-discord,
body[data-la-theme="christmas"] .button,
body[data-la-theme="christmas"] .btn {
    background: #8e2637 !important;
    border-color: #b94a55 !important;
    color: #fff !important;
    box-shadow: none;
}

body[data-la-theme="christmas"] .nav-link.active,
body[data-la-theme="christmas"] .sidebar a:hover {
    background: rgba(142, 38, 55, .2);
    color: #e6c77f;
}

body[data-la-theme="christmas"] .panel,
body[data-la-theme="christmas"] .card {
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

/* Subtle falling snow overlay */
body[data-la-theme="christmas"]::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: .22;
    background-image:
        radial-gradient(2px 2px at 30px 40px, white 98%, transparent),
        radial-gradient(2px 2px at 110px 150px, white 98%, transparent),
        radial-gradient(3px 3px at 190px 90px, white 98%, transparent),
        radial-gradient(2px 2px at 260px 210px, white 98%, transparent);
    background-size: 300px 300px;
    animation: laChristmasSnow 12s linear infinite;
}

@keyframes laChristmasSnow {
    from { background-position: 0 0; }
    to { background-position: 80px 300px; }
}

@media (max-width: 600px) {
    #la-theme-switcher {
        right: 10px;
        bottom: 10px;
    }
}
