/* Ensure html and body take up the full viewport height and width */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    /* Default to dark mode background */
    background-color: #1a202c;
    /* Tailwind's gray-900 equivalent for body */
    color: #ffffff;
    /* Default text color for dark mode */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light mode specific styles */
body.light-mode {
    background-color: #f7fafc;
    /* Tailwind's gray-100 equivalent for body */
    color: #2d3748;
    /* Darker text color for light mode */
}

/* The map container div should also take up 100% height and width */
#map {
    height: 100%;
    width: 100%;
}

/* Basic styling for the info window content */
.info-window-content {
    background-color: #333333;
    border: 1px solid #CCCCCC;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}

/* Light mode info window content */
body.light-mode .info-window-content {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    /* Tailwind gray-300 */
    color: #2d3748;
    /* Darker text */
}

.info-window-content button {
    background-color: #dc2626;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 8px;
}

.info-window-content button:hover {
    background-color: #b91c1c;
}

.map-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/map_background.jpg');
    /* Placeholder map image */
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    /* Apply blur effect */
    z-index: 0;
    /* Send to background */
}

.content-container {
    position: relative;
    z-index: 1;
    /* Bring content to foreground */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* Full viewport height */
    padding: 1rem;
    /* Add some padding for smaller screens */
}

/* --- Custom Styles for Form Animation --- */
.form-slider-container {
    width: 100%;
    max-width: 448px;
    /* Equivalent to max-w-md in Tailwind (448px) */
    overflow: hidden;
    /* Hide overflowing forms */
    position: relative;
    /* Establish positioning context for children */
    background-color: #0d0d0d;
    /* Dark gray for the whole form area, adjust as needed */
    border-radius: 0.75rem;
    /* rounded-xl */
    border: 1px solid #1d4ed8;
    /* border-blue-700 */
    padding: 2rem;
    /* p-8 */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* shadow-2xl */
    min-height: 550px;
    /* Adjusted for 3 forms, might need more refinement */
}

.form-wrapper {
    display: flex;
    width: 300%;
    /* Now contains three forms side-by-side */
    transition: transform 0.6s ease-in-out;
    /* Smooth transition */
}

.form-section {
    width: 33.333%;
    /* Each form takes one-third of the wrapper's width */
    flex-shrink: 0;
    /* Prevent forms from shrinking */
    padding: 0 2rem;
    /* Restore padding that was moved from .form-slider-container */
    box-sizing: border-box;
    /* Include padding in width */
}

/* Transform states for the form-wrapper */
/* Default: Login Form is visible (translateX(0)) */

.form-wrapper.show-register {
    transform: translateX(-33.333%);
    /* Move to show the second form (Register) */
}

.form-wrapper.show-forgot-password {
    transform: translateX(-66.666%);
    /* Move to show the third form (Forgot Password) */
}

/* End Custom Styles for Form Animation */
.simtak-neon-glow {
    color: #fff;
    /* Base text color */
    text-shadow:
        0 0 7px #00BFFF,
        /* Deep Sky Blue */
        0 0 10px #00BFFF,
        0 0 21px #00BFFF,
        0 0 42px #00BFFF,
        0 0 82px #00BFFF,
        0 0 92px #00BFFF,
        0 0 102px #00BFFF,
        0 0 151px #00BFFF;
    /* Intense glow */
    animation: neon-pulse 2s ease-in-out infinite alternate;
    /* Custom animation */
}

@keyframes neon-pulse {
    0% {
        text-shadow:
            0 0 7px #00BFFF,
            0 0 10px #00BFFF,
            0 0 21px #00BFFF,
            0 0 42px #00BFFF;
    }

    100% {
        text-shadow:
            0 0 7px #00BFFF,
            0 0 15px #00BFFF,
            0 0 30px #00BFFF,
            0 0 60px #00BFFF,
            0 0 90px #00BFFF;
    }
}