/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==================================================
   FONT INITIALIZATION
================================================== */

body,
html,
.paragraph,
.headline {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #eff7ff;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: normal;
}

/* ==================================================
   TYPOGRAPHY SYSTEM - RESPONSIVE SCALING
================================================== */

/* BASE TYPOGRAPHY (default) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff !important;
    margin-bottom: 1rem;
}

/* Login-specific typography */
.hd-login {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff !important;
    margin: 0 auto;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
    width: 100%;
    padding: 0 3rem !important;
}

.sbh-login {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    color: #ffffff !important;
    margin-top: 0 !important;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
    width: 100%;
}

/* ==================================================
   FONT PARAGRAPH
================================================== */

.paragraph {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin-top: 0;
    font-style: normal;
}

.headline, .paragraph {
    text-align: center;
    color: #ffffff;
}

/* ==================================================
   LEFT COLUMN
================================================== */

.left-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/hero-bkg-ee-public-grey.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    width: 100%;
    position: relative;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    gap: 1rem;
}

.logo img {
    max-width: 100%;
    width: 280px;
    height: auto;
    margin-bottom: 0;
}

.headline-wrapper {
    width: 100%;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.headline-wrapper p {
    text-align: center;
    padding: 1rem 2rem;
    color: #fff;
    font-weight: 300;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}


/* ==================================================
   BACK TO HOME BUTTON
================================================== */

.back-to-home-btn {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-home-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #333;
    text-decoration: none;
}

.back-to-home-btn i {
    margin-right: 0.3rem;
    font-size: 0.8rem;
}

/* ==================================================
   LOGIN TITLE
================================================== */

.login-title {
    text-align: center;
    margin: 0;
    margin-bottom: 0 !important;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff !important;
}

/* ==================================================
   VERIFICATION LINK
================================================== */

.verification-link {
    margin-top: 0.6rem;
}

/* ==================================================
   FORM LINKS AND TEXT
================================================== */

.login-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.login-links p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Force white text for all text elements in login container */
.login-container p,
.login-container .login-links p,
.login-container .login-links,
.login-container span:not(.reset-password-link):not(.signup-link),
.login-container div:not(.alert):not(.alert-danger):not(.alert-success) {
    color: rgba(255, 255, 255, 0.8) !important;
}

.reset-password-link,
.signup-link {
    color: #4ea5f2 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.reset-password-link:hover,
.signup-link:hover {
    color: #3a7bb9 !important;
    text-decoration: underline;
}

/* Feedback Messages */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-size: 1rem;
    text-align: left;
}

.alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

.alert-success p {
    color: #155724 !important;
}

.alert-danger {
    color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.2) !important;
    border-color: rgba(255, 107, 107, 0.4) !important;
}

.alert-danger p {
    color: #ff6b6b !important;
}

/* Upload Container */
.upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.5em;
}

.upload-container input[type="file"] {
    border: 1px solid #ccc;
    padding: 0.75rem;
    border-radius: 4px;
    width: 100%;
    font-size: 1rem;
    margin-top: 3%;
}

.upload-container button {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

.upload-container button:hover {
    background-color: #0056b3;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1rem;
}

.logo-login img {
    max-width: 100%;
    width: 150px;
    margin-bottom: 0.75rem;
}

.logo-landing img {
    max-width: 100%;
    width: 250px;
}

textarea {
    width: 100%;
    margin-top: 3%;
}

/* ==================================================
   LOGIN CONTAINER
================================================== */

.login-container {
    background-color: #1a1a1a !important;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}


.login-form {
    width: 100%;
    background-color: transparent;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form input styles now handled by global-forms.css */

/* ==================================================
   CONTAINER STYLES
================================================== */
.container-signup {
    max-width: 90%;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    box-sizing: border-box;
}

/* ==================================================
   FORM ROW AND COLUMNS (Using Flexbox)
================================================== */
.form-row-signup {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next row if needed */
    gap: 1.5rem; /* Consistent spacing between columns and rows */
    justify-content: space-between; /* Evenly distribute columns */
    margin-bottom: 1rem;
}

.column-signup {
    flex: 0 1 calc(50% - 1.5rem); /* Set each column to take 50% minus the gap */
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Space between label and input */
}

.column-signup label {
    font-size: 1rem;
    font-weight: 500;
}

/* ==================================================
   INPUT AND SELECT STYLES
================================================== */


/* Form input styles now handled by global-forms.css */

/* Dark theme overrides for form inputs */
.login-container input[type="text"],
.login-container input[type="email"],
.login-container input[type="password"],
.login-container .form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.login-container input[type="text"]:focus,
.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus,
.login-container .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #4ea5f2 !important;
    box-shadow: 0 0 0 3px rgba(78, 165, 242, 0.3) !important;
}

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

/* Form focus styles now handled by global-forms.css */

/* ==================================================
   ERROR MESSAGES
================================================== */
.error-border-signup {
    border-color: red !important;
}

.error-message-signup {
    color: #ff6b6b !important;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.error-message {
    color: #ff6b6b !important;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: block;
}

/* ==================================================
   BUTTON STYLES
================================================== */
/* Button styles now handled by global-forms.css */

/* ==================================================
   RESPONSIVE TYPOGRAPHY BREAKPOINTS
================================================== */

/* ========== 1200px BREAKPOINT ========== */
@media (max-width: 1200px) {
    h1 { font-size: 2.7rem; }
    h2 { font-size: 2.7rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.4rem; }
    h5 { font-size: 1.15rem; }
    h6 { font-size: 1rem; }
    p { font-size: 0.95rem; }
    
    .hd-login {
        /* font-size: 2.1rem; */
        padding: 0 4rem !important;
    }
    
    .sbh-login {
        font-size: 0.95rem;
    }
    
    .text-wrapper {
        padding: 1.5rem;
        gap: 1.2rem;
    }
    
    .logo img {
        width: 250px;
    }
    
    .login-container {
        max-width: 500px;
        padding: 1.5rem;
    }
    
    .back-to-home-btn {
        top: 0.4rem;
        left: 0.4rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* ========== 900px BREAKPOINT ========== */
@media (max-width: 900px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.6rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 0.95rem; }
    p { font-size: 0.9rem; }
    
    .hd-login {
        /* font-size: 2rem; */
        padding: 0 8rem !important;
    }
    
    .sbh-login {
        font-size: 0.9rem;
    }
    
    .text-wrapper {
        padding: 1.2rem;
        gap: 1rem;
        max-width: 90%;
    }
    
    .logo img {
        width: 200px;
    }
    
    .login-container {
        max-width: 450px;
        padding: 1.5rem;
        gap: 1.2rem;
    }
    
    .back-to-home-btn {
        top: 0.3rem;
        left: 0.3rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .headline-wrapper p {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* ========== 576px BREAKPOINT ========== */
@media (max-width: 576px) {
    /* Typography scaling */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    p { font-size: 0.85rem; }
    
    /* Login headlines */
    .hd-login {
        font-size: 1.8rem;
        padding: 0 1rem !important;
    }
    
    .sbh-login {
        font-size: 0.85rem;
    }
    
    /* Layout adjustments */
    .text-wrapper {
        padding: 1rem;
        gap: 0.8rem;
        max-width: 95%;
    }
    
    .logo img {
        width: 180px;
    }
    
    .login-container {
        display: none !important;
    }
    
    .back-to-home-btn {
        top: 0.2rem;
        left: 0.2rem;
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }
    
    /* Mobile message - Desktop signin warning */
    .headline-wrapper p {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        display: block !important;
        background: rgba(255, 107, 53, 0.95) !important; /* Orange warning background */
        color: white !important;
        border: none !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    /* Form elements */
    .login-title {
        font-size: 1rem;
    }
    
    .login-links {
        gap: 0.4rem;
    }
    
    .login-links p {
        font-size: 0.8rem;
    }
    
    /* Show logo and headlines on mobile */
    .logo img {
        display: block !important;
    }
    
    .hd-login,
    .sbh-login {
        display: block !important;
    }
    
    /* Hide reCAPTCHA badge on mobile - still functional */
    .grecaptcha-badge {
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

