@font-face {
    font-family: 'Yekan';
    src: url('../fonts/YekanX/IRANYekanX-Regular.woff') format('woff');
}

@font-face {
    font-family: 'YekanBold';
    src: url('../fonts/YekanX/IRANYekanX-Bold.woff') format('woff');
}



.login-wrapper {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.login-card {
    width: 100%;
    max-width: 850px;
    display: flex;
    background-color: rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-left {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3%;
}

.login-left img {
    max-width: 100%;
    border-radius: 10px;
}

.login-right {
    flex: 1;
    padding: 40px;
}

.login-right h3 {
    font-weight: bold;
    margin-bottom: 30px;
}

.form-control {
    margin-bottom: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        max-width: 90%;
    }

    .login-left,
    .login-right {
        flex: none;
        width: 100%;
    }

    .login-left {
        padding: 20px;
        background: none
    }
    .login-left img {
        display: none;
        max-width: 100%;
        border-radius: 10px;   }
}

/* OTP Modal Customization */
#otpModal .modal-content {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 20px 10px 10px 10px;
    background: #fff;
    animation: otpModalFadeIn 0.4s ease-out;
    border: none;
}

#otpModal .modal-header {
    border-bottom: none;
    justify-content: center;
    padding-bottom: 0;
    padding-top: 10px;
}

#otpModal .modal-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #01818a;
    margin: 0 auto;
    font-family: 'YekanBold', 'Yekan', sans-serif;
}

#otpModal .modal-body {
    text-align: center;
    padding: 20px 30px;
}

/* OTP Icon */
#otpModal .otp-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, #00b0b5 0%, #01818a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

#otpModal .otp-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 176, 181, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 176, 181, 0);
    }
}

/* OTP Description */
#otpModal .otp-description {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
    direction: rtl;
}

#otpModal .otp-description #phoneDisplay {
    color: #01818a;
    font-weight: bold;
    font-family: 'YekanBold', sans-serif;
}

/* OTP Inputs */
#otpModal .otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

#otpModal .otp-input {
    width: 50px;
    height: 55px;
    font-size: 1.8rem;
    text-align: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #01818a;
    font-family: 'YekanBold', 'Yekan', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

#otpModal .otp-input:focus {
    border-color: #00b0b5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 176, 181, 0.1);
    transform: scale(1.05);
}

#otpModal .otp-input.filled {
    border-color: #10b981;
    background: #f0fdf4;
}

#otpModal .otp-input.error {
    border-color: #ef4444;
    background: #fef2f2;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* OTP Timer */
#otpModal .otp-timer {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: rtl;
}

#otpModal .otp-timer i {
    font-size: 1.1rem;
}

#otpModal .otp-timer strong {
    color: #00b0b5;
    font-family: 'YekanBold', sans-serif;
    font-size: 1rem;
}

#otpModal .otp-timer.warning strong {
    color: #f59e0b;
}

#otpModal .otp-timer.danger strong {
    color: #ef4444;
}

/* OTP Resend */
#otpModal .otp-resend {
    direction: rtl;
}

#otpModal .otp-resend p {
    color: #64748b;
    font-size: 0.9rem;
}

#otpModal .otp-resend .btn-link {
    color: #00b0b5;
    text-decoration: none;
    font-weight: bold;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s;
}

#otpModal .otp-resend .btn-link:hover {
    color: #01818a;
    text-decoration: underline;
}

/* OTP Error */
#otpModal #otpError {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 0.9rem;
    gap: 6px;
    background: #fef2f2;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #fecaca;
    animation: slideDown 0.3s ease-out;
    direction: rtl;
}

#otpModal #otpError i {
    font-size: 1.1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Footer */
#otpModal .modal-footer {
    border-top: none;
    justify-content: center;
    gap: 12px;
    padding: 15px 30px 25px;
}

#otpModal #verifyOtpBtn {
    background: linear-gradient(135deg, #00b0b5 0%, #01818a 100%);
    color: #fff;
    border: none;
    font-weight: bold;
    border-radius: 10px;
    padding: 10px 25px;
    min-width: 130px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 176, 181, 0.3);
}

#otpModal #verifyOtpBtn:hover:not(:disabled) {
    background: linear-gradient(135deg, #01818a 0%, #00b0b5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 176, 181, 0.4);
}

#otpModal #verifyOtpBtn:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
}

#otpModal .btn-outline-secondary {
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 25px;
    min-width: 130px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#otpModal .btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

#otpModal .modal-footer i {
    font-size: 1.1rem;
    margin-left: 5px;
}

@keyframes otpModalFadeIn {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    #otpModal .otp-input {
        width: 45px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    #otpModal .otp-inputs {
        gap: 6px;
    }
    
    #otpModal .modal-body {
        padding: 20px 15px;
    }
}

div#rc-anchor-container{
    justify-self: center !important;
}

.rc-anchor-light.rc-anchor-normal, .rc-anchor-light.rc-anchor-compact{
    justify-self: center !important;

}