/* =========================================
   MINDORA AUTHENTICATION
========================================= */

* {
    box-sizing: border-box;
    font-family: "Vazirmatn", sans-serif;
}


html,
body {
    margin: 0;
    padding: 0;
}


body {
    background: #effbf3;
}


/* =========================================
   MAIN
========================================= */

.mindora-auth {

    min-height: 100vh;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    background:
        radial-gradient(circle at 15% 20%,
            rgba(61, 191, 110, .12),
            transparent 28%),
        radial-gradient(circle at 85% 80%,
            rgba(116, 84, 211, .08),
            transparent 28%),
        linear-gradient(135deg,
            #f8fffa,
            #edfff3);
}


/* =========================================
   BACKGROUND
========================================= */

.auth-background {

    position: absolute;

    inset: 0;

    overflow: hidden;

    pointer-events: none;
}


.auth-orb {

    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    opacity: .5;
}


.orb-1 {

    width: 550px;
    height: 550px;

    right: -270px;
    top: -230px;

    background:
        radial-gradient(circle,
            rgba(84, 207, 128, .25),
            transparent 70%);
}


.orb-2 {

    width: 500px;
    height: 500px;

    left: -260px;
    bottom: -250px;

    background:
        radial-gradient(circle,
            rgba(137, 100, 224, .12),
            transparent 70%);
}


.auth-star {

    position: absolute;

    color: #42b96f;

    opacity: .25;

    animation:
        starFloat 6s ease-in-out infinite;
}


.star-1 {

    top: 13%;
    right: 7%;

    font-size: 18px;
}


.star-2 {

    top: 65%;
    right: 4%;

    font-size: 16px;

    animation-delay: 1s;
}


.star-3 {

    left: 8%;
    top: 20%;

    font-size: 14px;

    animation-delay: 2s;
}


.star-4 {

    left: 13%;
    bottom: 17%;

    font-size: 19px;

    animation-delay: 3s;
}


@keyframes starFloat {

    0%,
    100% {

        transform:
            translateY(0) rotate(0);

    }

    50% {

        transform:
            translateY(-14px) rotate(25deg);

    }
}


/* =========================================
   LOGO
========================================= */

.auth-logo {

    position: relative;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 9px;

    width: max-content;

    margin:
        25px 45px 0;

    color: #155b34;

    text-decoration: none;

    font-size: 21px;

    font-weight: 900;
}


.logo-symbol {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(145deg,
            #25a95e,
            #72d99b);

    color: white;

    font-size: 17px;

    box-shadow:
        0 10px 25px rgba(38, 169, 94, .2);
}


/* =========================================
   WRAPPER
========================================= */

.auth-wrapper {

    position: relative;

    z-index: 2;

    width:
        min(1050px,
            calc(100% - 50px));

    margin:
        auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 430px;

    align-items: center;

    gap: 75px;

    flex: 1;

    padding:
        35px 0 45px;
}


/* =========================================
   INTRO
========================================= */

.auth-intro {

    min-height: 500px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    position: relative;
}


.intro-decoration {

    width: 270px;
    height: 230px;

    position: relative;

    margin-bottom: 10px;
}


.mind-core {

    position: absolute;

    width: 105px;
    height: 105px;

    left: 85px;
    top: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(145deg,
            #15904a,
            #67d994);

    color: white;

    font-size: 32px;

    box-shadow:
        0 0 0 15px rgba(50, 183, 103, .07),

        0 0 0 35px rgba(50, 183, 103, .04),

        0 25px 50px rgba(31, 146, 75, .22);
}


.core-glow {

    position: absolute;

    inset: 10px;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, .35);
}


.mind-orbit {

    position: absolute;

    border:
        1px dashed rgba(42, 166, 91, .25);

    border-radius: 50%;
}


.orbit-one {

    width: 200px;
    height: 200px;

    left: 38px;
    top: 12px;

    transform: rotate(25deg);
}


.orbit-two {

    width: 240px;
    height: 135px;

    left: 17px;
    top: 43px;

    transform:
        rotate(-30deg);
}


.floating-symbol {

    position: absolute;

    color: #2eab63;

    font-size: 18px;

    animation:
        symbolFloat 5s ease-in-out infinite;
}


.symbol-1 {

    left: 15px;
    top: 60px;
}


.symbol-2 {

    right: 10px;
    top: 30px;

    animation-delay: 1s;
}


.symbol-3 {

    right: 20px;
    bottom: 25px;

    animation-delay: 2s;
}


@keyframes symbolFloat {

    0%,
    100% {

        transform:
            translateY(0) rotate(0);

    }

    50% {

        transform:
            translateY(-12px) rotate(20deg);

    }
}


/* =========================================
   INTRO CONTENT
========================================= */

.intro-content {

    max-width: 520px;
}


.intro-label {

    color: #39a865;

    font-size: 14px;

    font-weight: 900;

    letter-spacing: 2px;
}


.intro-content h1 {

    margin:
        10px 0 15px;

    color: #183f29;

    font-size: 34px;

    line-height: 1.6;

    font-weight: 900;
}


.intro-content h1 span {

    color: #28a45c;

    position: relative;
}


.intro-content p {

    color: #71847a;

    font-size: 15px;

    line-height: 2.3;

    max-width: 500px;
}


/* =========================================
   FEATURES
========================================= */

.intro-features {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 22px;
}


.intro-features>div {

    display: flex;

    align-items: center;

    gap: 7px;

    padding:
        8px 10px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, .72);

    border:
        1px solid #dfeee5;

    color: #668074;

    font-size: 13px;
}


.feature-icon {

    width: 25px;
    height: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #e8f9ee;

    color: #2ba65e;
}


/* =========================================
   REGISTER BENEFITS
========================================= */

.register-benefits {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 11px;

    margin-top: 22px;
}


.register-benefits div {

    color: #60776a;

    font-size: 14px;
}


.register-benefits i {

    color: #30ad63;

    margin-left: 5px;
}


/* =========================================
   AUTH CARD
========================================= */

.auth-card {

    width: 100%;

    padding: 31px;

    border-radius: 28px;

    background:
        rgba(255, 255, 255, .94);

    border:
        1px solid #dcece3;

    box-shadow:
        0 30px 80px rgba(31, 100, 58, .11);

    backdrop-filter: blur(15px);
}


.auth-card-header {

    display: flex;

    align-items: center;

    gap: 12px;
}


.auth-small-icon {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #e9f9ef;

    color: #279f58;

    font-size: 18px;
}


.auth-card-header span {

    display: block;

    color: #9ba8a0;

    font-size: 13px;
}


.auth-card-header h2 {

    margin: 4px 0 0;

    color: #294b38;

    font-size: 19px;

    font-weight: 900;
}


.auth-description {

    color: #87958d;

    font-size: 14px;

    line-height: 2;

    margin:
        17px 0 23px;
}


/* =========================================
   FORM
========================================= */

.auth-field {

    margin-bottom: 16px;
}


.auth-field label {

    display: block;

    color: #536a5d;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 7px;
}


.auth-input {

    height: 46px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        0 12px;

    border:
        1px solid #e0ebe4;

    border-radius: 12px;

    background: #fbfdfb;

    transition: .2s;
}


.auth-input:focus-within {

    border-color: #43b873;

    background: white;

    box-shadow:
        0 0 0 3px rgba(50, 183, 103, .08);
}


.auth-input>i {

    color: #55aa75;

    font-size: 14px;
}


.auth-input input {

    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #435b4d;

    font-size: 15px;
}


.auth-input input::placeholder {

    color: #b0bab4;
}


.auth-field>span {

    display: block;

    color: #d45959;

    font-size: 12px;

    margin-top: 5px;
}


/* =========================================
   PASSWORD
========================================= */

.field-label-row {

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.field-label-row a {

    color: #38a566;

    font-size: 12px;

    text-decoration: none;
}


.password-toggle {

    border: none;

    background: none;

    color: #94a39a;

    cursor: pointer;

    font-size: 17px;
}


/* =========================================
   TWO INPUTS
========================================= */

.two-inputs {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}


/* =========================================
   REMEMBER
========================================= */

.remember-row,
.terms-row {

    display: flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    color: #718279;

    font-size: 13px;
}


.remember-row input,
.terms-row input {

    display: none;
}


.remember-check {

    width: 18px;
    height: 18px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid #cfddd4;

    border-radius: 6px;

    background: white;

    color: transparent;

    font-size: 10px;
}


.remember-row input:checked+.remember-check,
.terms-row input:checked+.remember-check {

    background: #2aaa60;

    border-color: #2aaa60;

    color: white;
}


.terms-row {

    align-items: flex-start;

    line-height: 1.9;

    margin:
        7px 0 15px;
}


.terms-row a {

    color: #299d58;

    text-decoration: none;
}


/* =========================================
   SUBMIT
========================================= */

.auth-submit {

    width: 100%;

    height: 49px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 15px;

    border: none;

    border-radius: 13px;

    background:
        linear-gradient(135deg,
            #188d4b,
            #39bc70);

    color: white;

    font-size: 10px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 28px rgba(30, 155, 78, .2);

    transition: .25s;

    margin-top: 20px;
}


.auth-submit:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 16px 34px rgba(30, 155, 78, .27);
}


.auth-submit i {

    font-size: 14px;
}


/* =========================================
   DIVIDER
========================================= */

.auth-divider {

    display: flex;

    align-items: center;

    gap: 12px;

    margin:
        18px 0;
}


.auth-divider::before,
.auth-divider::after {

    content: "";

    height: 1px;

    flex: 1;

    background: #e7eee9;
}


.auth-divider span {

    color: #a5afa9;

    font-size: 13px;
}


/* =========================================
   SOCIAL
========================================= */
.social-login {
    border-radius: 11px;
    text-align: center;
    background: white;
}

.bi-google {
    border: 1px solid #a5afa9;
    padding: 10px;
    padding-inline: 15px;
    border-radius: 50px;
}

.social-login button {

    height: 43px;

    border:
        1px solid #e0e9e4;

    border-radius: 11px;

    background: white;

    color: #63766a;

    font-size: 14px;

    cursor: pointer;

    transition: .2s;
}


.social-login button:hover {

    background: #f7fcf8;

    border-color: #bfdcca;
}


.social-login i {

    margin-left: 7px;

    color: #4caa72;
}


/* =========================================
   BOTTOM
========================================= */

.auth-bottom {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    margin-top: 21px;

    padding-top: 18px;

    border-top:
        1px solid #edf2ee;

    color: #929d96;

    font-size: 13px;
}


.auth-bottom a {

    color: #269c56;

    font-weight: 800;

    text-decoration: none;
}


.auth-bottom a i {

    margin-right: 3px;
}


/* =========================================
   VALIDATION
========================================= */

.auth-validation {

    color: #d25555;

    background: #fff4f4;

    border-radius: 9px;

    padding: 8px;

    font-size: 13px;

    margin-bottom: 13px;
}


/* =========================================
   FOOTER
========================================= */

.auth-footer {

    position: relative;

    z-index: 3;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    padding-bottom: 20px;

    color: #99a69f;

    font-size: 12px;
}


.footer-dot {

    color: #47ae6c;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 900px) {

    .auth-wrapper {

        grid-template-columns: 1fr;

        max-width: 500px;

        gap: 15px;

        padding-top: 15px;
    }


    .auth-intro {

        min-height: auto;

        text-align: center;

        align-items: center;
    }


    .intro-decoration {

        transform: scale(.75);

        margin-bottom: -30px;
    }


    .intro-content h1 {

        font-size: 27px;
    }


    .intro-content p {

        margin-left: auto;
        margin-right: auto;
    }


    .intro-features {

        justify-content: center;
    }


    .register-benefits {

        text-align: right;
    }

}


@media(max-width: 550px) {

    .auth-logo {

        margin:
            18px 20px 0;

        font-size: 18px;
    }


    .auth-wrapper {

        width:
            calc(100% - 24px);

        padding:
            20px 0 30px;
    }


    .auth-card {

        padding: 22px;

        border-radius: 22px;
    }


    .intro-content h1 {

        font-size: 23px;
    }


    .intro-content p {

        font-size: 14px;
    }


    .intro-features {

        display: none;
    }


    .two-inputs {

        grid-template-columns: 1fr;
    }


    .register-benefits {

        grid-template-columns: 1fr;
    }

}