:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f8fbff;
}

* {
    box-sizing: border-box;
}

body.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f8fafc;
    color: var(--text);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(
            135deg,
            #eef4ff 0%,
            #f8fbff 100%
    );
}

/* LEFT */

.auth-hero {
    display: none;
}

.auth-panel-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
}

.auth-card {
    width: 100%;
    max-width: 520px;
}

.brand-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-size: 18px;
}

.brand-row h1 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
}

.brand-row p {
    margin: 0;
    color: #374151;
    font-size: 14px;
}

.hero-copy {
    margin-top: 60px;
}

.hero-copy h2 {
    margin: 0;
    font-size: 48px;
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero-copy h2 span {
    color: var(--blue);
}

.hero-copy p {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
}

/* VISUAL */

.hero-visual {
    position: relative;
    height: 340px;
    margin-top: 30px;
}

.phone-card,
.calendar-card,
.coin-stack {
    position: absolute;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.18);
}

.phone-card {
    left: 20px;
    top: 30px;
    width: 220px;
    height: 280px;
    background: #fff;
    border: 12px solid #111827;
    border-radius: 36px;
    transform: rotate(-6deg);
    padding: 28px 20px;
}

.phone-card small {
    display: block;
    color: #6b7280;
    font-weight: 700;
}

.phone-card strong {
    display: block;
    margin-top: 12px;
    font-size: 28px;
    font-weight: 900;
}

.chart-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-top: 24px;
    background: conic-gradient(
            var(--blue) 0 65%,
            #e5e7eb 65% 100%
    );
}

.calendar-card {
    right: 70px;
    top: 10px;
    width: 290px;
    height: 230px;
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff, #dbeafe);
    display: grid;
    place-items: center;
    font-size: 54px;
    color: var(--blue);
    font-weight: 900;
}

.coin-stack {
    right: 160px;
    bottom: 0;
    width: 170px;
    height: 60px;
    border-radius: 50px 50px 14px 14px;
    background: repeating-linear-gradient(
            0deg,
            #eab308 0 8px,
            #facc15 8px 16px
    );
}

/* FEATURES */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 24px;
    margin-top: 30px;
}

.feature-grid > div {
    padding: 10px;
}

.feature-grid strong {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.feature-grid p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}

.auth-hero footer {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #6b7280;
}

/* RIGHT */

.auth-panel-wrap {
    display: grid;
    place-items: center;
    padding: 52px;
}

.auth-card {
    width: min(100%, 560px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 44px;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
}

.login-head {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 28px;
}

.shield {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: var(--blue);
    font-size: 34px;
}

.login-head h2 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 900;
}

.login-head p {
    margin: 0;
    color: #4b5563;
}

/* SECURITY */

.security-box {
    display: flex;
    gap: 16px;
    border: 1px solid #bfdbfe;
    background: #f8fbff;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 28px;
}

.security-icon {
    font-size: 24px;
}

.security-box p {
    margin: 6px 0 0;
    color: #4b5563;
}

/* FORM */

.form-label {
    font-weight: 800;
    margin-bottom: 10px;
}

.input-icon {
    position: relative;
}

.input-icon > span {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.input-icon .form-control {
    height: 58px;
    border-radius: 12px;
    padding-left: 54px;
    border-color: #d1d5db;
    box-shadow: none;
}

.input-icon .form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.15);
}

.eye-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* OPTIONS */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 22px 0 30px;
    font-size: 14px;
}

.login-options a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
}

/* BUTTON */

.btn-login {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(
            135deg,
            var(--blue),
            var(--blue-dark)
    );
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
}

/* DIVIDER */

.divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 28px 0;
    color: #9ca3af;
    font-size: 14px;
}

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

/* GOOGLE */

.btn-google {
    width: 100%;
    height: 58px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-weight: 800;
    transition: 0.2s ease;
}

.btn-google:hover {
    background: #f9fafb;
}

.google-g {
    margin-right: 12px;
    font-weight: 900;
    color: #ea4335;
}

/* NOTICE */

.notice-green {
    margin-top: 28px;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #14532d;
}

.notice-green ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

/* SIGNUP */

.signup-text {
    margin-top: 30px;
    text-align: center;
    color: #4b5563;
}

.signup-text a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
}

/* OTP */

.otp-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.otp-card {
    width: min(100%, 440px);
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    padding: 44px;
    text-align: center;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
}

.otp-card h1 {
    margin-top: 18px;
    font-size: 34px;
    font-weight: 900;
}

.otp-input {
    height: 72px;
    border-radius: 14px;
    text-align: center;
    font-size: 34px;
    letter-spacing: 12px;
    font-weight: 900;
}

.back-login {
    display: inline-block;
    margin-top: 24px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
}

/* ALERT */

.alert {
    border-radius: 14px !important;
}

/* MOBILE */

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        display: none;
    }

    .auth-panel-wrap {
        padding: 24px;
    }

    .auth-card {
        padding: 32px 24px;
    }
}

@media (max-width: 576px) {
    .login-head {
        flex-direction: column;
        text-align: center;
    }

    .login-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .otp-card {
        padding: 30px 22px;
    }
}