/* Forgot Password Page Styling */

/* Page Header */
.ec-role {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.ec-pageHeader {
    margin: 30px 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.ec-pageHeader h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.03em;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.ec-pageHeader h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #525263;
}

/* Common Styles for Forgot Password Pages */
.ec-forgotRole,
.ec-registerRole,
.ec-forgetCompleteRole {
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    animation: fadeIn 0.6s ease-out;
}

/* Index Page Styles */
.ec-forgotRole__form {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    padding: 30px;
    margin-bottom: 30px;
}

.ec-forgotRole__intro {
    margin-bottom: 25px;
    text-align: center;
}

.ec-forgotRole__intro p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.ec-forgotRole__intro p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #888;
}

/* Reset Page Styles */
.ec-registerRole form {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    padding: 30px;
    margin-bottom: 30px;
}

.ec-registerRole__actions {
    margin-top: 20px;
}

/* Complete Page Styles */
.ec-forgetCompleteRole {
    text-align: center;
}

.ec-off3Grid {
    display: flex;
    justify-content: center;
}

.ec-off3Grid__cell {
    width: 100%;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.ec-reportHeading {
    margin-bottom: 25px;
}

.ec-reportHeading h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #525263;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.ec-reportHeading h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #525263;
}

.ec-reportDescription {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-line;
}

/* Form Elements */
.ec-borderedDefs {
    margin-bottom: 25px;
}

.ec-borderedDefs dl {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.ec-borderedDefs dt {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.ec-borderedDefs dd {
    margin: 0 0 20px 0;
}

.ec-label {
    font-weight: 500;
    color: #333;
}

.ec-input {
    margin-bottom: 5px;
}

.ec-input input {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    height: 48px;
    padding: 0 15px;
    font-size: 0.95rem;
    color: #333;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
    width: 100%;
    font-family: var(--font-main);
}

.ec-input input:focus {
    border-color: #525263;
    box-shadow: 0 0 0 3px rgba(82, 82, 99, 0.1);
    background-color: #fff;
    outline: none;
}

.ec-input.error input {
    border-color: #CF3F3F;
    background-color: #FFF8F8;
}

.ec-errorMessage {
    color: #CF3F3F;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 10px;
    padding: 10px;
    background-color: #FFF8F8;
    border-radius: 4px;
    border-left: 3px solid #CF3F3F;
}

/* Grid Layout */
.ec-off1Grid,
.ec-off4Grid {
    display: flex;
    justify-content: center;
}

.ec-off1Grid__cell {
    width: 100%;
}

.ec-off4Grid__cell {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Buttons */
.ec-blockBtn--action {
    display: inline-block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #525263;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: var(--font-main);
}

.ec-blockBtn--action:hover {
    background-color: #3E3E4A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 767px) {
    .ec-pageHeader h1 {
        font-size: 1.4rem;
    }

    .ec-forgotRole__form,
    .ec-registerRole form,
    .ec-off3Grid__cell {
        padding: 20px;
    }

    .ec-forgotRole__intro,
    .ec-reportHeading {
        margin-bottom: 20px;
    }

    .ec-reportHeading h2 {
        font-size: 1.2rem;
    }

    .ec-blockBtn--action {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .ec-pageHeader {
        margin: 20px 0 15px;
        padding-bottom: 10px;
    }

    .ec-pageHeader h1 {
        font-size: 1.2rem;
        padding-bottom: 8px;
    }

    .ec-forgotRole__form,
    .ec-registerRole form {
        padding: 15px;
    }

    .ec-input input {
        height: 42px;
    }

    .ec-off3Grid__cell {
        padding: 20px 15px;
    }
} 