/* استایل کلی فرم سفارش عمده */
.bulk-order-container {
    max-width: 600px;
    margin: 40px auto;
    background: rgba(57, 61, 74, 0.54);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.bulk-order-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(180deg, #f5a201 93%, #ffffff 100%);
}

.bulk-order-container h3 {
    text-align: center;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}



/* گروه‌های فرم */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}


/* فیلدهای ورودی */
.form-group input[type="tel"], .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    background: #ffffff21;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}



.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f5a201;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* گزینه‌های رادیویی */
.order-type-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: #f8f9fa;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.radio-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radio-option:hover {
    border-color: #f5a201;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.radio-option:hover::before {
    opacity: 1;
}

.radio-option input[type="radio"] {
    margin-left: 12px;
    margin-right: 0;
    transform: scale(1.2);
    accent-color: #69727d;
}

.radio-option span {
    color: #34495e;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.radio-option input[type="radio"]:checked + span {
    color: #f5a201;
    font-weight: 700;
}

/* آپلود فایل سفارشی */
.file-input-custom {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-hidden {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
}

.file-input-label {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #ced4da;
    border-radius: 12px;
    color: #6c757d !important;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.file-input-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-input-label:hover {
    border-color: #f5a201;
    color: #f5a201;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.file-input-label:hover::before {
    opacity: 1;
}

.file-input-icon {
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.file-input-text {
    position: relative;
    z-index: 1;
}

.file-selected {
    border-color: #28a745 !important;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724 !important;
}

/* اطلاعات فایل */
.file-info {
    margin-top: 10px;
}

.file-name-display {
    background: #e8f5e8;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 10px;
    color: #155724;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-name-display i {
    color: #28a745;
}

/* نوار پیشرفت آپلود */
#upload-progress {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e8ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(180deg, #f5a201 93%, #ffffff 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    display: inline-block;
    font-weight: 600;
    color: #f5a201;
    margin-left: 10px;
}

.cancel-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    float: left;
}

.cancel-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* دکمه‌های عملیات */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    justify-content: center;
}

.submit-btn, .reset-btn {
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 50%;
    border: 1px solid #dbdbdb !important;
}

.submit-btn {
    background-color: rgb(245,162,1) !important;
    color: #fff !important;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

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

.submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.reset-btn {
    background: #ffffff52;
    color: #ffffff;
    border: 2px solid #e8ecef;
}

.reset-btn:hover {
    background: #ffffff52;
    border-color: #ced4da;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* پیام‌های فرم */
.form-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* باکس تایید پس از ارسال */
.success-confirmation {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 16px;
    border: 2px solid #c3e6cb;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: #155724;
    margin-bottom: 15px;
}

.success-message {
    font-size: 16px;
    color: #155724;
    line-height: 1.6;
    margin-bottom: 25px;
}

.success-details {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.back-btn {
    background: linear-gradient(135deg, #f5a201 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* صفحه ورود */
.bulk-order-login-required {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 40px auto;
}

.bulk-order-login-required p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 25px;
}

.btn-login {
    display: inline-block;
    background: linear-gradient(135deg, #f5a201 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* انیمیشن‌ها */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .bulk-order-container {
        margin: 20px auto;
        padding: 30px 20px;
        box-shadow: none;
        border-radius: 0;
    }

    .order-type-options {
        flex-direction: column;
        gap: 10px;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .submit-btn,
    .reset-btn {
        width: 100% !important;
        max-width:100% !important;
    }

}

/* Font Awesome Icons */
.fas {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fa-upload::before {
    content: "\f093";
}

.fa-check-circle::before {
    content: "\f058";
}

.fa-file::before {
    content: "\f15b";
}
