body {
    overflow-x: hidden;
}

.auth-wrapper {
    overflow: auto;
}

.auth-left {
    flex: 1.2;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 15s ease-in-out infinite;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    animation: float 3s ease-in-out infinite;
}

.brand-logo i {
    font-size: 36px;
}

.auth-brand h1 {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.auth-brand p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.auth-features {
    gap: 20px;
}

.feature-item {
    gap: 16px;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.feature-item i {
    font-size: 20px;
    width: 24px;
    opacity: 1;
    text-align: center;
}

.auth-right {
    padding: 40px 48px;
    align-items: flex-start;
    background: white;
    max-height: 90vh;
    overflow-y: auto;
}

.auth-right::-webkit-scrollbar { width: 6px; }
.auth-right::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.auth-right::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }
.auth-right::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }

.auth-form-wrapper {
    max-width: 380px;
}

.auth-form-wrapper h2 {
    margin-bottom: 6px;
}

.auth-subtitle {
    margin-bottom: 20px;
}

.recipient-info {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.recipient-info .info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #166534;
    margin-bottom: 8px;
}

.recipient-info .info-row:last-child { margin-bottom: 0; }
.recipient-info .info-row i { width: 16px; color: #16a34a; }

.otp-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.otp-input {
    font-size: 22px;
    border-radius: 12px;
    transition: all 0.3s;
    color: #1e293b;
}

.otp-input:focus {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary:hover {
    box-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: white;
    border: 2px solid #e5e7eb;
    color: #64748b;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
}

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    gap: 12px;
    animation: shake 0.5s ease-out;
}

.dev-otp-box {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.dev-otp-box .label {
    font-size: 11px;
    color: #92400e;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dev-otp-box .otp-value {
    font-size: 28px;
    font-weight: 700;
    color: #b45309;
    letter-spacing: 6px;
}

.resend-section {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.resend-section p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.resend-section a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.resend-section a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    margin-top: 16px;
    transition: color 0.2s;
}

.back-link:hover { color: #667eea; }

@media (max-width: 900px) {
    .auth-container { flex-direction: column; max-width: 480px; }
    .auth-left { padding: 40px 32px; }
    .auth-brand h1 { font-size: 28px; }
    .auth-right { padding: 40px 32px; }
}

@media (max-width: 480px) {
    .otp-input { width: 45px; height: 50px; font-size: 18px; }
}
