/* style/login.css */
.page-login {
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--primary-color, #1A1A1A);
}

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

/* Hero Section */
.page-login__hero-section {
    position: relative;
    background-image: url('[GALLERY:hero:12bet,login,background,secure]');
    background-size: cover;
    background-position: center;
    padding-top: var(--header-offset, 120px); /* Adjust based on shared.css body padding */
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure sufficient height */
    color: #ffffff;
}

.page-login__hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.page-login__login-card {
    background: rgba(0, 0, 0, 0.75); /* Darker background for readability */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__main-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #DC143C;
    line-height: 1.2;
}

.page-login__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #f0f0f0;
}

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444444;
    border-radius: 8px;
    background: #2A2A2A;
    color: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-login__form-input:focus {
    border-color: #DC143C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.3);
}

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

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

.page-login__checkbox {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #DC143C; /* Style checkbox with accent color */
}

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

.page-login__forgot-password-link {
    color: #DC143C;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-login__submit-button {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background-color: #DC143C;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.page-login__submit-button:hover {
    background-color: #ff4d6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 20, 60, 0.4);
}

.page-login__register-prompt {
    margin-top: 30px;
    font-size: 15px;
    color: #f0f0f0;
}

.page-login__register-prompt p {
    margin-bottom: 10px;
}

.page-login__register-link {
    color: #DC143C;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* General Section Styles */
.page-login__dark-section {
    background-color: #1A1A1A;
    color: #ffffff;
    padding: 80px 0;
}

.page-login__light-bg {
    background-color: #2A2A2A; /* Slightly lighter dark background for contrast */
    color: #ffffff;
    padding: 80px 0;
}

.page-login__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #DC143C;
    line-height: 1.2;
}

.page-login__section-description {
    font-size: 17px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.7;
    color: #cccccc;
}

.page-login__sub-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #DC143C;
    line-height: 1.3;
}

.page-login p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-login ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-login ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.page-login ul li::before {
    content: '✓';
    color: #DC143C;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Benefits Section */
.page-login__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-login__benefit-card {
    background: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-login__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: invert(0.9) sepia(1) saturate(5) hue-rotate(330deg) brightness(1.2); /* Tint icons red */
}

.page-login__benefit-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #DC143C;
}

.page-login__benefit-text {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.6;
}

/* Security Section */
.page-login__security-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-login__security-image {
    flex: 1;
    min-width: 300px;
}

.page-login__security-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-login__security-text {
    flex: 1.5;
    font-size: 16px;
    color: #f0f0f0;
}

.page-login__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    color: #DC143C;
    border: 2px solid #DC143C;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-login__btn-secondary:hover {
    background-color: #DC143C;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Troubleshooting Section */
.page-login__troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-login__trouble-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__trouble-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-login__trouble-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #DC143C;
}

.page-login__trouble-text {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.page-login__btn-link:hover {
    color: #ff4d6a;
    text-decoration: underline;
}

/* App Section */
.page-login__app-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-login__app-image {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.page-login__app-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-login__app-text {
    flex: 1.5;
    font-size: 16px;
    color: #f0f0f0;
}

.page-login__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: #DC143C;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.page-login__btn-primary:hover {
    background-color: #ff4d6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 20, 60, 0.4);
}

/* Promotions Section */
.page-login__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-login__promo-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-login__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-login__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-login__promo-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #DC143C;
}

.page-login__promo-text {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-login__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-login__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #1A1A1A;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #ffffff;
}

.page-login__faq-question:hover {
    background: #2A2A2A;
}

.page-login__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #DC143C;
}

.page-login__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #DC143C;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-login__faq-item.active .page-login__faq-toggle {
    color: #ffffff;
    transform: rotate(45deg);
}

.page-login__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: #cccccc;
}

.page-login__faq-item.active .page-login__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 0 0 8px 8px;
}

/* Support CTA Section */
.page-login__support-cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #DC143C;
}

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

.page-login__support-cta-section .page-login__section-description {
    color: #f0f0f0;
}

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

.page-login__support-cta-section .page-login__btn-primary {
    background-color: #1A1A1A;
    color: #ffffff;
    border: 2px solid #1A1A1A;
}

.page-login__support-cta-section .page-login__btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
}

.page-login__support-cta-section .page-login__btn-secondary {
    background-color: #ffffff;
    color: #DC143C;
    border: 2px solid #ffffff;
}

.page-login__support-cta-section .page-login__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #DC143C;
    border-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__section-title {
        font-size: 30px;
    }
    .page-login__security-content, .page-login__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-login__security-text, .page-login__app-text {
        text-align: center;
    }
    .page-login__security-image, .page-login__app-image {
        max-width: 80%;
        margin: 0 auto;
    }
    .page-login__security-text .page-login__sub-title, .page-login__app-text .page-login__sub-title {
        text-align: center;
    }
    .page-login__app-text ul {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .page-login__hero-section {
        padding-top: var(--header-offset, 80px);
        min-height: 500px;
        padding-bottom: 40px;
    }
    .page-login__login-card {
        padding: 30px 20px;
        max-width: 90%;
    }
    .page-login__main-title {
        font-size: 26px;
    }
    .page-login__intro-text {
        font-size: 15px;
    }
    .page-login__submit-button, .page-login__btn-primary, .page-login__btn-secondary {
        font-size: 16px;
        padding: 12px 20px;
    }
    .page-login__dark-section, .page-login__light-bg {
        padding: 50px 0;
    }
    .page-login__container {
        padding: 0 15px;
    }
    .page-login__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-login__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-login__sub-title {
        font-size: 20px;
    }
    .page-login__benefits-grid, .page-login__troubleshooting-grid, .page-login__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-login__benefit-card, .page-login__trouble-card, .page-login__promo-card {
        padding: 25px;
    }
    .page-login__promo-card img {
        
    }
    .page-login__faq-question {
        padding: 15px 20px;
    }
    .page-login__faq-question h3 {
        font-size: 16px;
    }
    .page-login__faq-answer {
        padding: 0 20px;
    }
    .page-login__faq-item.active .page-login__faq-answer {
        padding: 15px 20px !important;
    }
    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__cta-buttons a {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-login__section, .page-login__card, .page-login__container, .page-login__login-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-login__app-image {
        max-width: 100%;
    }
    .page-login__forgot-password-link, .page-login__checkbox-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 24px;
    }
    .page-login__section-title {
        font-size: 24px;
    }
    .page-login__sub-title {
        font-size: 18px;
    }
    .page-login__promo-card img {
        
    }
    .page-login__promo-title {
        font-size: 18px;
    }
    .page-login__promo-text {
        font-size: 14px;
    }
    .page-login__forgot-password-link, .page-login__checkbox-label {
        font-size: 12px;
    }
    .page-login__form-input {
        font-size: 14px;
        padding: 10px 12px;
    }
}