/* style/login.css */

/* --- Base Styles --- */
.page-login {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light backgrounds */
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set body background for contrast calculation */
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-login__section-title--white {
    color: #FFFFFF;
}

.page-login__intro-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #555555;
}

.page-login__intro-text--white {
    color: #f0f0f0;
}

/* --- Buttons --- */
.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__submit-button,
.page-login__register-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-login__btn-primary,
.page-login__submit-button {
    background-color: #EA7C07; /* Custom login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-login__btn-primary:hover,
.page-login__submit-button:hover {
    background-color: #d16b05;
    border-color: #d16b05;
}

.page-login__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-login__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* --- Hero Section --- */
.page-login__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, #26A9E0, #1a8cc4);
    color: #FFFFFF;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column; /* Image above content on mobile, content above image on desktop */
    align-items: center;
    justify-content: center;
}

.page-login__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-login__hero-text-block {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
}

.page-login__main-title {
    font-size: 3em;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #FFFFFF;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__description {
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__login-form-container {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    color: #333333;
}

.page-login__form-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

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

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-login__form-input:focus {
    border-color: #26A9E0;
    outline: none;
}

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

.page-login__checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    user-select: none;
    color: #555555;
}

.page-login__checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.page-login__checkbox-checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.page-login__checkbox-container input:checked ~ .page-login__checkbox-checkmark {
    background-color: #26A9E0;
    border-color: #26A9E0;
}

.page-login__checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.page-login__checkbox-container input:checked ~ .page-login__checkbox-checkmark:after {
    display: block;
}

.page-login__checkbox-container .page-login__checkbox-checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.page-login__forgot-password-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: normal;
}

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

.page-login__submit-button {
    width: 100%;
    font-size: 1.1em;
    padding: 15px;
    margin-top: 10px;
}

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

.page-login__register-link {
    color: #EA7C07;
    text-decoration: none;
    font-weight: bold;
}

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

.page-login__hero-image-wrapper {
    margin-top: 60px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-login__hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Benefits Section --- */
.page-login__benefits-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-login__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-login__benefit-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-login__benefit-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__benefit-description {
    font-size: 1em;
    color: #555555;
}

/* --- Guide Section --- */
.page-login__guide-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background for this section */
    color: #FFFFFF;
}

.page-login__guide-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}