/* =========================================
   Reset & Base
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden; /* Stops the page from scrolling */
}

/* =========================================
   Video Background & Dark Overlay
   ========================================= */
.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Pushes it to the very back */
}

#bg-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Forces video to crop perfectly without stretching */
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* 65% black to make the UI pop */
    z-index: -1;
}

/* =========================================
   Login Box Container
   ========================================= */
.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the box perfectly in the middle of the screen */
    padding: 1rem;
}

.login-box {
    background: rgba(255, 255, 255, 0.96); /* Solid white with a tiny bit of transparency */
    backdrop-filter: blur(10px); /* Creates an Apple-style glass effect over the video */
    padding: 3.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); /* Strong shadow to lift it off the background */
    width: 100%;
    max-width: 440px;
    text-align: center;
}

/* =========================================
   Logo Subtitle
   ========================================= */
.logo-wrapper {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.logo-subtitle {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280; 
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo {
    max-width: 200px;
    height: auto;
}

/* =========================================
   Standard Form Elements (Restored)
   ========================================= */
.login-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb; 
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); 
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.9rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.2s;
    width: 100%; /* Ensure it matches the width of the Google button */
}

.btn-primary:hover {
    background-color: #1d4ed8;
}
/* =========================================
   App Version (Bottom Right)
   ========================================= */
.app-version {
    position: fixed;
    bottom: 1.5rem;
    right: 2rem;
    color: rgba(255, 255, 255, 0.5); /* Semi-transparent white so it doesn't distract */
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* Add this to your login.css */

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    padding: 0.85rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.btn-google:hover {
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.1);
}

.btn-google:focus {
    outline: none;
    border-color: #d2e3fc;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.google-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}