body { 
    font-family: 'Vazirmatn', sans-serif; 
    background-color: #fdfbf7; 
}

.bg-mesh {
    background-image: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%), 
                      radial-gradient(at 100% 100%, rgba(244, 63, 94, 0.03) 0px, transparent 50%);
}

/* Auth Switcher Animation */
.switch-pill { 
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); 
    width: calc(50% - 6px);
}
.toggle-active { transform: translateX(-100%); }

/* Forms Transition */
.hidden-form { display: none; opacity: 0; }
.active-form { 
    display: block; 
    animation: fadeIn 0.5s ease forwards; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Input Styles */
.form-input {
    width: 100%;
    background-color: #f9f9f9;
    border: 2px solid #f3f3f3;
    padding: 1.25rem 3.5rem 1.25rem 1.25rem;
    border-radius: 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    transition: all 0.3s;
}

.form-input-simple {
    width: 100%;
    background-color: #f9f9f9;
    border: 2px solid #f3f3f3;
    padding: 1.25rem;
    border-radius: 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus, .form-input-simple:focus {
    border-color: #10b981;
    background-color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.05);
}

.input-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    size: 1.25rem;
    color: #d1d5db;
    transition: color 0.3s;
}

.group:focus-within .input-icon {
    color: #10b981;
}
input[type="tel"], input[type="text"] {
    direction: rtl !important;
    text-align: right !important;
}

/* برای اینکه کد ۴ رقمی وسط‌چین بماند */
#otp-code-input {
    direction: ltr !important;
    text-align: center !important;
}