/* Christmas Theme Styles */

html {
    min-height: 100vh;
}

body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 50px;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    margin: 0;
}

/* Auth Links */
.auth-links {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.auth-links.hidden {
    opacity: 0;
    pointer-events: none;
}

.auth-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 10px 20px;
    border: 2px solid #008000;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    background-color: #008000;
    box-shadow: 0 0 15px #008000;
}

/* Hide Footer Links */
#footer-links {
    opacity: 1;
    transition: opacity 0.5s ease;
}

#footer-links.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hide Cursor */
html.hide-cursor,
html.hide-cursor *,
body.hide-cursor,
body.hide-cursor * {
    cursor: none !important;
}

/* Countdown */
#message1,
#message2,
#countdown {
    transition: transform 1s ease, top 1s ease, font-size 1s ease;
    position: fixed;
    left: 50%;
    text-align: center;
    width: 100%;
}

#message1 {
    top: 50px;
    transform: translateX(-50%);
    font-size: clamp(1rem, 3vw, 2rem);
}

#countdown {
    top: 110px;
    transform: translateX(-50%);
    font-size: clamp(1.3rem, 4vw, 2.5rem);
}

#message2 {
    top: 150px;
    transform: translateX(-50%);
    font-size: clamp(1rem, 3vw, 2rem);
}

/* Fullscreen Countdown Mode */
body.countdown-fullscreen #message1 {
    top: 50%;
    transform: translate(-50%, -180px);
}

body.countdown-fullscreen #countdown {
    top: 50%;
    transform: translate(-50%, -50%);
}

body.countdown-fullscreen #message2 {
    top: 50%;
    transform: translate(-50%, 25px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #message1 {
        top: 80px;
    }

    #countdown {
        top: 120px;
        line-height: 1.3;
    }

    #message2 {
        top: 230px;
    }

    body.countdown-fullscreen #message1 {
        top: calc(50vh - 280px);
        transform: translateX(-50%);
        font-size: clamp(2rem, 8vw, 6rem) !important;
    }

    body.countdown-fullscreen #countdown {
        top: calc(50vh - 150px);
        transform: translateX(-50%);
        line-height: 1.2;
        font-size: clamp(3rem, 12vw, 10rem) !important;
    }

    body.countdown-fullscreen #message2 {
        top: calc(50vh + 150px);
        transform: translateX(-50%);
        font-size: clamp(2rem, 8vw, 6rem) !important;
    }
}

/* Snowflake Animation */
.snowflake {
    position: absolute;
    top: -10px;
    font-size: 1em;
    color: white;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* Glowing Text Effects */
.red-glow {
    text-shadow: 0 0 20px #FF0000;
    color: #FF0000;
}

.green-glow {
    text-shadow: 0 0 20px #008000;
    color: #008000;
}

/* Guest Layout Specific Styles */
.christmas-countdown {
    text-align: center;
    padding: 5px 0;
    margin-bottom: 5px;
}

.christmas-countdown h1 {
    font-size: 1.5em;
    margin: 5px 0;
}

.christmas-countdown #countdown {
    font-size: 1.2em;
    margin: 10px 0;
}

.snowflake.fixed {
    position: fixed;
    z-index: 1;
}

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
}

.home-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #008000;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.home-link:hover {
    text-shadow: 0 0 15px #008000;
}

/* Override for guest layout body */
body.guest-layout {
    overflow-x: hidden;
    padding: 0;
}

/* Auth Form Styling */
.guest-layout .bg-white {
    background-color: rgba(0, 50, 0, 0.7) !important;
    border: 2px solid #008000;
    box-shadow: 0 0 30px rgba(0, 128, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Form Input Fields */
.guest-layout input[type="text"],
.guest-layout input[type="email"],
.guest-layout input[type="password"] {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #008000 !important;
    color: white !important;
    transition: all 0.3s ease;
}

.guest-layout input[type="text"]:focus,
.guest-layout input[type="email"]:focus,
.guest-layout input[type="password"]:focus {
    border-color: #00FF00 !important;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3) !important;
    outline: none !important;
    ring: 0 !important;
}

.guest-layout input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Form Labels */
.guest-layout label {
    color: #00FF00 !important;
    font-weight: 600;
}

/* Checkboxes */
.guest-layout input[type="checkbox"] {
    border-color: #008000 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.guest-layout input[type="checkbox"]:checked {
    background-color: #008000 !important;
}

/* Form Text (Remember me, etc.) */
.guest-layout .text-sm,
.guest-layout .text-gray-600 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Links */
.guest-layout a {
    color: #00FF00 !important;
    transition: all 0.3s ease;
}

.guest-layout a:hover {
    color: #00FF00 !important;
    text-shadow: 0 0 10px #00FF00;
}

/* Primary Button (Login/Register buttons) */
.guest-layout button[type="submit"],
.guest-layout .inline-flex.justify-center.py-2 {
    background-color: #008000 !important;
    border: 2px solid #00FF00 !important;
    color: white !important;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 128, 0, 0.5);
}

.guest-layout button[type="submit"]:hover,
.guest-layout .inline-flex.justify-center.py-2:hover {
    background-color: #00A000 !important;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    transform: translateY(-2px);
}

/* Social Login Buttons */
.guest-layout .border-gray-300 {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid #008000 !important;
    color: white !important;
    transition: all 0.3s ease;
}

.guest-layout .border-gray-300:hover {
    background-color: rgba(0, 128, 0, 0.3) !important;
    border-color: #00FF00 !important;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

/* Social Login Divider */
.guest-layout .border-t {
    border-color: #008000 !important;
}

.guest-layout .bg-white.text-gray-500 {
    background-color: rgba(0, 50, 0, 0.9) !important;
    color: #00FF00 !important;
}

/* Error Messages */
.guest-layout .text-red-600,
.guest-layout .text-sm.text-red-600 {
    color: #FF6B6B !important;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

/* Success Messages */
.guest-layout .text-green-600 {
    color: #00FF00 !important;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* SVG Icons in social buttons - keep their original colors */
.guest-layout svg {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}
