/* الخط */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&display=swap');

/* حركة دخول العناصر */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(12px);}
    to {opacity: 1; transform: translateY(0);}
}

/* خلفية متدرجة رايقة */
body {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #05351c, #0a6b46);
    color: #fff;
    margin: 0;
    padding: 0;
    animation: fadeIn .6s ease-in-out;
}

/* صندوق زجاجي (Glass Effect) */
.container, .center-box {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    padding: 30px;
    max-width: 900px;
    margin: 60px auto;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    animation: fadeIn .7s ease-in-out;
}

/* العناوين */
h1, h2, h3 {
    text-align: center;
    color: #FFD700;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #000;
}

/* المدخلات */
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #000;
    font-size: 15px;
    transition: .3s;
}
input:focus, select:focus {
    box-shadow: 0 0 10px #00ffb7;
    transform: scale(1.02);
}

/* الأزرار */
button, .btn {
    padding: 12px 18px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    color: #fff;
}

/* أزرار أساسية */
.btn-primary, button[type="submit"] {
    background: #28a745;
}
.btn-primary:hover, button[type="submit"]:hover {
    background: #1e7e34;
    transform: translateY(-2px);
}

/* زر خروج */
.btn-danger {
    background: #c0392b;
}
.btn-danger:hover {
    background: #922b21;
    transform: translateY(-2px);
}

/* زر بنفسجي */
.btn-purple {
    background: #9b59b6;
}
.btn-purple:hover {
    background: #8e44ad;
    transform: translateY(-2px);
}

/* الجداول */
.table-box {overflow:auto;margin-top:25px;}
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.95);
    color: #000;
    animation: fadeIn .8s ease-in-out;
}
th, td {
    border: 1px solid #444;
    padding: 8px;
    text-align: center;
}
th {
    background: #0a6b46 !important;
    color: #fff;
    text-shadow: 0 0 5px #000;
}

/* الهيدر */
.header {
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    padding: 15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:19px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.header a {
    text-decoration:none;
    padding:8px 14px;
    border-radius:6px;
    font-weight:bold;
}