@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');

.zola-user-panel-wrapper {
    font-family: 'Vazirmatn', sans-serif;
}

.zola-user-panel-wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    direction: rtl;
}

.zola-user-panel-wrapper .container {
    width: 100%;
    max-width: 450px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px 30px;
    position: relative;
    font-family: 'Vazirmatn', sans-serif;
}

.zola-user-panel-wrapper .logo {
    text-align: center;
    margin-bottom: 30px;
}

.zola-user-panel-wrapper .logo i {
    font-size: 50px;
    color: #4361ee;
    margin-bottom: 10px;
}

.zola-user-panel-wrapper .logo h1 {
    font-size: 24px;
    color: #212529;
}

.zola-user-panel-wrapper .steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.zola-user-panel-wrapper .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #b0b0b0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    z-index: 2;
    transition: all 0.3s ease;
}

.zola-user-panel-wrapper .step.active {
    background-color: #4361ee;
}

.zola-user-panel-wrapper .step.completed {
    background-color: #4bb543;
}

.zola-user-panel-wrapper .step.completed::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
}

.zola-user-panel-wrapper .step-line {
    position: absolute;
    top: 20px;
    right: 20px;
    left: 20px;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.zola-user-panel-wrapper .step-line-fill {
    height: 100%;
    background-color: #4bb543;
    width: 0%;
    transition: all 0.3s ease;
}

.zola-user-panel-wrapper .form {
    display: none;
    animation: fadeIn 0.5s ease;
}

.zola-user-panel-wrapper .form.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.zola-user-panel-wrapper .form-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: #212529;
    text-align: center;
}

.zola-user-panel-wrapper .form-subtitle {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    font-size: 14px;
}

.zola-user-panel-wrapper .form-group {
    margin-bottom: 20px;
    position: relative;
}

.zola-user-panel-wrapper .form-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    direction: ltr;
    text-align: left;
    font-family: 'Vazirmatn', sans-serif;
}

.zola-user-panel-wrapper .form-input:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.zola-user-panel-wrapper .form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    transition: all 0.3s ease;
    z-index: 2;
}

.zola-user-panel-wrapper .form-input:focus + .form-icon {
    color: #4361ee;
}

.zola-user-panel-wrapper .submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #4361ee, #3a0ca3);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    margin-top: 10px;
    font-family: 'Vazirmatn', sans-serif;
}

.zola-user-panel-wrapper .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

.zola-user-panel-wrapper .submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.zola-user-panel-wrapper .countdown {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.zola-user-panel-wrapper .resend-code {
    text-align: center;
    margin-top: 15px;
}

.zola-user-panel-wrapper .resend-btn {
    background: none;
    border: none;
    color: #4361ee;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    font-family: 'Vazirmatn', sans-serif;
}

.zola-user-panel-wrapper .resend-btn:disabled {
    color: #999;
    cursor: not-allowed;
}

.zola-user-panel-wrapper .user-type {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
    font-size: 14px;
}

.zola-user-panel-wrapper .user-new {
    color: #4bb543;
}

.zola-user-panel-wrapper .user-existing {
    color: #4361ee;
}

.zola-user-panel-wrapper .code-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    direction: ltr;
}

.zola-user-panel-wrapper .code-input {
    width: 50px;
    height: 60px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    outline: none;
    direction: ltr;
    font-family: 'Vazirmatn', sans-serif;
}

.zola-user-panel-wrapper .code-input:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.zola-user-panel-wrapper .success-message {
    text-align: center;
    padding: 20px;
    background-color: rgba(75, 181, 67, 0.1);
    border-radius: 10px;
    margin-top: 20px;
    color: #4bb543;
}

.zola-user-panel-wrapper .success-message i {
    font-size: 40px;
    margin-bottom: 10px;
}

/* استایل اعلان‌ها */
.zola-user-panel-wrapper .notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zola-user-panel-wrapper .notification {
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 350px;
    animation: slideIn 0.3s ease;
    transition: all 0.3s ease;
}

.zola-user-panel-wrapper .notification.error {
    background-color: #ffe6e9;
    border-right: 4px solid #e63946;
    color: #e63946;
}

.zola-user-panel-wrapper .notification.warning {
    background-color: #fff4e6;
    border-right: 4px solid #ff9e00;
    color: #ff9e00;
}

.zola-user-panel-wrapper .notification.success {
    background-color: #e6f7e9;
    border-right: 4px solid #4bb543;
    color: #4bb543;
}

.zola-user-panel-wrapper .notification i {
    font-size: 18px;
}

.zola-user-panel-wrapper .notification-content {
    flex: 1;
}

.zola-user-panel-wrapper .notification-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.zola-user-panel-wrapper .notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.zola-user-panel-wrapper .notification-close:hover {
    opacity: 1;
}

/* استایل فلش بازگشت - بدون افکت hover */
.zola-user-panel-wrapper .back-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 18px;
    color: #666;
    z-index: 10;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@media (max-width: 480px) {
    .zola-user-panel-wrapper .container {
        padding: 30px 20px;
    }
    
    .zola-user-panel-wrapper .code-input {
        width: 45px;
        height: 55px;
        font-size: 20px;
    }
    
    .zola-user-panel-wrapper .notification-container {
        right: 10px;
        left: 10px;
    }
    
    .zola-user-panel-wrapper .notification {
        max-width: 100%;
    }
}