/* style/login.css */

/* Base Styles for .page-login */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* From shared.css body background */
}

/* Ensure the main content area has appropriate padding for mobile */
.page-login__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box; /* Crucial for mobile responsiveness */
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #017439; /* Brand primary color for hero background */
    padding: 60px 20px;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-login__hero-content {
    max-width: 500px;
    text-align: center;
    z-index: 2;
    margin-right: 40px;
}

.page-login__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-login__login-form-container {
    background: #FFFFFF; /* Custom color for form background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    z-index: 2;
    color: #333333; /* Dark text for light background */
}

.page-login__form-title {
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    color: #017439; /* Brand primary color for form title */
}

.page-login__form-group {
    margin-bottom: 20px;
}

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.page-login__form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #f9f9f9;
}

.page-login__form-input::placeholder {
    color: #aaa;
}

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.page-login__remember-me {
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
}

.page-login__checkbox-label {
    color: #555555;
}

.page-login__forgot-password {
    color: #017439; /* Brand primary color */
    text-decoration: none;
}

.page-login__forgot-password:hover {
    text-decoration: underline;
}

/* Primary Button (Login Button) */
.page-login__btn-primary,
.page-login__login-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #C30808; /* Custom Login color */
    color: #FFFFFF; /* Prioritizing white for contrast over #FFFF00 */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-primary:hover,
.page-login__login-button:hover {
    background-color: #a00606;
}

.page-login__register-text {
    text-align: center;
    margin-top: 20px;
    color: #555555;
}

.page-login__register-link {
    color: #017439; /* Brand primary color */
    text-decoration: none;
    font-weight: bold;
}

.page-login__register-link:hover {
    text-decoration: underline;
}

.page-login__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-login__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay effect */
}

/* Section Titles and Descriptions */
.page-login__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff; /* Default for dark sections */
}