html,
body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: #f8fafc;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.signup-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #f8fafc;
}

/* Forms Panel */
.right-side {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    z-index: 10;
    padding: 24px;
}

.right-content-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
    animation: fadeIn 0.4s ease-out;
}

.right-content-container {
    display: none;
}

.right-content-container.active {
    display: flex;
    flex-direction: column;
}

/* Brand Logo inside Card */
.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.logo-icon-wrap {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.logo-box h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.04em;
}

.logo-box h2 span {
    color: #ec4899;
    background: linear-gradient(135deg, #ec4899 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header {
    margin-bottom: 24px;
    text-align: center;
}

.form-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.03em;
}

.form-header p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    align-items: flex-start;
    width: 100%;
}

.input-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    margin-left: 2px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: color 0.2s;
}

.input-field {
    width: 100%;
    padding: 12px 14px 12px 40px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    outline: none;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01) inset;
}

.input-field:focus {
    background: #ffffff;
    border-color: #ec4899;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.input-field:focus+.input-icon {
    color: #ec4899;
}

.action-container {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
}

.btn-primary {
    flex: 1;
    padding: 13px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    flex: 1;
    padding: 12px;
    background: #ffffff;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.error-box {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-top: 16px;
    display: none;
    border: 1px solid #fecaca;
    text-align: left;
    line-height: 1.4;
    font-weight: 500;
}

.right-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 11.5px;
    color: #64748b;
}

/* OTP 6-Digit Container and Fields */
.otp-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 28px;
    width: 100%;
}

.otp-digit-field {
    width: 52px;
    height: 56px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.otp-digit-field:focus {
    background: #ffffff;
    border-color: #ec4899;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
    transform: scale(1.03);
}

.otp-digit-field::selection {
    background: rgba(236, 72, 153, 0.15);
}

/* Success Step grid */
.success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
    width: 100%;
}

.success-badge {
    background: rgba(236, 72, 153, 0.03);
    border: 1px solid rgba(236, 72, 153, 0.08);
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
}

.success-badge .title {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 4px;
}

.success-badge .leads {
    font-size: 11px;
    color: #ec4899;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.success-tick-wrap {
    width: 56px;
    height: 56px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@media (max-width: 480px) {
    .right-side {
        padding: 16px;
    }
    .right-content-card {
        padding: 30px 20px;
    }
    .otp-digit-field {
        width: 42px;
        height: 48px;
        font-size: 20px;
    }
}
