* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}

body {
    background: #ffffff;
    color: #111111;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 18px;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(96, 210, 225, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(178, 232, 207, 0.18),
            transparent 30%
        ),
        #ffffff;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    padding: 28px 25px 24px;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 55px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
    color: #62cfe0;
}

.brand-text {
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -0.8px;
}

.brand-main {
    color: #111111;
}

.brand-highlight {
    color: #6cc9d7;
}


/* HEADING */

.auth-heading {
    margin-bottom: 30px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    color: #777777;
    margin-bottom: 18px;
}

.auth-heading h1 {
    margin: 0;
    font-size: 39px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -1.8px;
}

.auth-heading h1 span {
    background:
        linear-gradient(
            90deg,
            #55c9df,
            #80d6c5,
            #d9d3c7
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-heading p {
    margin: 14px 0 0;
    color: #999999;
    font-size: 14px;
}


/* ALERT */

.alert {
    padding: 13px 15px;
    border-radius: 13px;
    margin-bottom: 18px;
    font-size: 13px;
}

.alert.error {
    background: #fff2f2;
    color: #c44a4a;
}

.alert.success {
    background: #eefbf7;
    color: #369b7a;
}


/* FORM */

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #444444;
}

.form-group input {
    width: 100%;
    height: 55px;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 0 16px;
    outline: none;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    transition: 0.2s;
}

.form-group input:focus {
    border-color: #72cedb;
    box-shadow:
        0 0 0 4px rgba(105, 207, 220, 0.10);
}

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


/* PASSWORD */

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 55px;
}

.show-password {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #999999;
    cursor: pointer;
}


/* OPTIONS */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 2px 23px;
    font-size: 12px;
}

.login-options a {
    color: #63c6d5;
    text-decoration: none;
}

.remember {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #888888;
}

.remember input {
    accent-color: #68cad8;
}


/* LOGIN BUTTON */

.login-button {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 18px;
    cursor: pointer;

    background:
        linear-gradient(
            100deg,
            #55c9df,
            #83d9c5,
            #e4d8cc
        );

    color: #ffffff;
    font-size: 16px;
    font-weight: 500;

    box-shadow:
        0 10px 25px rgba(
            93,
            204,
            214,
            0.18
        );

    transition: transform 0.2s;
}

.login-button span {
    margin-left: 8px;
    font-size: 19px;
}

.login-button:active {
    transform: scale(0.98);
}


/* DIVIDER */

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0;
    color: #c0c0c0;
    font-size: 10px;
    letter-spacing: 2px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eeeeee;
}


/* REGISTER */

.register-text {
    text-align: center;
    color: #999999;
    font-size: 13px;
}

.register-text a {
    color: #58bfd0;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}


/* SECURITY */

.security-note {
    margin-top: 32px;
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
    color: #b7b7b7;
}

.security-note span {
    color: #65ccdb;
    margin-right: 5px;
}


/* MOBILE */

@media (max-width: 480px) {

    .auth-page {
        align-items: flex-start;
        padding-top: 22px;
    }

    .auth-card {
        padding: 18px 17px 25px;
    }

    .brand {
        margin-bottom: 48px;
    }

    .auth-heading h1 {
        font-size: 36px;
    }
}

.otp-input-wrap {
    position: relative;
}

.otp-input {
    width: 100%;
    text-align: center;
    letter-spacing: 10px;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.otp-input:focus {
    transform: translateY(-2px);
}

.otp-helper {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.65;
    text-align: center;
}

.otp-resend-box {
    margin-top: 22px;
    text-align: center;
}

.otp-resend-text {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.resend-otp-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    padding: 5px 8px;
    transition: all 0.25s ease;
}

.resend-otp-btn:not(:disabled):hover {
    transform: translateY(-1px);
}

.resend-otp-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.otp-countdown {
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    opacity: 0.6;
}

@keyframes otpShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.otp-input.error {
    animation: otpShake 0.3s ease;
}