/* تنسيق عام للصفحة */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: right;
    direction: rtl;
    background-color: #f4f4f9;
}

/* تنسيق الترويسة */
header {
    background-color: #0044cc;
    color: white;
    padding: 1em 0;
    text-align: center;
    position: relative;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* حاوية الوقت */
#timeContainer {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

/* العد التنازلي */
#countdown {
    font-size: 1.5em;
    background-color: #333;
    color: white;
    padding: 0.5em;
    border-radius: 5px;
    border: 1px solid #333;
    margin-right: 10px;
}

/* الوقت الحالي */
#currentTime {
    font-size: 1.5em;
    color: white;
}

/* سعر البيتكوين */
#bitcoinPrice {
    margin-top: 10px;
    font-size: 2.2em;
    color: white;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

/* تنسيق الجدول */
main {
    padding: 2em;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #4CAF50;
    color: white;
}

إخفاء الأعمدة المحددة
#priceTable th:nth-child(3),
#priceTable th:nth-child(4),
#priceTable th:nth-child(5),
#priceTable th:nth-child(8),
#priceTable th:nth-child(9),
#priceTable th:nth-child(10),
#priceTable th:nth-child(12) {
    display: none;
}

#priceTable td:nth-child(3),
#priceTable td:nth-child(4),
#priceTable td:nth-child(5),
#priceTable td:nth-child(8),
#priceTable td:nth-child(9),
#priceTable td:nth-child(10),
#priceTable td:nth-child(12) {
    display: none;
}

/* تنسيق الأعمدة الفردية والزوجية */
#priceTable th:nth-child(6),
#priceTable th:nth-child(2) {
    background-color: blue;
}

#priceTable th:nth-child(7),
#priceTable th:nth-child(11) {
    background-color: red;
}

#priceTable td:nth-child(1) {
    font-weight: bold;
    color: GREEN;
}
#priceTable td:nth-child(2),
#priceTable td:nth-child(6) {
    font-weight: bold;
    color: BLUE;
}
#priceTable td:nth-child(7),
#priceTable td:nth-child(11) {
    font-weight: bold;
    color: RED;
}

#priceTable td:nth-child(2) span,
#priceTable td:nth-child(3) span,
#priceTable td:nth-child(7) span,
#priceTable td:nth-child(8) span {
    color: red;
}

/* تنسيق خاص لإشعار التحديث */
#notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: yellow;
    color: black;
    padding: 1em;
    border-radius: 5px;
    display: none; /* إخفاء الإشعار افتراضياً */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
