/* style/login.css */

/* Base styles for the page-login scope */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-login__main-title {
    font-size: 3.2em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-login__sub-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color for sub-titles */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__description {
    font-size: 1.1em;
    color: #e0e0e0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

/* Hero Section */
.page-login__hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #26A9E0, #1a1a1a); /* Gradient with brand color */
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-login__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Buttons */
.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__btn-login,
.page-login__download-btn,
.page-login__large-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

.page-login__btn-primary:hover {
    background-color: #1a8ccb;
    border-color: #1a8ccb;
}

.page-login__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

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

.page-login__btn-login {
    background-color: #EA7C07; /* Login specific color */
    color: #ffffff;
    border: 2px solid #EA7C07;
    width: 100%;
    margin-top: 20px;
}

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

.page-login__large-btn {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Form Section */
.page-login__form-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background for form section */
}

.page-login__form-section .page-login__section-title {
    color: #ffffff; /* Light text for dark background */
}

.page-login__form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for the form itself */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-login__label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-weight: bold;
}

.page-login__input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__input::placeholder {
    color: #aaa;
}

.page-login__input:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

.page-login__remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.page-login__checkbox {
    margin-right: 10px;
    accent-color: #26A9E0; /* Checkbox color */
}

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

.page-login__forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #26A9E0;
    text-decoration: none;
    font-size: 0.95em;
}

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

.page-login__register-prompt {
    text-align: center;
    margin-top: 30px;
    font-size: 1em;
    color: #e0e0e0;
}

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

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

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

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

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

.page-login__benefit-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff; /* Ensure text is light */
}

.page-login__benefit-card .page-login__card-title {
    font-size: 1.5em;
    color: #26A9E0; /* Brand color for card titles */
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-login__benefit-card p {
    color: #e0e0e0;
}

.page-login__benefit-icon {
    width: 200px; /* Min size */
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Content Area */
.page-login__content-area {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #e0e0e0; /* Light text */
}

.page-login__content-area .page-login__section-title {
    color: #ffffff;
}

.page-login__content-area p {
    margin-bottom: 1em;
    font-size: 1.05em;
    color: #e0e0e0;
}

.page-login__content-area ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: #e0e0e0;
}

.page-login__content-area li {
    margin-bottom: 0.5em;
    color: #e0e0e0;
}

.page-login__content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-login__download-btn {
    margin-top: 30px;
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

/* FAQ Section */
.page-login__faq-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Dark background */
    color: #ffffff;
}

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

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

.page-login__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-login__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.page-login__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-login__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-login__faq-item summary::marker {
    display: none;
}

.page-login__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

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

.page-login__faq-item[open] .page-login__faq-toggle {
    content: "−";
}

.page-login__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #e0e0e0;
}

/* Call to Action Bottom Section */
.page-login__cta-bottom-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #e0e0e0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.8em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__sub-title {
        font-size: 1.6em;
    }
}