/* style/login.css */

/* Base styles for the login page */
.page-login {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--bg-color, #ffffff); /* Inherit from shared or default to white */
}

.page-login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-login__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-login__hero-section .page-login__container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-login__main-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.page-login__login-form-wrapper {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px;
    text-align: left;
}

.page-login__form-title {
    font-size: 2em;
    margin-bottom: 10px;
    color: #FFFFFF;
    text-align: center;
}

.page-login__form-subtitle {
    font-size: 1em;
    margin-bottom: 25px;
    color: #f0f0f0;
    text-align: center;
}

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

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

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

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

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

.page-login__forgot-password,
.page-login__register-link {
    color: #017439; /* Brand color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__forgot-password:hover,
.page-login__register-link:hover {
    color: #FFFFFF;
}

.page-login__submit-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #C30808; /* Custom Login button color */
    color: #FFFF00; /* Custom Login font color */
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.page-login__submit-button:hover {
    background-color: #a00606;
    color: #FFFFFF;
}

/* Sections General */
.page-login__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #017439; /* Brand primary color */
}

.page-login__section-paragraph {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Light background sections */
.page-login__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}
.page-login__light-bg .page-login__section-title {
    color: #017439;
}
.page-login__light-bg .page-login__section-paragraph {
    color: #555555;
}

/* Dark background sections */
.page-login__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF;
    padding: 60px 0;
}
.page-login__dark-section .page-login__section-title {
    color: #FFFFFF;
}
.page-login__dark-section .page-login__section-paragraph {
    color: #f0f0f0;
}