/* style/login.css */

/* Base styles for the page-login content */
.page-login {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared, if not explicitly set here */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

/* Container for consistent content width */
.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: 500px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
}

.page-login__hero-image {
    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-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.page-login__main-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-login__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0; /* Default for dark background sections */
}

/* Form Section */
.page-login__form-section {
    padding: 80px 0;
}

.page-login__form-section .page-login__container {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-login__form-wrapper {
    background: #ffffff; /* Light background for the form itself */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 350px;
    max-width: 500px;
    color: #333333; /* Dark text for light background */
}

.page-login__form-title {
    font-size: 2em;
    margin-bottom: 15px;
    text-align: center;
    color: #26A9E0; /* Brand color for title */
}

.page-login__form-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1em;
    color: #555555;
}

.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 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

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

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

.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: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
    color: #1a7bb0;
    text-decoration: underline;
}

.page-login__btn-submit {
    width: 100%;
    padding: 15px 20px;
    background-color: #EA7C07; /* Custom login button color */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.page-login__btn-submit:hover {
    background-color: #d86f06;
}

.page-login__register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 1em;
    color: #555555;
}

.page-login__register-cta {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login__register-cta:hover {
    color: #1a7bb0;
    text-decoration: underline;
}

.page-login__form-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__form-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.page-login__benefits-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand primary color for dark background */
    color: #ffffff;
}

.page-login__benefits-section .page-login__section-title {
    color: #ffffff;
}

.page-login__benefits-section .page-login__section-description {
    color: #f0f0f0;
}

.page-login__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__benefit-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on brand color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
}
}