/* ========================================
   صفحة النجاح - بنفس ستايل صفحة التحميل
   ======================================== */

.auth-success-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-success-content {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
}

/* Logo */
.auth-success-container .auth-logo {
    margin-bottom: 30px;
}

.auth-success-container .auth-logo img {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Success Icon */
.checkmark-circle {
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.checkmark-circle .background {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #43e97b;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 0 20px rgba(67, 233, 123, 0.5);
    animation: success-pulse 1.5s infinite ease-in-out;
}

@keyframes success-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.checkmark {
    position: absolute;
    left: 25px;
    top: 45px;
    width: 50px;
    height: 25px;
    border-left: 5px solid white;
    border-bottom: 5px solid white;
    transform: rotate(-45deg);
    opacity: 0;
    animation: draw-check 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes draw-check {
    0% { opacity: 0; transform: scale(0.8) rotate(-45deg); }
    50% { opacity: 1; transform: scale(1.1) rotate(-45deg); }
    100% { opacity: 1; transform: scale(1) rotate(-45deg); }
}

/* Message */
.auth-success-container .auth-message {
    margin: 30px 0;
}

.auth-success-container .auth-message h2 {
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    direction: rtl;
}

.auth-success-container .auth-message p {
    color: #4a5568;
    font-size: 16px;
    margin: 0;
    direction: rtl;
}

/* Animated Dots */
.auth-success-container .auth-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.auth-success-container .dot {
    width: 12px;
    height: 12px;
    background: #43e97b;
    border-radius: 50%;
    animation: auth-bounce 1.4s infinite ease-in-out both;
}

.auth-success-container .dot:nth-child(1) {
    animation-delay: -0.32s;
}
.auth-success-container .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes auth-bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .auth-success-content {
        padding: 30px 20px;
    }
    .auth-success-container .auth-logo img {
        max-width: 130px;
    }
    .checkmark-circle {
        width: 80px;
        height: 80px;
    }
    .auth-success-container .auth-message h2 {
        font-size: 20px;
    }
    .auth-success-container .auth-message p {
        font-size: 14px;
    }
}
