/* style/register-login-forgot-password.css */

/* Variables */
:root {
    --page-forgot-password-primary-color: #0A2342;
    --page-forgot-password-secondary-color: #FFD700;
    --page-forgot-password-action-color: #DC3545;
    --page-forgot-password-text-light: #F8F8F8;
    --page-forgot-password-text-dark: #333333;
    --page-forgot-password-background-light: #FFFFFF;
    --page-forgot-password-background-dark: #1A3B5D;
    --page-forgot-password-border-color: #CCCCCC;
    --page-forgot-password-hover-darken: rgba(0, 0, 0, 0.1);
    --page-forgot-password-hover-lighten: rgba(255, 255, 255, 0.1);
}

.page-register-login-forgot-password {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-forgot-password-text-dark);
    background-color: var(--page-forgot-password-background-light);
}

.page-register-login-forgot-password__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-register-login-forgot-password__hero {
    background: linear-gradient(135deg, var(--page-forgot-password-primary-color) 0%, #1A3B5D 100%); /* Adjusted for better blend */
    color: var(--page-forgot-password-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register-login-forgot-password__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue_gold_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-register-login-forgot-password__hero > .page-register-login-forgot-password__container {
    position: relative;
    z-index: 1;
}

.page-register-login-forgot-password__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-forgot-password-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register-login-forgot-password__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-forgot-password-text-light);
}

/* General Section Styling */
.page-register-login-forgot-password__content-section,
.page-register-login-forgot-password__security-tips,
.page-register-login-forgot-password__faq,
.page-register-login-forgot-password__cta-bottom {
    padding: 60px 0;
    background-color: var(--page-forgot-password-background-light);
}

.page-register-login-forgot-password__content-section {
    background-color: #F0F2F5;
}

.page-register-login-forgot-password__section-heading {
    font-size: 2.5em;
    color: var(--page-forgot-password-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-register-login-forgot-password__section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-forgot-password-secondary-color);
    border-radius: 2px;
}

.page-register-login-forgot-password__text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--page-forgot-password-text-dark);
}

/* Buttons */
.page-register-login-forgot-password__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    text-align: center;
}

.page-register-login-forgot-password__button--primary {
    background-color: var(--page-forgot-password-secondary-color);
    color: var(--page-forgot-password-primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register-login-forgot-password__button--primary:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-register-login-forgot-password__button--secondary {
    background-color: var(--page-forgot-password-primary-color);
    color: var(--page-forgot-password-text-light);
    border: 2px solid var(--page-forgot-password-secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-register-login-forgot-password__button--secondary:hover {
    background-color: var(--page-forgot-password-background-dark);
    border-color: #E6C200;
    transform: translateY(-2px);
}

.page-register-login-forgot-password__button--action {
    background-color: var(--page-forgot-password-action-color);
    color: var(--page-forgot-password-text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register-login-forgot-password__button--action:hover {
    background-color: #C82333; /* Slightly darker red */
    transform: translateY(-2px);
}

.page-register-login-forgot-password__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    margin-top: 30px;
}

.page-register-login-forgot-password__button--small {
    padding: 10px 20px;
    font-size: 0.95em;
    margin-left: 15px;
}

/* Method Cards */
.page-register-login-forgot-password__method-card {
    background-color: var(--page-forgot-password-background-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--page-forgot-password-secondary-color);
}

.page-register-login-forgot-password__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register-login-forgot-password__method-icon {
    width: 60px;
    height: 60px;
    background-color: var(--page-forgot-password-primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.page-register-login-forgot-password__method-icon img {
    width: 35px;
    height: 35px;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(287deg) brightness(100%) contrast(100%); /* Make icons white */
}

.page-register-login-forgot-password__method-title {
    font-size: 1.8em;
    color: var(--page-forgot-password-primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-register-login-forgot-password__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 25px;
    color: var(--page-forgot-password-text-dark);
}

.page-register-login-forgot-password__list li {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Forms */
.page-register-login-forgot-password__form {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-register-login-forgot-password__form-group {
    display: flex;
    flex-direction: column;
}

.page-register-login-forgot-password__label {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--page-forgot-password-primary-color);
    font-size: 1em;
}

.page-register-login-forgot-password__input {
    padding: 12px 15px;
    border: 1px solid var(--page-forgot-password-border-color);
    border-radius: 6px;
    font-size: 1em;
    color: var(--page-forgot-password-text-dark);
    background-color: var(--page-forgot-password-background-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register-login-forgot-password__input:focus {
    border-color: var(--page-forgot-password-secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    outline: none;
}

/* Security Tips */
.page-register-login-forgot-password__security-tips {
    background-color: var(--page-forgot-password-background-dark);
    color: var(--page-forgot-password-text-light);
}

.page-register-login-forgot-password__security-tips .page-register-login-forgot-password__section-heading {
    color: var(--page-forgot-password-secondary-color);
}

.page-register-login-forgot-password__security-tips .page-register-login-forgot-password__section-heading::after {
    background-color: var(--page-forgot-password-text-light);
}

.page-register-login-forgot-password__security-tips .page-register-login-forgot-password__text {
    color: var(--page-forgot-password-text-light);
}

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

.page-register-login-forgot-password__tip-card {
    background-color: var(--page-forgot-password-primary-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register-login-forgot-password__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register-login-forgot-password__tip-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(300%) hue-rotate(330deg) brightness(100%) contrast(100%); /* Gold tint for icons */
}

.page-register-login-forgot-password__tip-title {
    font-size: 1.5em;
    color: var(--page-forgot-password-secondary-color);
    margin-bottom: 15px;
}

/* FAQ Section */
.page-register-login-forgot-password__faq {
    background-color: var(--page-forgot-password-background-light);
}

.page-register-login-forgot-password__accordion {
    margin-top: 40px;
}

.page-register-login-forgot-password__accordion-item {
    border: 1px solid var(--page-forgot-password-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-register-login-forgot-password__accordion-header {
    background-color: var(--page-forgot-password-primary-color);
    color: var(--page-forgot-password-text-light);
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-register-login-forgot-password__accordion-header:hover {
    background-color: var(--page-forgot-password-background-dark);
}

.page-register-login-forgot-password__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-register-login-forgot-password__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-register-login-forgot-password__accordion-content {
    padding: 0 25px;
    background-color: #F9F9F9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-register-login-forgot-password__accordion-content.active {
    max-height: 200px; /* Adjust based on content, or use JS to calculate */
    padding: 25px;
}

.page-register-login-forgot-password__accordion-content p {
    margin: 0;
    color: var(--page-forgot-password-text-dark);
}

/* CTA Bottom Section */
.page-register-login-forgot-password__cta-bottom {
    background: linear-gradient(135deg, var(--page-forgot-password-background-dark) 0%, var(--page-forgot-password-primary-color) 100%);
    color: var(--page-forgot-password-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-register-login-forgot-password__cta-bottom .page-register-login-forgot-password__section-heading {
    color: var(--page-forgot-password-secondary-color);
}

.page-register-login-forgot-password__cta-bottom .page-register-login-forgot-password__section-heading::after {
    background-color: var(--page-forgot-password-text-light);
}

.page-register-login-forgot-password__cta-bottom .page-register-login-forgot-password__text {
    color: var(--page-forgot-password-text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-register-login-forgot-password__title {
        font-size: 2.5em;
    }

    .page-register-login-forgot-password__subtitle {
        font-size: 1.1em;
    }

    .page-register-login-forgot-password__section-heading {
        font-size: 2em;
    }

    .page-register-login-forgot-password__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
        display: block;
        margin: 20px auto 0 auto;
    }

    .page-register-login-forgot-password__button--small {
        margin: 15px auto 0 auto;
        display: block;
    }

    .page-register-login-forgot-password__grid {
        grid-template-columns: 1fr;
    }

    .page-register-login-forgot-password__method-card,
    .page-register-login-forgot-password__tip-card {
        padding: 25px;
    }

    .page-register-login-forgot-password__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-register-login-forgot-password__accordion-content.active {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-register-login-forgot-password__title {
        font-size: 2em;
    }

    .page-register-login-forgot-password__subtitle {
        font-size: 1em;
    }

    .page-register-login-forgot-password__section-heading {
        font-size: 1.8em;
    }

    .page-register-login-forgot-password__button {
        font-size: 1em;
        padding: 12px 25px;
    }

    .page-register-login-forgot-password__hero,
    .page-register-login-forgot-password__content-section,
    .page-register-login-forgot-password__security-tips,
    .page-register-login-forgot-password__faq,
    .page-register-login-forgot-password__cta-bottom {
        padding: 50px 0;
    }
}