/* style/login.css */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from shared, but for clarity */
}

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

.page-login__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-login__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-login__hero-section {
    position: relative;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-login__hero-section .page-login__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.page-login__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
}

.page-login__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Custom color for main title */
}

.page-login__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-login__login-form-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    margin-top: 20px;
}

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

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #005f2c;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    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-top: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-login__btn-login {
    background-color: #C30808; /* Custom login button color */
    color: #FFFF00; /* Custom login button font color */
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    flex-grow: 1;
    min-width: 120px;
}

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

.page-login__forgot-password {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

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

.page-login__register-prompt {
    margin-top: 25px;
    text-align: center;
    color: #f0f0f0;
}

.page-login__btn-register {
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login__btn-register:hover {
    color: #fff;
}

.page-login__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-login__light-bg .page-login__section-title {
    color: #017439;
}

.page-login__dark-bg .page-login__section-title {
    color: #ffffff;
}

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

.page-login__light-bg .page-login__section-description {
    color: #555555;
}

.page-login__dark-bg .page-login__section-description {
    color: #f0f0f0;
}

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

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

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

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

.page-login__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-login__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #017439;
}

.page-login__card-text {
    font-size: 1em;
    color: #555555;
}

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

.page-login__security-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.page-login__security-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-login__security-text p {
    margin-bottom: 15px;
}

.page-login__security-text a {
    color: #FFFF00;
    text-decoration: none;
    font-weight: bold;
}

.page-login__security-text a:hover {
    text-decoration: underline;
}

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

.page-login__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-login__faq-section {
    padding: 80px 0;
}

.page-login__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-login__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #017439;
    background-color: #eaf7ed;
    border-bottom: 1px solid #e0e0e0;
}

.page-login__faq-question:hover {
    background-color: #e0f2e3;
}

.page-login__faq-item[open] .page-login__faq-question {
    border-bottom: 1px solid #d0d0d0;
}

.page-login__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-login__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    border-top: 1px solid #f0f0f0;
}

.page-login__faq-answer p {
    margin-bottom: 10px;
}

/* Details element specific styling */
.page-login__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-login__faq-item summary {
    list-style: none;
}

/* Download App Section */
.page-login__download-app-section {
    padding: 80px 0;
}

.page-login__flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.page-login__app-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: center;
}

.page-login__app-image-wrapper {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-login__btn-download {
    display: inline-block;
    margin-top: 30px;
    background-color: #C30808; /* Custom download button color */
    color: #FFFF00; /* Custom download button font color */
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-login__btn-download:hover {
    background-color: #a30606;
}

/* Support Section */
.page-login__support-section {
    padding: 80px 0;
}

.page-login__text-center {
    text-align: center;
}

.page-login__btn-support {
    display: inline-block;
    margin-top: 30px;
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-login__btn-support:hover {
    background-color: #017439;
    color: #ffffff;
}

/* CTA Section */
.page-login__cta-section {
    padding: 80px 0;
}

.page-login__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-login__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

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

.page-login__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-login__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.8em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__hero-section .page-login__container {
        flex-direction: column;
        text-align: center;
    }
    .page-login__hero-content {
        max-width: 100%;
        text-align: center;
    }
    .page-login__login-form-wrapper {
        margin: 20px auto 0 auto;
    }
    .page-login__hero-image-wrapper {
        min-width: unset;
        margin-top: 40px;
    }
    .page-login__security-content {
        flex-direction: column;
        text-align: center;
    }
    .page-login__security-text {
        max-width: 100%;
    }
    .page-login__download-app-section .page-login__flex-center {
        flex-direction: column;
    }
    .page-login__app-content {
        max-width: 100%;
    }
    .page-login__app-image-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-login {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-login__container {
        padding: 0 15px;
    }
    .page-login__hero-section,
    .page-login__benefits-section,
    .page-login__security-section,
    .page-login__faq-section,
    .page-login__download-app-section,
    .page-login__support-section,
    .page-login__cta-section {
        padding: 50px 0;
    }
    .page-login__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-login__main-title {
        font-size: 2.2em;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__intro-text,
    .page-login__section-description,
    .page-login__security-text,
    .page-login__card-text,
    .page-login__faq-answer p {
        font-size: 1em;
    }
    .page-login__login-form-wrapper {
        padding: 20px;
    }
    .page-login__form-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-login__btn-login,
    .page-login__btn-download,
    .page-login__btn-support,
    .page-login__btn-primary,
    .page-login__btn-secondary {
        width: 100% !important;
        max-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;
    }
    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-login__section,
    .page-login__card,
    .page-login__container,
    .page-login__hero-image-wrapper,
    .page-login__security-image-wrapper,
    .page-login__app-image-wrapper,
    .page-login__login-form-wrapper,
    .page-login__benefits-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-login__faq-item {
        padding: 0;
    }
    .page-login__faq-question,
    .page-login__faq-answer {
        padding: 15px 20px;
    }
    .page-login__faq-toggle {
        margin-left: 10px;
    }
}