/* 1. Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background-color: #f0f4f8; /* Soft professional background */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* 2. Container for Landscape Scaling */
.background-container {
    width: 100%;
    max-width: 1440px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* 3. Form Card with Premium Sculpted Shadows */
.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    width: 100%;
    max-width: 750px; 
    padding: 50px 70px;
    border-radius: 28px;
    
    /* Professional Layered Shadow */
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05), 
        0 10px 20px -5px rgba(0, 0, 0, 0.08), 
        0 25px 40px -10px rgba(0, 0, 0, 0.05);
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.1);
}

/* 4. Typography */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    color: #1e3a8a; /* Revision360 Blue */
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #64748b;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 500;
}

/* 5. SIDE-BY-SIDE LAYOUT HELPERS */
.input-row {
    display: flex;
    gap: 20px; /* Space between side-by-side elements */
    width: 100%;
}

.input-group {
    flex: 1; /* Ensures equal width for side-by-side items */
    display: flex;
    flex-direction: column;
}

/* 6. Input Fields & Label Styling */
label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #1e3a8a; 
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
}

input, select {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    color: #1e293b;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 15px;
    transition: all 0.2s ease;
}

input:focus, select:focus {
    border-color: #f97316; /* Orange accent */
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
    outline: none;
}

/* 7. DATE OF BIRTH SPECIFIC FIX */
.dob-row {
    display: flex;
    gap: 15px; 
    width: 100%;
}

.dob-row select {
    flex: 1; 
}

/* 8. Action Button */
.register-btn {
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    color: #fff;
    padding: 18px;
    border-radius: 50px; 
    cursor: pointer;
    border: none;
    width: 100%;
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.register-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.35);
}

.footer-links {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.footer-links a {
    color: #f97316;
    font-weight: 600;
    text-decoration: none;
}
/* Styling for the Login Options Row */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-transform: none; /* Override uppercase label style */
    font-weight: 500;
    cursor: pointer;
}

.remember-me input {
    width: 18px;
    height: 18px;
    margin-bottom: 0; /* Align with text */
    cursor: pointer;
}

.forgot-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    color: #f97316;
}