:root {
    --primary-navy: #0e1c36;
    --accent-cyan: #34b4e3;
    --success-green: #10b981;
    --warning-amber: #f59e0b;
    --main-text: #1e293b;
    --muted-text: #64748b;
    --bg-light: #f8fafc;
    --radius-card: 16px;
    --radius-btn: 24px;
    --radius-input: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family:
        "Manrope",
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        "Liberation Sans",
        sans-serif;
    background-color: var(--bg-light);
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
    background-size: 30px 30px;
    color: var(--main-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px;
    align-items: center;
    gap: 60px;
}

@media (max-width: 1024px) {
    .page-wrapper {
        flex-direction: column;
        padding: 40px 20px;
        justify-content: center;
        gap: 40px;
    }
}

/* Hero Section */
.hero {
    flex: 1.2;
    max-width: 650px;
}

@media (max-width: 1024px) {
    .hero {
        text-align: center;
    }
    .logo {
        justify-content: center;
    }
    .features {
        align-items: center;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
}

.hero-h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 4.8rem);
    line-height: 1.1;
    color: var(--primary-navy);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-h1 span {
    color: var(--accent-cyan);
}

.hero-p {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: var(--muted-text);
    margin-bottom: 32px;
    max-width: 540px;
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-navy);
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(14, 28, 54, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

/* Form Container */
.form-container {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.form-card {
    background: white;
    width: 100%;
    max-width: 460px;
    padding: clamp(24px, 5vw, 40px);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    margin-bottom: 24px;
}
.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 6px;
}
.form-subtitle {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Inputs */
.field {
    margin-bottom: 18px;
}
.label {
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary-navy);
    margin-bottom: 6px;
}
.input-box {
    position: relative;
}
.input-box svg.icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-text);
    width: 18px;
    pointer-events: none;
}
.input-box input {
    width: 100%;
    padding: 14px 44px 14px 42px;
    border-radius: var(--radius-input);
    border: 1.5px solid #f1f5f9;
    background: #f8fafc;
    font-size: 1rem;
    color: var(--main-text);
    transition: all 0.2s ease;
}
.input-box input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: white;
    box-shadow: 0 0 0 4px rgba(52, 180, 227, 0.06);
}

.btn-toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-text);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.btn-toggle-pw:hover {
    color: var(--primary-navy);
}

/* Checkbox Styles */
.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted-text);
    cursor: pointer;
    user-select: none;
}
.remember-me input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition:
        transform 0.1s active,
        background 0.2s;
}
.btn-navy {
    background: var(--primary-navy);
    color: white;
}
.btn-navy:active {
    transform: scale(0.98);
}

.btn-social {
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 12px 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: var(--main-text);
    transition: all 0.2s;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}
.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}
.divider span {
    position: relative;
    background: white;
    padding: 0 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted-text);
}

.footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--muted-text);
}
.link {
    color: var(--accent-cyan);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-amber);
    margin-bottom: 12px;
}
.pill-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    margin-right: 6px;
}

@media (hover: hover) {
    .btn-navy:hover {
        background: #1a2a4a;
    }
    .btn-social:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
    }
    .link:hover {
        text-decoration: underline;
    }
}

.form-card-size {
    background: white;
    width: 100%;
    max-width: 750px;
    padding: clamp(24px, 5vw, 40px);
    border-radius: var(--radius-card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

.cards-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.card-brand {
    padding: 6px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.card-brand:hover {
    transform: translateY(-2px);
}

.parsley-required {
    color: red;
}

#otpContainer:empty {
    display: none;
}


