/* =========================================================
   SAIRAM HERBALS
   FORGOT PASSWORD PAGE
   Fully Responsive
========================================================= */

:root {
    --fp-green: #174d28;
    --fp-green-dark: #0f3b1e;
    --fp-green-light: #eef7ef;
    --fp-text: #172018;
    --fp-muted: #68746c;
    --fp-border: #dce5de;
    --fp-white: #ffffff;
    --fp-shadow: 0 25px 70px rgba(20, 60, 30, 0.14);
}


/* =========================================================
   PAGE
========================================================= */

.auth-page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #f6faf7;
}


/* =========================================================
   LEFT PANEL
========================================================= */

.auth-left {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 7%;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #0f3b1e 0%,
            #174d28 55%,
            #216638 100%
        );
}


.auth-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255,255,255,0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(255,255,255,0.08),
            transparent 30%
        );
    pointer-events: none;
}


.auth-content {
    position: relative;
    z-index: 3;
    width: min(100%, 570px);
    margin: auto;
    color: #fff;
}


/* =========================================================
   BRAND CHIP
========================================================= */

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}


.brand-chip i {
    font-size: 17px;
}


/* =========================================================
   LEFT HEADING
========================================================= */

.auth-content h1 {
    margin: 24px 0 15px;
    max-width: 560px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -1.8px;
}


.auth-content h1 span {
    display: block;
    margin-top: 8px;
    color: #bce8c5;
}


.auth-content > p {
    max-width: 510px;
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   FEATURES
========================================================= */

.auth-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 22px;
    margin-top: 30px;
}


.feature-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    line-height: 1.4;
}


.feature-item i {
    flex: 0 0 auto;
    color: #aee5ba;
    font-size: 18px;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
    position: relative;
    width: min(100%, 430px);
    margin: 35px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-image img {
    display: block;
    width: 100%;
    max-width: 390px;
    max-height: 240px;
    object-fit: contain;
    filter: drop-shadow(
        0 20px 30px rgba(0,0,0,0.22)
    );
    animation: floatingHerb 5s ease-in-out infinite;
}


@keyframes floatingHerb {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================================
   RIGHT PANEL
========================================================= */

.auth-right {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 7%;
    background: #f8fbf9;
}


.login-card {
    position: relative;
    z-index: 5;
    width: min(100%, 500px);
    padding: 38px 40px 30px;
    border: 1px solid rgba(23,77,40,0.08);
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--fp-shadow);
}


/* =========================================================
   BACK LOGIN
========================================================= */

.back-home {
    margin-bottom: 22px;
}


.back-home a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fp-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s ease;
}


.back-home a:hover {
    color: var(--fp-green);
    transform: translateX(-3px);
}


.back-home i {
    font-size: 18px;
}


/* =========================================================
   BRAND LOGO
========================================================= */

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--fp-green);
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
}


.brand-logo i {
    font-size: 24px;
}


/* =========================================================
   RIGHT HEADING
========================================================= */

.login-card h2 {
    margin: 0 0 9px;
    color: var(--fp-text);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.7px;
}


.login-card > p {
    margin: 0 0 27px;
    color: var(--fp-muted);
    font-size: 13.5px;
    line-height: 1.65;
}


/* =========================================================
   FORM
========================================================= */

#forgotPasswordForm {
    width: 100%;
}


.input-group {
    margin-bottom: 20px;
}


.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--fp-text);
    font-size: 12.5px;
    font-weight: 700;
}


.input-box {
    position: relative;
    width: 100%;
}


.input-box > i {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #8a978e;
    font-size: 19px;
    pointer-events: none;
    transition: 0.25s ease;
}


.input-box input {
    width: 100%;
    height: 52px;
    padding: 0 15px 0 47px;
    border: 1px solid var(--fp-border);
    border-radius: 13px;
    outline: none;
    background: #fbfdfb;
    color: var(--fp-text);
    font-family: inherit;
    font-size: 13.5px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    box-sizing: border-box;
}


.input-box input::placeholder {
    color: #a0aaa3;
}


.input-box input:hover {
    border-color: #bfd2c3;
}


.input-box input:focus {
    border-color: var(--fp-green);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(23,77,40,0.08);
}


.input-box:focus-within > i {
    color: var(--fp-green);
}


.error-text {
    display: block;
    min-height: 16px;
    margin-top: 5px;
    color: #c62828;
    font-size: 11px;
}


/* =========================================================
   SECURITY BOX
========================================================= */

.security-box {
    margin: 4px 0 22px;
    padding: 14px;
    border: 1px solid #d9eadc;
    border-radius: 14px;
    background: var(--fp-green-light);
}


.security-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}


.security-item > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--fp-green);
    font-size: 21px;
}


.security-item h4 {
    margin: 0 0 4px;
    color: var(--fp-green-dark);
    font-size: 13px;
    font-weight: 800;
}


.security-item p {
    margin: 0;
    color: #617066;
    font-size: 11.5px;
    line-height: 1.55;
}


/* =========================================================
   VERIFY BUTTON
========================================================= */

.login-btn {
    position: relative;
    width: 100%;
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 13px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(
        135deg,
        var(--fp-green),
        #236b38
    );
    color: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow:
        0 10px 24px rgba(23,77,40,0.20);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}


.login-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(23,77,40,0.25);
}


.login-btn:active {
    transform: translateY(0);
}


.login-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}


.login-btn i {
    font-size: 19px;
}


/* =========================================================
   DIVIDER
========================================================= */

.divider {
    position: relative;
    margin: 27px 0 19px;
    text-align: center;
}


.divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--fp-border);
}


.divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #fff;
    color: #96a099;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}


/* =========================================================
   LOGIN BOX
========================================================= */

.register-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--fp-muted);
    font-size: 12.5px;
    text-align: center;
}


.register-box a {
    color: var(--fp-green);
    text-decoration: none;
    font-weight: 800;
}


.register-box a:hover {
    text-decoration: underline;
}


/* =========================================================
   TRUST FOOTER
========================================================= */

.trust-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 27px;
    padding-top: 18px;
    border-top: 1px solid var(--fp-border);
}


.trust-footer > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #7c8880;
    font-size: 9px;
    line-height: 1.3;
    text-align: center;
}


.trust-footer i {
    color: var(--fp-green);
    font-size: 18px;
}


/* =========================================================
   DECORATIVE SHAPES
========================================================= */

.shape {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(1px);
}


.shape-1 {
    width: 180px;
    height: 180px;
    right: -75px;
    top: -75px;
    background: rgba(23,77,40,0.055);
}


.shape-2 {
    width: 110px;
    height: 110px;
    left: -45px;
    bottom: 80px;
    background: rgba(23,77,40,0.045);
}


.shape-3 {
    width: 65px;
    height: 65px;
    right: 10%;
    bottom: 15%;
    background: rgba(80,160,100,0.06);
}


.shape-4 {
    width: 45px;
    height: 45px;
    left: 10%;
    top: 12%;
    background: rgba(80,160,100,0.06);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .auth-page {
        grid-template-columns: 0.9fr 1.1fr;
    }


    .auth-left {
        padding: 45px 5%;
    }


    .auth-right {
        padding: 35px 5%;
    }


    .auth-content h1 {
        font-size: clamp(
            32px,
            4vw,
            46px
        );
    }


    .hero-image {
        margin-top: 25px;
    }


    .hero-image img {
        max-width: 310px;
        max-height: 190px;
    }


    .login-card {
        padding: 34px 32px 28px;
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 850px) {

    .auth-page {
        grid-template-columns: 1fr;
        min-height: 100vh;
        overflow: visible;
    }


    .auth-left {
        min-height: auto;
        padding: 45px 24px 35px;
    }


    .auth-content {
        text-align: center;
    }


    .auth-content h1 {
        margin-top: 20px;
        font-size: 38px;
    }


    .auth-content > p {
        margin-left: auto;
        margin-right: auto;
    }


    .auth-features {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }


    .hero-image {
        margin-top: 25px;
    }


    .hero-image img {
        max-width: 260px;
        max-height: 160px;
    }


    .auth-right {
        min-height: auto;
        padding: 35px 24px 50px;
    }


    .login-card {
        width: min(100%, 560px);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .auth-left {
        padding: 32px 18px 25px;
    }


    .brand-chip {
        padding: 8px 12px;
        font-size: 11px;
    }


    .auth-content h1 {
        margin: 18px 0 12px;
        font-size: 31px;
        letter-spacing: -1px;
    }


    .auth-content h1 span {
        margin-top: 5px;
    }


    .auth-content > p {
        font-size: 12.5px;
        line-height: 1.65;
    }


    .auth-features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 22px;
        max-width: 330px;
    }


    .feature-item {
        font-size: 11.5px;
    }


    .hero-image {
        margin-top: 20px;
    }


    .hero-image img {
        max-width: 210px;
        max-height: 125px;
    }


    .auth-right {
        padding: 22px 15px 35px;
    }


    .login-card {
        width: 100%;
        padding: 25px 18px 22px;
        border-radius: 20px;
        box-shadow:
            0 15px 45px rgba(
                20,
                60,
                30,
                0.11
            );
    }


    .back-home {
        margin-bottom: 17px;
    }


    .back-home a {
        font-size: 12px;
    }


    .brand-logo {
        margin-bottom: 15px;
        font-size: 18px;
    }


    .login-card h2 {
        font-size: 26px;
    }


    .login-card > p {
        margin-bottom: 23px;
        font-size: 12px;
    }


    .input-group {
        margin-bottom: 16px;
    }


    .input-box input {
        height: 50px;
        padding-left: 44px;
        font-size: 13px;
    }


    .security-box {
        padding: 12px;
        margin-bottom: 18px;
    }


    .security-item {
        gap: 9px;
    }


    .security-item h4 {
        font-size: 12px;
    }


    .security-item p {
        font-size: 10.5px;
    }


    .login-btn {
        min-height: 51px;
        font-size: 13px;
    }


    .trust-footer {
        gap: 4px;
        margin-top: 23px;
        padding-top: 15px;
    }


    .trust-footer > div {
        font-size: 8px;
    }


    .trust-footer i {
        font-size: 16px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .auth-left {
        padding-left: 14px;
        padding-right: 14px;
    }


    .auth-content h1 {
        font-size: 27px;
    }


    .auth-content > p {
        font-size: 11.5px;
    }


    .hero-image img {
        max-width: 175px;
        max-height: 105px;
    }


    .auth-right {
        padding-left: 10px;
        padding-right: 10px;
    }


    .login-card {
        padding: 22px 15px 20px;
        border-radius: 18px;
    }


    .login-card h2 {
        font-size: 23px;
    }


    .trust-footer > div {
        font-size: 7px;
    }

}


/* =========================================================
   LANDSCAPE MOBILE
========================================================= */

@media (
    max-width: 850px
) and (
    orientation: landscape
) {

    .auth-left {
        padding-top: 25px;
        padding-bottom: 20px;
    }


    .hero-image {
        display: none;
    }


    .auth-features {
        grid-template-columns: repeat(2, 1fr);
    }


    .auth-right {
        padding-top: 25px;
        padding-bottom: 30px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}