/* --------------------- Reset --------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --------------------- Body --------------------- */
body {
    background: radial-gradient(circle at center, #0a1118 0%, #000000 100%);
    color: #e0e6ed;
    line-height: 1.6;
    text-align: center;
    padding: 25px;
    font-size: 16px;
}

/* --------------------- Nav --------------------- */
nav {
    background: linear-gradient(90deg, #000000, #051622);
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 163, 255, 0.1);
    border-bottom: 1px solid rgba(0, 163, 255, 0.3);
}

nav a {
    color: #00d1ff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: 0.3s;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(0, 209, 255, 0.05);
    display: inline-block;
}

nav a:hover {
    background: rgba(0, 209, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.4);
}

/* --------------------- Headings --------------------- */
h1, h2, h3, h4, h5 {
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 209, 255, 0.5);
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }

/* --------------------- Images --------------------- */
img {
    max-width: 90%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    margin: 20px 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 209, 255, 0.15);
}

/* --------------------- الأزرار والروابط --------------------- */
a, button {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #050505, #101820);
    color: #00d1ff;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    margin: 10px 8px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 209, 255, 0.4);
    cursor: pointer;
    text-transform: uppercase;
}

a:hover, button:hover {
    background: linear-gradient(135deg, #00d1ff, #0055ff);
    color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 163, 255, 0.6);
}

/* --------------------- الحقول --------------------- */
input[type="text"], 
input[type="password"], 
input[type="number"], 
input[type="file"], 
textarea {
    width: 100%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 209, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    text-align: right;
}

input:focus, textarea:focus {
    border-color: #00d1ff;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.4);
    background: rgba(5, 22, 34, 0.8);
}

/* --------------------- قائمة تسجيل الدخول --------------------- */
.login-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(5, 15, 25, 0.95);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #00d1ff;
    box-shadow: 0 0 50px rgba(0, 209, 255, 0.2);
    z-index: 9999;
    width: 90%;
    max-width: 350px;
    transition: 0.3s ease-in-out;
}

.login-box h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #00d1ff;
}

/* --------------------- Containers --------------------- */
div {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(10, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 209, 255, 0.08);
}

/* --------------------- Notifications --------------------- */
#notification-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d1ff, #0055ff);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 209, 255, 0.4);
    display: none;
    z-index: 10000;
    font-weight: bold;
}

/* --------------------- الكود الجديد: نافذة تأكيد الحذف --------------------- */
.delete-confirm-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 5, 5, 0.98); /* لون داكن يميل للأحمر خفيفاً */
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 25px;
    border: 1px solid #ff4d4d; /* إطار أحمر للتنبيه */
    box-shadow: 0 0 60px rgba(255, 77, 77, 0.2);
    z-index: 10001;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.delete-confirm-box h3 {
    color: #ff4d4d;
    text-shadow: 0 0 15px rgba(255, 77, 77, 0.4);
    margin-bottom: 15px;
}

.delete-confirm-box p {
    color: #e0e6ed;
    margin-bottom: 25px;
    font-weight: 500;
}

.btn-confirm {
    background: linear-gradient(135deg, #ff4d4d, #b30000) !important;
    color: white !important;
    border-color: rgba(255, 77, 77, 0.5) !important;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e0e6ed !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* --------------------- الكود الخاص بك (تنسيقات الأساس) --------------------- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: radial-gradient(circle at center, #0a1118 0%, #000000 100%);
            color: #e0e6ed;
            line-height: 1.6;
            text-align: center;
            padding: 25px;
            font-size: 16px;
            min-height: 100vh;
        }

        nav {
            background: linear-gradient(90deg, #000000, #051622);
            padding: 18px;
            border-radius: 15px;
            margin-bottom: 35px;
            box-shadow: 0 10px 30px rgba(0, 163, 255, 0.1);
            border-bottom: 1px solid rgba(0, 163, 255, 0.3);
        }

        h1 { 
            font-size: 3.5rem; 
            color: #ffffff; 
            text-shadow: 0 0 20px rgba(0, 209, 255, 0.5);
            margin-bottom: 20px; 
        }

        