@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/Tajawal-Medium.ttf') format('truetype'); /* صيغة TTF */
    font-display: swap;
}



body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.site-title {
    text-decoration: none; /* إزالة الخط السفلي */
    color: inherit; /* استخدام لون النص الحالي */
    font-size: 1em; /* حجم الخط */
    font-weight: bold; /* الخط الغامق لجعل العنوان بارزًا */
    display: inline-block; /* لجعل العنوان يبدو كعنصر كتلة */
}

.site-title:hover {
    cursor: pointer; /* لتغيير شكل المؤشر عند التمرير */
}

.notification {
    background-color: #4CAF50;
    color: white;
    padding: 15px 50px 15px 15px; /* تعديل البادينغ ليكون كافيًا للمحتوى */
    text-align: right;
    position: relative;
}

.notification button {
    background-color: #ff4d4d;
    border: none;
    color: white;
    font-size: 16px;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    position: absolute;
    left: 10px; /* جعل الزر أقرب إلى الزاوية اليسرى */
    top: 10px; /* رفع الزر قليلاً للأعلى */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.notification button:hover {
    background-color: #e63939;
    transform: scale(1.1);
}

.button-link {
    display: inline-block;
    background-color: white;
    color: #0088cc;
    padding: 3px 8px; /* تقليل البادينغ لجعل الزر أصغر */
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #0088cc;
    font-weight: bold;
    font-size: 14px; /* جعل الخط أصغر */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.button-link:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

#show-notification-button {
    position: fixed; /* ثابت على جانب الشاشة */
    left: 0; /* على الجانب الأيسر */
    top: 50%; /* في منتصف الصفحة عمودياً */
    transform: translateY(-50%);
    background-color: #0088cc;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 0 5px 5px 0; /* زوايا مستديرة فقط من الجانب الأيمن */
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 18px;
}

#show-notification-button:hover {
    background-color: #006699;
}

.notification .bell-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

header {
    background-color: white;
    color: #1A237E; /* Dark blue color for the site name */
    text-align: right;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow to the bottom of the header */
}

header h1 {
    margin: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.exam-results, .exam-results-table, .previous-results, .facebook-subscribe {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.exam-results h2, .exam-results-table h2, .previous-results h2, .facebook-subscribe h2 {
    color: #1A237E;
    margin-top: 0;
}

.exam-results p {
    margin: 10px 0;
    color: #333;
}

.exam-results .telegram-button {
    display: inline-block;
    background-color: #0088cc;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.exam-results .telegram-button:hover {
    background-color: #006699;
}

.telegram-icon {
    vertical-align: middle;
    margin-right: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
    color: #333;
}

.available {
    background-color: #dff0d8;
    color: #3c763d;
}

.download-button {
    display: inline-block;
    background-color: #0088cc;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 10px;
    border: 2px dotted #006699;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #006699;
}

.download-button-soon {
    display: inline-block;
    background-color: #709599;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 10px;
    border: 2px dotted #5a797d;
    transition: background-color 0.3s;
}

.download-button-soon:hover {
    background-color: #006699;
}
.previous-results .year-button {
    background-color: #00bcd4;
    color: white;
    padding: 15px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    margin: 10px auto;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 500px;
    display: block;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: bold;
}

.previous-results .year-button i {
    color: #f0c674; /* Windows folder color */
    margin-right: 10px;
}

.previous-results .year-button:hover {
    background-color: #008c9e;
}

.year-links {
    display: none;
    margin-top: 10px;
    text-align: right;
    padding-right: 20px;
}

.year-links a {
    display: block;
    color: #333;
    text-decoration: none;
    margin: 5px 0;
    font-size: 16px;
}

.facebook-subscribe .facebook-button {
    display: inline-block;
    background-color: #3b5998;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    font-family: 'Tajawal', sans-serif;
}

.facebook-subscribe .facebook-button:hover {
    background-color: #1c4902;
}

footer {
    background-color: #1c4902;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

@keyframes bell-ring {
    0% { transform: translateY(-50%) rotate(0deg); }
    25% { transform: translateY(-50%) rotate(20deg); }
    50% { transform: translateY(-50%) rotate(-20deg); }
    75% { transform: translateY(-50%) rotate(10deg); }
    100% { transform: translateY(-50%) rotate(0deg); }
}

.bell-icon {
    animation: bell-ring 1s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.latest-news {
    background-color: #fff9c4; /* لون خلفية أصفر هادئ */
    color: #333; /* لون النص بالأسود ليكون واضحًا */
    padding: 15px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    border-radius: 10px; /* زوايا مستديرة للصندوق */
    font-family: 'Tajawal', sans-serif;
}

.latest-news h2 {
    margin: 0;
    font-size: 28px;
    color: #1c4902; /* لون العنوان أحمر داكن لجذب الانتباه */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.latest-news p {
    margin: 10px 0;
    font-size: 20px;
    line-height: 1.6;
}

.news-item {
    margin-bottom: 10px;
}

.news-date {
    display: inline-block;
    padding: 2px 5px;
    background-color: maroon; /* لون أزرق أنيق */
    color: white;
    border-radius: 8px;
    font-weight: bold;
    margin-left: 10px;
}

.news-text {
    font-size: 20px;
    color: #1c4902;
}

.urgent-icon {
    font-size: 28px; /* حجم الرمز ليكون واضحًا */
    animation: blink 1s infinite; /* تأثير وميض */
    color: #1c4902; /* لون الرمز أحمر داكن لجذب الانتباه */
}
