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

/* Base styles for the page content area */
.page-registration-login-forgot-password {
    font-family: 'Arial', sans-serif;
    color: #0A244A; /* Dark blue for primary text */
    background-color: #F8F9FA; /* Very light grey background for readability */
    line-height: 1.6;
    font-size: 16px;
    direction: ltr; /* Explicitly set text direction */
}

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

/* Hero Section */
.page-registration-login-forgot-password__hero {
    background: linear-gradient(135deg, #0A244A 0%, #304A70 100%); /* Dark blue gradient */
    color: #FFFFFF; /* White text on dark background */
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-registration-login-forgot-password__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15; /* Subtle background image */
}

.page-registration-login-forgot-password__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-registration-login-forgot-password__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-registration-login-forgot-password__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-registration-login-forgot-password__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-registration-login-forgot-password__hero-btn {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A244A; /* Dark blue text on gold */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #FFD700;
}

.page-registration-login-forgot-password__hero-btn:hover {
    background-color: #0A244A; /* Dark blue background on hover */
    color: #FFD700; /* Gold text on hover */
    border-color: #FFD700;
}

/* General Section Styling */
.page-registration-login-forgot-password__section {
    padding: 60px 0;
    border-bottom: 1px solid #E0E0E0; /* Light border between sections */
}

.page-registration-login-forgot-password__section:last-of-type {
    border-bottom: none;
}

.page-registration-login-forgot-password__section-title {
    font-size: 2.5em;
    color: #0A244A;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-registration-login-forgot-password__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-registration-login-forgot-password__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #333333; /* Slightly lighter dark text */
}

/* Step-by-Step Recovery */
.page-registration-login-forgot-password__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-registration-login-forgot-password__step {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #0A244A;
}

.page-registration-login-forgot-password__step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-registration-login-forgot-password__step-title {
    font-size: 1.6em;
    color: #0A244A;
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}

.page-registration-login-forgot-password__step-title::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: -5px;
    background-color: #FFD700; /* Gold step number */
    color: #0A244A; /* Dark blue number text */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: bold;
}

.page-registration-login-forgot-password__step-description {
    font-size: 1em;
    color: #555555;
}

.page-registration-login-forgot-password__list {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    color: #555555;
}

.page-registration-login-forgot-password__list li {
    margin-bottom: 8px;
}

.page-registration-login-forgot-password__image-inline {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* App Benefits Grid */
.page-registration-login-forgot-password__app-benefits {
    background-color: #EBF2F7; /* Light blue-grey background */
}

.page-registration-login-forgot-password__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-registration-login-forgot-password__grid-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #FFD700; /* Gold accent */
}

.page-registration-login-forgot-password__grid-title {
    font-size: 1.5em;
    color: #0A244A;
    margin-bottom: 15px;
}

.page-registration-login-forgot-password__grid-description {
    color: #555555;
}

.page-registration-login-forgot-password__section-conclusion {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #333333;
}

/* Troubleshooting / FAQ */
.page-registration-login-forgot-password__troubleshooting {
    counter-reset: faq-counter;
}

.page-registration-login-forgot-password__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.page-registration-login-forgot-password__faq-question {
    font-size: 1.4em;
    color: #0A244A;
    padding: 20px;
    cursor: pointer;
    background-color: #F0F4F8; /* Lighter background for question */
    border-bottom: 1px solid #E0E0E0;
    margin: 0;
    position: relative;
}

.page-registration-login-forgot-password__faq-question::before {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-registration-login-forgot-password__faq-item.active .page-registration-login-forgot-password__faq-question::before {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-registration-login-forgot-password__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #555555;
}

.page-registration-login-forgot-password__faq-item.active .page-registration-login-forgot-password__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 20px;
}

/* Security Tips */
.page-registration-login-forgot-password__security-tips {
    background-color: #0A244A; /* Dark blue background */
    color: #FFFFFF; /* White text */
}

.page-registration-login-forgot-password__security-tips .page-registration-login-forgot-password__section-title,
.page-registration-login-forgot-password__security-tips .page-registration-login-forgot-password__section-intro {
    color: #FFFFFF; /* White text for titles and intros on dark background */
}

.page-registration-login-forgot-password__security-tips .page-registration-login-forgot-password__section-title::after {
    background-color: #FFD700; /* Gold underline */
}

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

.page-registration-login-forgot-password__security-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-registration-login-forgot-password__security-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(30deg) brightness(100%) contrast(100%); /* Make icons gold-ish */
}

.page-registration-login-forgot-password__security-item-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold title */
    margin-bottom: 10px;
}

.page-registration-login-forgot-password__security-item-description {
    color: #E0E0E0; /* Light grey text for readability */
}

/* Contact Support */
.page-registration-login-forgot-password__contact-support {
    background-color: #F8F9FA;
}

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

.page-registration-login-forgot-password__support-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-bottom: 5px solid #0A244A;
}

.page-registration-login-forgot-password__support-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.page-registration-login-forgot-password__support-item-title {
    font-size: 1.6em;
    color: #0A244A;
    margin-bottom: 10px;
}

.page-registration-login-forgot-password__support-item-description {
    color: #555555;
    margin-bottom: 25px;
}

/* Call to Action */
.page-registration-login-forgot-password__cta {
    background-color: #0A244A; /* Dark blue background */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-registration-login-forgot-password__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
}

.page-registration-login-forgot-password__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #E0E0E0; /* Light grey text */
}

.page-registration-login-forgot-password__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-registration-login-forgot-password__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.page-registration-login-forgot-password__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A244A; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-registration-login-forgot-password__btn--primary:hover {
    background-color: #0A244A; /* Dark blue background on hover */
    color: #FFD700; /* Gold text on hover */
    border-color: #FFD700;
}

.page-registration-login-forgot-password__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700; /* Gold border */
}

.page-registration-login-forgot-password__btn--secondary:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #0A244A; /* Dark blue text on hover */
}

/* Text links within content */
.page-registration-login-forgot-password__text-link {
    color: #FFD700; /* Gold for text links */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-registration-login-forgot-password__text-link:hover {
    color: #E0B300; /* Slightly darker gold on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-registration-login-forgot-password__hero-title {
        font-size: 2.5em;
    }

    .page-registration-login-forgot-password__section-title {
        font-size: 2em;
    }

    .page-registration-login-forgot-password__hero {
        padding: 60px 0;
    }

    .page-registration-login-forgot-password__section {
        padding: 40px 0;
    }

    .page-registration-login-forgot-password__step-by-step,
    .page-registration-login-forgot-password__grid,
    .page-registration-login-forgot-password__security-grid,
    .page-registration-login-forgot-password__support-options {
        grid-template-columns: 1fr;
    }

    .page-registration-login-forgot-password__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-registration-login-forgot-password__btn {
        width: 100%;
        max-width: 300px;
    }
}

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

    .page-registration-login-forgot-password__hero-description {
        font-size: 1em;
    }

    .page-registration-login-forgot-password__section-title {
        font-size: 1.8em;
    }

    .page-registration-login-forgot-password__hero-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-registration-login-forgot-password__faq-question {
        font-size: 1.2em;
        padding-right: 40px;
    }
}

/* Counter for steps */
.page-registration-login-forgot-password__recovery-steps {
    counter-reset: step-counter;
}