/* =========================================================
   SAMPoorna SANKAT MOCHAN FOUNDATION
   MEMBER LOGIN
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f9fc;
    color: #14213d;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 40px 24px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(23, 73, 168, 0.035),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(7, 148, 71, 0.035),
            transparent 30%
        ),
        #f6f9fc;
}


/* =========================================================
   MAIN CARD
========================================================= */

.login-container {
    width: min(1080px, 100%);

    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 620px;

    margin: 0 auto;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(20, 33, 61, 0.07);

    border-radius: 24px;

    box-shadow:
        0 25px 70px rgba(20, 33, 61, 0.10);
}


/* =========================================================
   LEFT PANEL
========================================================= */

.login-intro {
    position: relative;

    min-width: 0;

    padding: 50px 48px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #edf4ff 0%,
            #f5faff 55%,
            #edf9f3 100%
        );

    border-right:
        1px solid rgba(20, 33, 61, 0.06);
}


/* =========================================================
   LEFT DECORATIVE CIRCLE
========================================================= */

.login-intro::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -155px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(23, 73, 168, 0.07);

    pointer-events: none;
}


.login-intro::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    bottom: -135px;
    left: -105px;

    border-radius: 50%;

    background:
        rgba(7, 148, 71, 0.07);

    pointer-events: none;
}


/* =========================================================
   LOGO
========================================================= */

.login-logo {
    position: relative;
    z-index: 2;

    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 40px;

    background: #ffffff;

    border:
        1px solid rgba(20, 33, 61, 0.07);

    border-radius: 17px;

    box-shadow:
        0 12px 30px rgba(20, 33, 61, 0.07);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.login-logo:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 35px rgba(20, 33, 61, 0.10);
}


.login-logo img {
    width: 56px;
    height: 56px;

    object-fit: contain;
}


/* =========================================================
   INTRO CONTENT
========================================================= */

.intro-content {
    position: relative;
    z-index: 2;

    max-width: 500px;
}


/* =========================================================
   EYEBROW
========================================================= */

.intro-eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    padding: 8px 14px;

    margin-bottom: 20px;

    border:
        1px solid rgba(23, 73, 168, 0.13);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.75);

    color: #1749a8;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.eyebrow-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #079447;

    box-shadow:
        0 0 0 4px rgba(7, 148, 71, 0.08);
}


/* =========================================================
   INTRO HEADING
========================================================= */

.intro-content h1 {
    max-width: 510px;

    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 58px;

    line-height: 1.02;

    font-weight: 500;

    letter-spacing: -0.045em;

    color: #14213d;
}


.intro-content h1 span {
    color: #079447;
}


/* =========================================================
   INTRO DESCRIPTION
========================================================= */

.intro-content > p {
    max-width: 475px;

    margin-top: 24px;

    color: #687487;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   MEMBER BENEFITS
========================================================= */

.member-benefits {
    position: relative;
    z-index: 2;

    margin-top: 38px;

    display: flex;
    flex-direction: column;

    gap: 20px;
}


.benefit-item {
    display: flex;

    align-items: center;

    gap: 14px;
}


.benefit-icon {
    width: 45px;
    height: 45px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.88);

    border:
        1px solid rgba(23, 73, 168, 0.08);

    color: #1749a8;

    font-size: 16px;
}


.benefit-content h3 {
    margin: 0 0 3px;

    color: #14213d;

    font-size: 16px;

    font-weight: 700;
}


.benefit-content p {
    margin: 0;

    color: #7a8594;

    font-size: 16px;

    line-height: 1.45;
}


/* =========================================================
   RIGHT LOGIN CARD
========================================================= */

.login-card {
    min-width: 0;

    padding: 52px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    background: #ffffff;
}


/* =========================================================
   LOGIN HEADER
========================================================= */

.login-card-header {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 32px;
}


.login-card-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        rgba(23, 73, 168, 0.07);

    color: #1749a8;

    font-size: 18px;
}


.login-label {
    display: block;

    margin-bottom: 4px;

    color: #079447;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 0.08em;
}


.login-card-header h2 {
    margin: 0;

    color: #14213d;

    font-size: 24px;

    font-weight: 700;

    line-height: 1.25;
}


/* =========================================================
   FORM
========================================================= */

.login-form {
    width: 100%;
}


.form-group {
    width: 100%;

    margin-bottom: 22px;
}


/* =========================================================
   LABEL
========================================================= */

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #263653;

    font-size: 16px;

    font-weight: 600;
}


/* =========================================================
   PASSWORD LABEL
========================================================= */

.password-label-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 8px;
}


.password-label-row label {
    margin-bottom: 0;
}


.password-label-row a {
    flex: 0 0 auto;

    color: #1749a8;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.password-label-row a:hover {
    color: #079447;
}


/* =========================================================
   INPUT BOX
========================================================= */

.input-box {
    position: relative;

    width: 100%;
}


/* =========================================================
   INPUT ICON
========================================================= */

.input-icon {
    position: absolute;

    left: 16px;
    top: 50%;

    transform:
        translateY(-50%);

    color: #8993a2;

    font-size: 16px;

    pointer-events: none;

    transition:
        color 0.2s ease;
}


.input-box:focus-within .input-icon {
    color: #1749a8;
}


/* =========================================================
   INPUT
========================================================= */

.input-box input {
    width: 100%;

    height: 52px;

    padding:
        0 48px 0 46px;

    border:
        1px solid #d9e0e8;

    border-radius: 10px;

    background: #fbfcfe;

    color: #14213d;

    font-family: inherit;

    font-size: 16px;

    line-height: 1.5;

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.input-box input::placeholder {
    color: #9ba5b2;

    font-size: 16px;
}


.input-box input:focus {
    border-color: #1749a8;

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(23, 73, 168, 0.07);
}


/* =========================================================
   INPUT HELP
========================================================= */

.input-help {
    display: block;

    margin-top: 7px;

    color: #8993a2;

    font-size: 16px;

    line-height: 1.45;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.login-options {
    margin-top: 2px;

    margin-bottom: 23px;
}


.remember-option {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    cursor: pointer;

    color: #667386;

    font-size: 16px;
}


.remember-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.custom-checkbox {
    position: relative;

    width: 19px;
    height: 19px;

    flex: 0 0 auto;

    border:
        1px solid #cbd4df;

    border-radius: 4px;

    background: #ffffff;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.remember-option input:checked
+ .custom-checkbox {
    background: #079447;

    border-color: #079447;
}


.remember-option input:checked
+ .custom-checkbox::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 6px;
    height: 10px;

    border:
        solid #ffffff;

    border-width:
        0 2px 2px 0;

    transform:
        rotate(45deg);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    width: 100%;

    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border: none;

    border-radius: 10px;

    background: #1749a8;

    color: #ffffff;

    font-family: inherit;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.login-button i {
    font-size: 16px;

    transition:
        transform 0.25s ease;
}


.login-button:hover {
    background: #079447;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 24px
        rgba(7, 148, 71, 0.16);
}


.login-button:hover i {
    transform:
        translateX(4px);
}


/* =========================================================
   REGISTER
========================================================= */

.register-section {
    margin-top: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    color: #7a8594;

    font-size: 16px;

    text-align: center;
}


.register-section a {
    color: #1749a8;

    font-size: 16px;

    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.register-section a:hover {
    color: #079447;
}


/* =========================================================
   SECURITY MESSAGE
========================================================= */

.security-message {
    margin-top: 25px;

    padding:
        15px 16px;

    display: flex;

    align-items: flex-start;

    gap: 11px;

    border:
        1px solid rgba(7, 148, 71, 0.12);

    border-radius: 11px;

    background:
        rgba(7, 148, 71, 0.035);
}


.security-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(7, 148, 71, 0.09);

    color: #079447;

    font-size: 13px;
}


.security-message strong {
    display: block;

    margin-bottom: 3px;

    color: #42516a;

    font-size: 16px;

    font-weight: 700;
}


.security-message p {
    margin: 0;

    color: #8b96a5;

    font-size: 16px;

    line-height: 1.45;
}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {
    width: 100%;

    margin-top: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    color: #8b96a5;

    font-size: 16px;

    text-align: center;
}


.login-footer a {
    color: #1749a8;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none;
}


.login-footer a:hover {
    color: #079447;
}


.footer-separator {
    color: #079447;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .login-page {
        padding: 35px 20px;
    }


    .login-container {
        width: min(900px, 100%);

        min-height: 590px;

        grid-template-columns:
            46% 54%;
    }


    .login-intro {
        padding: 40px 35px;
    }


    .login-card {
        padding: 40px;
    }


    .intro-content h1 {
        font-size: 48px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .login-page {
        min-height: 100vh;

        padding: 25px 15px 30px;

        justify-content: flex-start;
    }


    .login-container {
        width: 100%;

        min-height: auto;

        display: flex;

        flex-direction: column;

        border-radius: 20px;

        box-shadow:
            0 20px 50px
            rgba(20, 33, 61, 0.08);
    }


    /* ================================================
       TOP BRAND PANEL
    ================================================ */

    .login-intro {
        min-height: 350px;

        padding: 32px 27px;

        border-right: none;

        border-bottom:
            1px solid rgba(20, 33, 61, 0.06);
    }


    .login-logo {
        width: 64px;
        height: 64px;

        margin-bottom: 25px;

        border-radius: 15px;
    }


    .login-logo img {
        width: 50px;
        height: 50px;
    }


    .intro-content {
        max-width: 100%;
    }


    .intro-eyebrow {
        margin-bottom: 17px;

        font-size: 16px;
    }


    .intro-content h1 {
        max-width: 600px;

        font-size: 42px;

        line-height: 1.02;
    }


    .intro-content > p {
        max-width: 600px;

        margin-top: 17px;

        font-size: 16px;

        line-height: 1.6;
    }


    .member-benefits {
        display: none;
    }


    /* ================================================
       LOGIN PANEL
    ================================================ */

    .login-card {
        width: 100%;

        padding: 32px 27px;

        justify-content: flex-start;
    }


    .login-card-header {
        margin-bottom: 28px;
    }


    .login-card-header h2 {
        font-size: 22px;
    }


    .login-label {
        font-size: 16px;
    }


    .form-group label {
        font-size: 16px;
    }


    .password-label-row a {
        font-size: 16px;
    }


    .input-box input {
        height: 52px;

        font-size: 16px;
    }


    .input-box input::placeholder {
        font-size: 16px;
    }


    .input-help {
        font-size: 16px;
    }


    .remember-option {
        font-size: 16px;
    }


    .login-button {
        height: 52px;

        font-size: 16px;
    }


    .register-section {
        font-size: 16px;
    }


    .register-section a {
        font-size: 16px;
    }


    .security-message strong {
        font-size: 16px;
    }


    .security-message p {
        font-size: 16px;
    }


    .login-footer {
        margin-top: 22px;

        font-size: 16px;
    }


    .login-footer a {
        font-size: 16px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .login-page {
        padding:
            15px 10px 25px;
    }


    .login-container {
        border-radius: 17px;
    }


    .login-intro {
        min-height: 320px;

        padding: 27px 20px;
    }


    .login-logo {
        width: 58px;
        height: 58px;

        margin-bottom: 22px;

        border-radius: 14px;
    }


    .login-logo img {
        width: 45px;
        height: 45px;
    }


    .intro-eyebrow {
        padding:
            7px 12px;

        margin-bottom: 15px;

        font-size: 16px;

        letter-spacing: 0.05em;
    }


    .intro-content h1 {
        font-size: 37px;

        line-height: 1.03;
    }


    .intro-content > p {
        margin-top: 14px;

        font-size: 16px;

        line-height: 1.55;
    }


    .login-card {
        padding:
            28px 20px;
    }


    .login-card-header {
        gap: 11px;

        margin-bottom: 25px;
    }


    .login-card-icon {
        width: 45px;
        height: 45px;

        border-radius: 11px;

        font-size: 16px;
    }


    .login-label {
        font-size: 16px;
    }


    .login-card-header h2 {
        font-size: 20px;
    }


    .form-group {
        margin-bottom: 20px;
    }


    .password-label-row {
        gap: 8px;
    }


    .password-label-row a {
        font-size: 16px;
    }


    .input-box input {
        height: 50px;

        padding:
            0 45px 0 44px;

        font-size: 16px;
    }


    .input-box input::placeholder {
        font-size: 16px;
    }


    .input-help {
        font-size: 16px;

        line-height: 1.4;
    }


    .login-options {
        margin-bottom: 21px;
    }


    .remember-option {
        font-size: 16px;
    }


    .login-button {
        height: 50px;

        font-size: 16px;
    }


    .register-section {
        margin-top: 20px;

        font-size: 16px;

        line-height: 1.5;
    }


    .register-section a {
        font-size: 16px;
    }


    .security-message {
        margin-top: 22px;

        padding:
            14px;
    }


    .security-message strong {
        font-size: 16px;
    }


    .security-message p {
        font-size: 16px;
    }


    .login-footer {
        flex-wrap: wrap;

        gap: 7px;

        margin-top: 20px;

        font-size: 16px;
    }


    .login-footer a {
        font-size: 16px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .login-page {
        padding:
            10px 8px 20px;
    }


    .login-intro {
        padding:
            24px 17px;
    }


    .intro-content h1 {
        font-size: 34px;
    }


    .login-card {
        padding:
            25px 17px;
    }


    .login-card-header h2 {
        font-size: 19px;
    }


    .password-label-row a {
        font-size: 16px;
    }


    .input-help {
        font-size: 16px;
    }

}