/* متغيرات الألوان */
:root {
    --primary-color: #1a365d;
    --secondary-color: #3182ce;
    --accent-color: #63b3ed;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --danger-color: #e53e3e;
}
*{
    margin: 0;padding: 0;box-sizing: border-box;
}
/* أنماط عامة */
body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    min-height: 100vh;
}


.order-navbar {
    display: flex;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    flex-direction: row;
    flex-wrap: nowrap;
    position: absolute;
    right: 0;
    left: 0;
    z-index: 555;
}

.order-navbar .navbar-brand {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

/* خطوات التقدم */
.steps-container {
    padding: 80px 0 30px;
    background: white;
}

.steps-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 20px auto 50px;
}

.steps-line {
    position: absolute;
    top: 40px;
    right: 10%;
    left: 10%;
    height: 3px;
    background: var(--gray-300);
    z-index: 1;
}

.steps-line-progress {
    position: absolute;
    top: 40px;
    right: 10%;
    height: 3px;
    background: var(--secondary-color);
    z-index: 2;
    width: 0%;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.step {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    color: var(--gray-500);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.step.completed .step-number {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step-info {
    padding: 0 10px;
}

.step-label {
    font-weight: 600;
    color: var(--gray-600);
}

.step.active .step-label {
    color: var(--primary-color);
}

.step-description {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* عناوين رئيسية */
.main-title {
    text-align: center;
    margin-bottom: 40px;
}

.main-title h1 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.main-title p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* الخطوة 1: اختيار الخدمة */
.services-section {
    padding: 40px 0;
    min-height: 60vh;
}

.confirmation-message {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    border: 2px solid var(--success-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

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

.confirmation-icon {
    width: 60px;
    height: 60px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.confirmation-icon i {
    color: white;
    font-size: 1.5rem;
}

.confirmation-content h4 {
    color: var(--success-color);
    margin-bottom: 5px;
}

.confirmation-content p {
    color: var(--gray-600);
    margin: 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.service-card.selected {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    box-shadow: 0 15px 30px rgba(49, 130, 206, 0.15);
}

.service-card.selected::before {
    content: '✓';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 2rem;
}

.service-name {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.continue-container {
    text-align: center;
    margin-top: 40px;
}

.continue-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
}

.continue-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(49, 130, 206, 0.3);
}

.continue-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    opacity: 0.6;
}

.change-service-btn {
    background: var(--warning-color);
    color: var(--gray-800);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-service-btn:hover {
    background: #c05621;
    transform: translateY(-2px);
}

/* الخطوة 2: تفاصيل الطلب */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.selected-service-info {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    border: 2px solid var(--success-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.service-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
}

.section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    display: block;
}

.required::after {
    content: ' *';
    color: var(--danger-color);
}

.form-control, .form-select, .form-textarea {
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    background: var(--gray-50);
}

.form-control:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    outline: none;
    background: white;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-check-label {
    color: var(--gray-700);
    cursor: pointer;
}

.form-check-label:hover {
    color: var(--primary-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.hint-text {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 5px;
}

.navigation-buttons {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(49, 130, 206, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #68d391);
    color: white;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 161, 105, 0.3);
}

.btn-outline-secondary {
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
    background: white;
}

.btn-outline-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
    background: var(--gray-50);
}

/* الخطوة 3: رفع الملفات */
.order-info {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    border: 2px solid var(--success-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1rem;
}

.info-content h6 {
    color: var(--success-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
}

.upload-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
}

.upload-area {
    border: 3px dashed var(--gray-300);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gray-50);
    margin-bottom: 30px;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.upload-area.dragover {
    border-color: var(--secondary-color);
    background: #ebf8ff;
    transform: scale(1.02);
}

.upload-area.hidden {
    opacity: 0;
    transform: translateY(-20px);
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: none;
}

.upload-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.upload-area.dragover .upload-icon {
    transform: scale(1.2);
    color: var(--primary-color);
}

.upload-text h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.upload-text p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-types {
    background: var(--gray-100);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.upload-area.hidden .file-types {
    opacity: 0;
    transform: translateY(-10px);
}

.file-types h6 {
    color: var(--gray-700);
    margin-bottom: 10px;
    font-weight: 600;
}

.file-types-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.file-type-badge {
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: all 0.2s ease;
}

.file-type-badge:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.uploaded-files {
    margin-top: 40px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.uploaded-files.hidden {
    opacity: 0;
    transform: translateY(20px);
    height: 0;
    margin: 0;
    overflow: hidden;
}

.file-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.file-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

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

.file-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.file-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.file-item:hover .file-icon {
    transform: scale(1.1);
    background: var(--primary-color);
}

.file-icon i {
    color: white;
    font-size: 1.5rem;
}

.file-details {
    flex: 1;
}

.file-name {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    word-break: break-all;
    font-size: 0.9rem;
}

.file-size {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 10px;
}

.delete-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background: #c53030;
    transform: scale(1.1) rotate(5deg);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.empty-state.hidden {
    opacity: 0;
    transform: translateY(-20px);
    height: 0;
    padding: 0;
    overflow: hidden;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--gray-400);
}

.upload-action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.upload-action-buttons.hidden {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
    overflow: hidden;
    margin: 0;
}

.file-preview {
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 10px;
    border: 2px dashed var(--gray-300);
    animation: fadeIn 0.5s ease;
}

.preview-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.preview-details h6 {
    margin: 0;
    color: var(--primary-color);
    font-size: 0.9rem;
    max-width: 100%;
    overflow: hidden;
}

.preview-details small {
    color: var(--gray-500);
}

/* الخطوة 4: تأكيد الطلب */
.summary-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-item {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 20px;
    border-right: 4px solid var(--secondary-color);
}

.summary-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.summary-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
}

.form-label.required::after {
    content: ' *';
    color: var(--danger-color);
}

.alert-success {
    background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
    border-color: var(--success-color);
    color: #22543d;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.alert-danger {
    background: linear-gradient(135deg, #fed7d7, #fc8181);
    border-color: var(--danger-color);
    color: #742a2a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.success-message {
    text-align: center;
    padding: 50px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
}

.order-number-display {
    background: var(--gray-100);
    border: 2px dashed var(--success-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    font-size: 1.2rem;
}

/* نصائح عامة */
.tips-section {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border-radius: 15px;
    padding: 30px;
    margin: 40px auto;
    border: 1px solid var(--gray-200);
    max-width: 1200px;
}

.tips-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border-right: 4px solid var(--secondary-color);
}

.tip-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.tip-text {
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 10px;
}

.tip-subtext {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* إشعارات AJAX */
.ajax-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.ajax-loading.active {
    display: flex;
}

.ajax-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ajax-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    display: none;
}

.ajax-success {
    background: var(--success-color);
    color: white;
}

.ajax-error {
    background: var(--danger-color);
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* حالات التحميل */
.service-card.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.service-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.continue-btn.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.continue-btn.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* إشعارات متقدمة */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
    animation: slideIn 0.3s ease, fadeOut 0.5s ease 4.5s forwards;
    color: white;
    font-weight: 500;
}

.notification-success {
    background: var(--success-color);
    border-right: 5px solid #2d7a5c;
}

.notification-error {
    background: var(--danger-color);
    border-right: 5px solid #c53030;
}

.notification-warning {
    background: var(--warning-color);
    border-right: 5px solid #b7791f;
}

.notification-info {
    background: var(--secondary-color);
    border-right: 5px solid #2c5282;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* شريط التقدم للرفع */
.progress-container {
    margin-top: 15px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.progress-container.hidden {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
    overflow: hidden;
    margin: 0;
}

.progress-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--success-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 5px;
    text-align: center;
}

/* تأكيد الحذف */
.delete-confirmation {
    background: white;
    border: 2px solid var(--danger-color);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.delete-confirmation h6 {
    color: var(--danger-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.delete-confirmation p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.confirmation-buttons {
    display: flex;
    gap: 10px;
}

.confirm-delete-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.confirm-delete-btn:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.cancel-delete-btn {
    background: var(--gray-300);
    color: var(--gray-700);
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cancel-delete-btn:hover {
    background: var(--gray-400);
    transform: translateY(-2px);
}

/* تأثيرات التحميل */
.uploading {
    position: relative;
}

.uploading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--gray-300);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* رسائل التحذير والخطأ */
.warning-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.5s ease;
}

.warning-message i {
    color: #f39c12;
}

.warning-message span p {
    color: var(--gray-900);
    font-size: 0.9rem;
    max-width: 100%;
    overflow: hidden;
}

.error-message {
    background: #fed7d7;
    border: 1px solid #fc8181;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #9b2c2c;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-message i {
    color: #e53e3e;
}

/* أنماط النسخ */
.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-right: 10px;
}

.copy-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.copy-btn.copied {
    background: var(--success-color);
}

.order-tracking-box {
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    border: 2px solid var(--success-color);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.order-tracking-box h4 {
    color: var(--success-color);
    margin-bottom: 15px;
}

.order-number-large {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
    padding: 10px;
    background: white;
    border-radius: 5px;
    border: 2px dashed var(--secondary-color);
    margin: 15px 0;
}

/* التحميل العام */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-spinner-large {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* إخفاء العناصر */
.selected-service-container {
    display: none;
}

/* الأنماط المخفية حالياً */
.form-container.hidden {
    display: none;
}

/* تأثيرات الحركة */
.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-5 { animation-delay: 0.5s; opacity: 0; }
.animate-delay-6 { animation-delay: 0.6s; opacity: 0; }
.animate-delay-7 { animation-delay: 0.7s; opacity: 0; }
.animate-delay-8 { animation-delay: 0.8s; opacity: 0; }

/* تجاوب مع الشاشات الصغيرة */
@media (max-width: 992px) {
    .steps-container {
        padding: 6rem 0 20px;
    }
    
    .steps-line {
        right: 5%;
        left: 5%;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .service-card {
        padding: 20px;
        min-height: 220px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .service-name {
        font-size: 1.2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .info-grid,
    .summary-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-section {
        padding: 20px;
    }
    
    .upload-area {
        padding: 30px 20px;
    }
    
    .file-item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .file-info {
        flex-direction: column;
        text-align: center;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .navigation-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .upload-action-buttons {
        flex-direction: column;
    }
    
    .upload-action-buttons .btn {
        width: 100%;
    }
    
    .ajax-message,
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .confirmation-buttons {
        flex-direction: column;
    }
    
    .tips-section {
        margin: 20px auto;
        padding: 20px;
    }
}

/* تجاوب مع الشاشات الصغيرة جداً */
/* @media (max-width: 576px) { */
    /* .main-title h1 {
        font-size: 1.5rem;
    }
    
   
    
    .step-label {
        font-size: 0.9rem;
    }
    
    .step-description {
        font-size: 0.8rem;
    }
    
    .service-card {
        padding: 15px;
        min-height: 200px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-name {
        font-size: 1.1rem;
    } */
