.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

/* --- Hero Section --- */
.page-login__hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top spacing as body padding-top is assumed from shared */
}

.page-login__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-login__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 20px;
    margin-top: 20px; /* Space between image and text */
}

.page-login__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #FFD36B; /* Glow color for emphasis */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.1em;
    color: #FFF6D6;
    max-width: 700px;
    margin: 0 auto;
}

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

.page-login__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-login__login-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.page-login__card-title {
    font-size: 2em;
    color: #F2C14E; /* Main color */
    margin-bottom: 25px;
}

.page-login__login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-login__form-group {
    text-align: left;
}

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #0A0A0A; /* Darker input background */
    border: 1px solid #3A2A12;
    border-radius: 5px;
    color: #FFF6D6;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input::placeholder {
    color: rgba(255, 246, 214, 0.6);
}

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

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

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

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

.page-login__forgot-password-link {
    color: #F2C14E; /* Main color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
    color: #FFD36B; /* Glow color */
}

.page-login__submit-button {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    border: none;
    border-radius: 5px;
    color: #ffffff; /* White text for contrast */
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.page-login__submit-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #FFE080 0%, #E8AD2A 100%);
}

.page-login__register-prompt {
    margin-top: 25px;
    color: #FFF6D6;
    font-size: 0.95em;
}

.page-login__register-link {
    color: #FFD36B; /* Glow color */
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.page-login__register-link:hover {
    color: #F2C14E; /* Main color */
}

/* --- Benefits Section --- */
.page-login__benefits-section {
    padding: 60px 0;
    text-align: center;
}

.page-login__section-title {
    font-size: 2.2em;
    color: #F2C14E; /* Main color */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-login__benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.page-login__benefit-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-login__benefit-icon {
    width: 100%; /* Ensure images are responsive within their grid item */
    height: auto;
    max-width: 200px; /* Max width for icons */
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 5px;
    display: block; /* Ensure no extra space below image */
    margin-left: auto;
    margin-right: auto;
}

.page-login__benefit-title {
    font-size: 1.5em;
    color: #FFD36B; /* Glow color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__benefit-text {
    font-size: 1em;
    color: #FFF6D6;
}

/* --- CTA Section --- */
.page-login__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #111111; /* Card BG, for a distinct section */
    border-top: 1px solid #3A2A12;
}

.page-login__cta-description {
    font-size: 1.1em;
    color: #FFF6D6;
    max-width: 700px;
    margin: 0 auto 30px;
}

.page-login__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    border: none;
    border-radius: 5px;
    color: #ffffff; /* White text for contrast */
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile button responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-login__cta-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #FFE080 0%, #E8AD2A 100%);
}

/* --- Responsive styles for mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-login {
        font-size: 14px; /* Adjust base font size for mobile */
    }

    /* Hero Section */
    .page-login__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        margin-bottom: 20px;
    }

    .page-login__main-title {
        font-size: 2em;
    }

    .page-login__hero-description {
        font-size: 1em;
    }

    /* Form Section */
    .page-login__login-card {
        padding: 20px;
    }

    .page-login__card-title {
        font-size: 1.8em;
    }

    .page-login__form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-login__forgot-password-link {
        align-self: flex-end; /* Push to right */
    }

    .page-login__submit-button,
    .page-login__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Benefits Section */
    .page-login__section-title {
        font-size: 1.8em;
    }

    .page-login__benefits-grid {
        grid-template-columns: 1fr; /* Single column for benefits on mobile */
        gap: 20px;
    }

    .page-login__benefit-item {
        padding: 20px;
    }

    .page-login__benefit-icon {
        max-width: 150px; /* Smaller icons on mobile */
    }

    .page-login__benefit-title {
        font-size: 1.3em;
    }

    /* Generic image responsiveness */
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-login__hero-section,
    .page-login__form-section,
    .page-login__benefits-section,
    .page-login__cta-section,
    .page-login__container,
    .page-login__hero-image-wrapper,
    .page-login__login-card,
    .page-login__benefit-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}