/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f5f8;
    color: #101828;
}

a {
    text-decoration: none;
}


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

.signup-page {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 42% 58%;
}


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

.signup-left {
    position: relative;

    background: #0c182b;
    color: white;

    min-height: 100vh;

    padding: 42px 9%;

    display: flex;
    flex-direction: column;
}


/* Logo */

.signup-logo {
    display: flex;
    align-items: center;
    gap: 8px;

    color: white;

    font-size: 14px;
    font-weight: 700;
}

.logo-icon {
    font-size: 23px;
}


/* Left content */

.left-content {
    margin-top: 75px;
}

.left-content h1 {
    max-width: 430px;

    font-size: clamp(32px, 3.2vw, 48px);

    line-height: 1.08;

    letter-spacing: -1px;
}

.left-content h1 span {
    display: block;
    color: #18b7aa;
}

.left-description {
    max-width: 410px;

    margin-top: 20px;

    color: #aeb8c8;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================
   BENEFITS
========================= */

.benefits {
    margin-top: 30px;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.benefit {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    max-width: 400px;
}

.benefit-icon {
    width: 27px;
    height: 27px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #063f48;

    color: #16c5b8;

    font-size: 12px;
}

.benefit h3 {
    font-size: 8px;

    letter-spacing: 0.4px;

    margin-bottom: 4px;
}

.benefit p {
    color: #8995a8;

    font-size: 9px;

    line-height: 1.5;
}


/* =========================
   LEFT ILLUSTRATION
========================= */

.signup-illustration {
    width: 100%;

    max-width: 420px;

    height: 230px;

    margin-top: 35px;

    border: 1px solid #263650;

    border-radius: 8px;

    overflow: hidden;

    background: #111e34;
}

.signup-illustration img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;
}


/* Left footer */

.left-footer {
    margin-top: auto;

    color: #68758a;

    font-size: 8px;
}


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

.signup-right {
    min-height: 100vh;

    background: #f7f8fa;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px 8%;
}

.signup-container {
    width: 100%;
    max-width: 520px;
}


/* Heading */

.signup-heading h2 {
    font-size: 25px;

    color: #101828;
}

.signup-heading p {
    margin-top: 7px;

    color: #8a929f;

    font-size: 9px;
}


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

#signupForm {
    margin-top: 30px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #344054;

    font-size: 8px;

    font-weight: 700;
}

.form-group input {
    width: 100%;

    height: 42px;

    padding: 0 12px;

    border: 1px solid #d9dde5;

    border-radius: 5px;

    background: #ffffff;

    color: #101828;

    font-size: 10px;

    outline: none;

    transition: 0.2s;
}

.form-group input:focus {
    border-color: #12aaa0;

    box-shadow: 0 0 0 2px rgba(18, 170, 160, 0.08);
}

.form-group input::placeholder {
    color: #a5acb7;
}


/* Password */

.password-label {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.password-label label {
    margin-bottom: 7px;
}

.password-label span {
    color: #00a99d;

    font-size: 7px;

    font-weight: 700;
}

.form-group small {
    display: block;

    margin-top: 5px;

    color: #9aa1ac;

    font-size: 7px;
}


/* =========================
   TERMS
========================= */

.terms {
    display: flex;

    align-items: flex-start;

    gap: 7px;

    margin: 10px 0 18px;
}

.terms input {
    margin-top: 2px;

    width: 12px;
    height: 12px;
}

.terms label {
    color: #7b8491;

    font-size: 8px;

    line-height: 1.5;
}

.terms a {
    color: #00a99d;

    font-weight: 600;
}


/* =========================
   CREATE ACCOUNT BUTTON
========================= */

.create-account-btn {
    width: 100%;

    height: 43px;

    border: none;

    border-radius: 5px;

    background: #0c162a;

    color: white;

    font-size: 10px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    transition: 0.2s;
}

.create-account-btn:hover {
    background: #17243b;
}

.create-account-btn:disabled {
    opacity: 0.6;

    cursor: not-allowed;
}


/* Signup message */

.signup-message {
    min-height: 15px;

    margin-top: 8px;

    text-align: center;

    font-size: 9px;
}


/* =========================
   LOGIN LINK
========================= */

.login-link {
    margin-top: 25px;

    text-align: center;

    color: #858d99;

    font-size: 9px;
}

.login-link a {
    color: #00a99d;

    font-weight: 700;
}


/* =========================
   FOOTER LINKS
========================= */

.signup-footer {
    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 25px;

    color: #a0a7b1;

    font-size: 7px;

    font-weight: 600;
}


/* =========================
   OTP OVERLAY
========================= */

.otp-overlay {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(5, 12, 25, 0.65);

    backdrop-filter: blur(4px);
}


/* =========================
   OTP MODAL
========================= */

.otp-modal {
    position: relative;

    width: 100%;

    max-width: 360px;

    padding: 35px 30px;

    background: white;

    border-radius: 10px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25);

    text-align: center;
}


/* Close */

.close-otp {
    position: absolute;

    top: 12px;
    right: 15px;

    width: 25px;
    height: 25px;

    border: none;

    background: transparent;

    color: #8b93a0;

    font-size: 20px;

    cursor: pointer;
}


/* OTP logo */

.otp-logo {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    margin-bottom: 20px;

    color: #101828;

    font-size: 11px;
}

.otp-logo span {
    width: 27px;
    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #0c162a;

    color: white;

    font-size: 16px;
}


/* OTP heading */

.otp-modal h2 {
    font-size: 20px;

    color: #101828;
}

.otp-description {
    margin-top: 7px;

    color: #8a929f;

    font-size: 9px;
}


/* =========================
   OTP INPUTS
========================= */

.otp-inputs {
    display: flex;

    justify-content: center;

    gap: 7px;

    margin-top: 25px;
}

.otp-input {
    width: 38px;
    height: 42px;

    border: 1px solid #d7dce3;

    border-radius: 5px;

    text-align: center;

    font-size: 16px;

    font-weight: 600;

    outline: none;
}

.otp-input:focus {
    border-color: #00a99d;

    box-shadow:
        0 0 0 2px rgba(0, 169, 157, 0.1);
}


/* =========================
   RESEND
========================= */

.otp-resend {
    margin-top: 18px;

    color: #9299a4;

    font-size: 8px;
}

.otp-resend button {
    border: none;

    background: transparent;

    color: #00a99d;

    font-size: 8px;

    font-weight: 700;

    cursor: pointer;
}


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

.verify-otp-btn {
    width: 100%;

    height: 40px;

    margin-top: 20px;

    border: none;

    border-radius: 5px;

    background: #0c162a;

    color: white;

    font-size: 9px;

    font-weight: 700;

    cursor: pointer;
}

.verify-otp-btn:hover {
    background: #17243b;
}

.otp-message {
    min-height: 15px;

    margin-top: 10px;

    font-size: 9px;
}


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

@media (max-width: 900px) {

    .signup-page {
        grid-template-columns: 1fr;
    }

    .signup-left {
        min-height: auto;

        padding: 35px 8%;
    }

    .left-content {
        margin-top: 45px;
    }

    .signup-illustration {
        max-width: 500px;
    }

    .left-footer {
        margin-top: 30px;
    }

    .signup-right {
        min-height: auto;

        padding: 60px 8%;
    }

}


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

@media (max-width: 600px) {

    .signup-left {
        padding: 25px 22px;
    }

    .left-content {
        margin-top: 40px;
    }

    .left-content h1 {
        font-size: 32px;
    }

    .left-description {
        font-size: 11px;
    }

    .benefits {
        gap: 15px;
    }

    .signup-illustration {
        height: 190px;
    }


    .signup-right {
        padding: 45px 22px;
    }

    .signup-heading h2 {
        font-size: 23px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .otp-modal {
        max-width: 340px;

        padding: 30px 20px;
    }

    .otp-inputs {
        gap: 5px;
    }

    .otp-input {
        width: 38px;
        height: 42px;
    }

}


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

@media (max-width: 380px) {

    .otp-input {
        width: 34px;
        height: 40px;
    }

    .otp-inputs {
        gap: 4px;
    }

    .signup-footer {
        gap: 10px;
    }

}