/* ========================================
   صفحة الخطأ - متماشية مع ستايل صفحاتك الأخرى
   ======================================== */

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

.auth-error-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-error-container .auth-logo {
    margin-bottom: 22px;
}

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

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

.cross-circle::before {
    content: "";
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ff6b6b;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 0 18px rgba(255, 107, 107, 0.5);
    animation: error-pulse 1.5s infinite ease-in-out;
}

.cross {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.cross::before,
.cross::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 8px;
    background: white;
    border-radius: 4px;
    transform: translateY(-50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.cross::after {
    transform: translateY(-50%) rotate(90deg);
}

@keyframes error-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.9; }
}

/* Message */
.auth-error-container .auth-message {
    margin: 28px 0;
}

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

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

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

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

.auth-error-container .dot:nth-child(1) {
    animation-delay: -0.32s;
}
.auth-error-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-error-content {
        padding: 30px 20px;
    }
    .auth-error-container .auth-logo img {
        max-width: 130px;
    }
    .cross-circle {
        width: 80px;
        height: 80px;
    }
    .auth-error-container .auth-message h2 {
        font-size: 20px;
    }
    .auth-error-container .auth-message p {
        font-size: 14px;
    }
}
