/* General Styling for Login Page */
.page-login {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

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

.page-login__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Using main brand color for titles */
}

.page-login__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555555;
}

/* Hero Section */
.page-login__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-height: 450px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-login__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.page-login__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 40px;
}

.page-login__form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
}

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

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

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

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

.page-login__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.page-login__forgot-password {
    color: #26A9E0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
    color: #1a7bb6;
}

.page-login__btn-login {
    background-color: #EA7C07; /* Specific color for login button */
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-login:hover {
    background-color: #d16e06;
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-login__register-prompt p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 15px;
}

.page-login__btn-register {
    display: inline-block;
    background-color: #26A9E0;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-register:hover {
    background-color: #1a7bb6;
}

/* Benefits Section */
.page-login__benefits-section {
    padding: 80px 0;
    background-color: #f0f7ff; /* Light blue background for contrast */
}

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

.page-login__benefit-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-login__benefit-card:hover {
    transform: translateY(-5px);
}

.page-login__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-login__benefit-text {
    font-size: 16px;
    color: #555555;
}

/* Guide Section */
.page-login__guide-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background (brand primary) */
    color: #ffffff;
}

.page-login__guide-section .page-login__section-title,
.page-login__guide-section .page-login__section-description {
    color: #ffffff;
}

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

.page-login__step-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-login__step-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
    line-height: 1;
}

.page-login__step-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-login__step-text {
    font-size: 16px;
    color: #f0f0f0;
}

/* Troubleshooting Section */
.page-login__troubleshooting-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-login__trouble-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-login__trouble-card {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-login__trouble-title {
    font-size: 24px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-login__trouble-text {
    font-size: 16px;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-login__btn-action {
    display: inline-block;
    background-color: #EA7C07;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-action:hover {
    background-color: #d16e06;
}

/* Register Section (CTA) */
.page-login__register-section {
    padding: 80px 0;
    background-color: #26A9E0;
    text-align: center;
    color: #ffffff;
}

.page-login__register-section .page-login__section-title,
.page-login__register-section .page-login__section-description {
    color: #ffffff;
}

.page-login__btn-primary {
    display: inline-block;
    background-color: #EA7C07;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    margin-top: 30px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-primary:hover {
    background-color: #d16e06;
}

/* Security Section */
.page-login__security-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-login__security-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-login__feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-login__feature-icon {
    width: 200px; /* Min size as per rules */
    height: 200px; /* Min size as per rules */
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.page-login__feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-login__feature-text {
    font-size: 16px;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 40px;
    }
    .page-login__section-title {
        font-size: 30px;
    }
    .page-login__benefits-grid,
    .page-login__steps-grid,
    .page-login__trouble-cards,
    .page-login__security-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-login__hero-image-wrapper {
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .page-login {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-login__container {
        padding: 0 15px;
    }
    .page-login__hero-section {
        padding-bottom: 40px;
    }
    .page-login__hero-image-wrapper {
        max-height: 250px;
        margin-bottom: 20px;
    }
    .page-login__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    .page-login__hero-content {
        padding: 0 15px;
    }
    .page-login__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-login__hero-description {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .page-login__form-container {
        padding: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-login__form-input {
        padding: 10px 12px;
    }
    .page-login__form-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
    }
    .page-login__forgot-password {
        text-align: center;
    }
    .page-login__btn-login,
    .page-login__btn-register,
    .page-login__btn-action,
    .page-login__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-login__benefits-section,
    .page-login__guide-section,
    .page-login__troubleshooting-section,
    .page-login__register-section,
    .page-login__security-section {
        padding: 50px 0;
    }
    .page-login__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .page-login__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-login__benefits-grid,
    .page-login__steps-grid,
    .page-login__trouble-cards,
    .page-login__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-login__benefit-card,
    .page-login__step-card,
    .page-login__trouble-card,
    .page-login__feature-item {
        padding: 25px;
    }
    .page-login__benefit-title,
    .page-login__step-title,
    .page-login__trouble-title,
    .page-login__feature-title {
        font-size: 20px;
    }
    .page-login__step-number {
        font-size: 40px;
    }
    .page-login__benefit-icon,
    .page-login__feature-icon {
        max-width: 180px;
        width: 100%;
        height: auto;
    }
    /* Ensure all images are responsive */
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-login__hero-image {
        object-fit: cover;
    }
    /* All containing elements for images and buttons */
    .page-login__section,
    .page-login__card,
    .page-login__container,
    .page-login__benefits-grid,
    .page-login__steps-grid,
    .page-login__trouble-cards,
    .page-login__security-features {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}