/* تحسينات رسالة النجاح */
.success-icon-enhanced {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    animation: bounce 0.6s ease-in-out;
}

.success-title-enhanced {
    font-size: 2rem;
    font-weight: 800;
    color: #065f46;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 0.8s ease-out;
}

.request-number-container {
    animation: fadeInUp 1s ease-out;
}

/* تحسين صندوق رقم الطلب */
.request-number-container .bg-gradient-to-r {
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
    border: 2px solid #93c5fd;
    position: relative;
    overflow: hidden;
}

.request-number-container .bg-gradient-to-r::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.request-number-container .bg-gradient-to-r:hover::before {
    left: 100%;
}

/* تحسين الأزرار */
.success-message button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.success-message button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.success-message button:hover::before {
    left: 100%;
}

.success-message button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.success-message button:active {
    transform: translateY(0);
}

/* تحسين الرسائل المعلوماتية */
.success-message .bg-gradient-to-r.from-blue-50 {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* تحسين الرسوم المتحركة */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* تحسين للأجهزة المحمولة */
@media (max-width: 640px) {
    .success-title-enhanced {
        font-size: 1.5rem;
    }
    
    .request-number-container p {
        font-size: 1.5rem;
    }
    
    .success-message .flex.flex-col.sm\\:flex-row {
        gap: 0.75rem;
    }
}

/* تحسين للطباعة */
@media print {
    .success-message {
        background: white !important;
        box-shadow: none !important;
    }
    
    .success-message button,
    .success-message a {
        display: none !important;
    }
    
    .request-number-container {
        border: 2px solid #000 !important;
        background: white !important;
    }
    
    .success-title-enhanced {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }
}

/* تحسين التدرجات */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* تحسين الظلال */
.enhanced-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* تحسين المؤشرات */
.success-message .text-blue-500 {
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

/* تحسين الإشعارات */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 9999;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
