/* =========================================================
   LOVE KUSH GROUP - SIGNUP PAGE
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f3f7ff;

    color: #222;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px 15px;
}


/* =========================================================
   WRAPPER
   ========================================================= */

.signup-wrapper {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.signup-card {
    width: 100%;

    max-width: 505px;

    background: #ffffff;

    border-radius: 20px;

    padding: 34px 34px 28px;

    box-shadow:
        0 15px 40px rgba(31, 61, 115, 0.10);

    position: relative;

    overflow: hidden;
}


/* =========================================================
   TOP RIGHT X BUTTON
   ========================================================= */

.top-clear-form {
    position: absolute;

    top: 10px;

    right: 13px;

    margin: 0;

    padding: 0;

    z-index: 50;
}

.top-clear-button {
    width: 34px;

    height: 34px;

    border: none;

    outline: none;

    background: transparent;

    color: #777;

    font-size: 29px;

    line-height: 32px;

    font-weight: 400;

    cursor: pointer;

    padding: 0;

    margin: 0;

    border-radius: 50%;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.top-clear-button:hover {
    color: #e53935;

    background: #fff1f1;

    transform: scale(1.05);
}

.top-clear-button:active {
    transform: scale(0.95);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-area {
    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 15px;

    min-height: 42px;
}

.logo-area img {
    max-width: 180px;

    max-height: 65px;

    width: auto;

    height: auto;

    object-fit: contain;

    display: block;
}


/*
   If logo is not uploaded yet, browser may show
   broken-image text. Once the image is uploaded,
   this area will display normally.
*/


/* =========================================================
   HEADING
   ========================================================= */

.signup-card h2 {
    text-align: center;

    font-size: 27px;

    line-height: 1.25;

    font-weight: 700;

    color: #111827;

    margin-bottom: 8px;
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.subtitle {
    text-align: center;

    font-size: 16px;

    color: #777;

    line-height: 1.5;

    margin-bottom: 27px;
}


/* =========================================================
   FLASH MESSAGE
   ========================================================= */

.message {
    width: 100%;

    padding: 12px 14px;

    border-radius: 9px;

    margin-bottom: 18px;

    font-size: 14px;

    line-height: 1.45;

    text-align: left;

    word-break: break-word;
}

.message.error {
    background: #fff0f0;

    border: 1px solid #ffcaca;

    color: #d62828;
}

.message.success {
    background: #effaf2;

    border: 1px solid #bce8c5;

    color: #218838;
}


/* =========================================================
   FORM GROUP
   ========================================================= */

.form-group {
    width: 100%;

    margin-bottom: 17px;
}


/* =========================================================
   LABEL
   ========================================================= */

.form-group label {
    display: block;

    font-size: 14px;

    font-weight: 600;

    color: #202020;

    margin-bottom: 7px;
}


/* =========================================================
   INPUTS
   ========================================================= */

.form-group input {
    width: 100%;

    height: 50px;

    border: 1px solid #d9dfe8;

    border-radius: 9px;

    background: #ffffff;

    color: #222;

    font-size: 15px;

    padding: 0 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input::placeholder {
    color: #9aa1aa;
}

.form-group input:hover {
    border-color: #bfc7d3;
}

.form-group input:focus {
    border-color: #2864e6;

    box-shadow:
        0 0 0 3px rgba(40, 100, 230, 0.10);

    background: #ffffff;
}


/* =========================================================
   OTP MOBILE DISPLAY
   ========================================================= */

.mobile-display {
    width: 100%;

    background: #f4f7fb;

    border-radius: 10px;

    padding: 14px 15px;

    text-align: center;

    color: #666;

    font-size: 15px;

    line-height: 1.5;

    margin-bottom: 20px;
}

.mobile-display strong {
    display: block;

    color: #111;

    font-size: 17px;

    margin-top: 2px;

    letter-spacing: 0.3px;
}


/* =========================================================
   MAIN BLUE BUTTON
   ========================================================= */

.main-button {
    width: 100%;

    height: 51px;

    border: none;

    border-radius: 9px;

    background: #2864e6;

    color: #ffffff;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    margin-top: 5px;

    transition:
        background 0.2s ease,
        transform 0.1s ease,
        box-shadow 0.2s ease;
}

.main-button:hover {
    background: #1f58d3;

    box-shadow:
        0 5px 14px rgba(40, 100, 230, 0.20);
}

.main-button:active {
    transform: translateY(1px);
}

.main-button:disabled {
    opacity: 0.70;

    cursor: not-allowed;

    box-shadow: none;
}


/* =========================================================
   OTP RESEND AREA
   ========================================================= */

.otp-resend-area {
    width: 100%;

    text-align: center;

    margin-top: 18px;

    margin-bottom: 4px;
}


/* =========================================================
   COUNTDOWN
   ========================================================= */

.otp-countdown {
    color: #666;

    font-size: 15px;

    line-height: 1.5;
}

.otp-countdown span {
    color: #2864e6;

    font-weight: 700;
}


/* =========================================================
   RESET / RESEND BUTTON
   ========================================================= */

.reset-button {
    min-width: 175px;

    height: 42px;

    padding: 0 18px;

    border: 1px solid #2864e6;

    border-radius: 8px;

    background: #ffffff;

    color: #2864e6;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.1s ease;
}

.reset-button:hover {
    background: #2864e6;

    color: #ffffff;
}

.reset-button:active {
    transform: translateY(1px);
}

.reset-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;
}


/* =========================================================
   OTP NOTE
   ========================================================= */

.otp-note {
    text-align: center;

    color: #999;

    font-size: 13px;

    margin-top: 13px;

    line-height: 1.5;
}


/* =========================================================
   BOTTOM LOGIN LINK
   ========================================================= */

.bottom-links {
    width: 100%;

    text-align: center;

    color: #666;

    font-size: 15px;

    line-height: 1.6;

    margin-top: 23px;
}

.bottom-links a {
    color: #1769e8;

    text-decoration: none;

    font-weight: 700;

    margin-left: 4px;
}

.bottom-links a:hover {
    text-decoration: underline;
}


/* =========================================================
   BACK TO HOME
   ========================================================= */

.home-link {
    display: block;

    width: 100%;

    text-align: center;

    color: #444;

    text-decoration: none;

    font-size: 15px;

    margin-top: 14px;

    line-height: 1.5;
}

.home-link:hover {
    color: #1769e8;

    text-decoration: underline;
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.copyright {
    width: 100%;

    text-align: center;

    color: #999;

    font-size: 12px;

    line-height: 1.5;

    margin-top: 25px;

    padding-top: 2px;
}


/* =========================================================
   SUCCESS PAGE
   ========================================================= */

.success-card {
    text-align: center;
}

.success-card .logo-area {
    margin-bottom: 18px;
}

.success-icon {
    width: 62px;

    height: 62px;

    border-radius: 50%;

    background: #eaf8ee;

    color: #22a447;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 34px;

    font-weight: 700;

    margin: 10px auto 18px;
}

.success-message {
    color: #666;

    font-size: 15px;

    line-height: 1.6;

    margin-top: 8px;

    margin-bottom: 20px;
}

.success-details {
    width: 100%;

    background: #f4f7fb;

    border-radius: 10px;

    padding: 15px;

    margin-bottom: 18px;
}

.success-details span {
    display: block;

    color: #777;

    font-size: 13px;

    margin-bottom: 5px;
}

.success-details strong {
    display: block;

    color: #111;

    font-size: 17px;
}

.save-message {
    color: #666;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 20px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body {
        padding: 18px 12px;

        align-items: flex-start;
    }

    .signup-wrapper {
        margin-top: 15px;

        margin-bottom: 15px;
    }

    .signup-card {
        max-width: 100%;

        border-radius: 16px;

        padding:
            30px 20px 24px;
    }

    .top-clear-form {
        top: 8px;

        right: 9px;
    }

    .top-clear-button {
        width: 32px;

        height: 32px;

        font-size: 27px;
    }

    .logo-area {
        margin-bottom: 13px;
    }

    .logo-area img {
        max-width: 160px;

        max-height: 58px;
    }

    .signup-card h2 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 15px;

        margin-bottom: 23px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input {
        height: 49px;

        font-size: 15px;
    }

    .main-button {
        height: 50px;

        font-size: 16px;
    }

    .mobile-display {
        font-size: 14px;
    }

    .mobile-display strong {
        font-size: 16px;
    }

    .bottom-links {
        font-size: 14px;

        margin-top: 21px;
    }

    .home-link {
        font-size: 14px;
    }

    .copyright {
        font-size: 11px;

        margin-top: 22px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .signup-card {
        padding-left: 16px;

        padding-right: 16px;
    }

    .signup-card h2 {
        font-size: 22px;
    }

    .form-group input {
        height: 47px;

        padding-left: 12px;

        padding-right: 12px;
    }
}