/* Luxury colors used in Kivy */
:root {
    /* Default - Dark Mode Colors (similar to your current theme) */
    --color-primary-dark-blue: #051A28; /* خلفية داكنة جداً (قريب من الأزرق النفطي الغامق) */
    --color-accent-blue: #106A9F; /* أزرق مميز للأزرار والعناوين */
    --color-text-light: #E0E6EB; /* لون نص فاتح ومريح للعين */
    --color-text-muted: #A0AABA; /* لون نص رمادي فاتح للنصوص الثانوية */
    --color-background-light: #0A2647; /* لون أغمق قليلاً للعناصر البارزة مثل الكونتينرات */
    --color-gradient-start: #1A334D; /* بداية تدرج لوني إذا استخدمت */
    --color-gradient-end: #0D1A26; /* نهاية تدرج لوني */
    --color-error: #D64C4C; /* لون أحمر للأخطاء */
    --color-button-hover: #147CBF; /* لون الأزرار عند المرور عليها بالماوس */
    --color-button-clear: #CC703C; /* لون مميز لزر المسح */
    --color-border: #2C4A6B; /* لون للحدود */
    --color-result-value: #63B8FF; /* لون أزرق فاتح مميز للنتائج */

    /* === المتغيرات المضافة / المعدلة لضبط شكل المربعات في الوضع الليلي === */
    --input-bg: #051A28; /* خلفية حقول الإدخال - تبقى داكنة في الوضع الليلي */
    --box-shadow-color-dark: rgba(0, 0, 0, 0.4); /* ظل للحاويات في الوضع الليلي (أكثر بروزاً) */
    --box-shadow-color-light: rgba(0, 0, 0, 0.2); /* ظل للأزرار وغيرها (أخف) */
    --box-shadow-inset: rgba(0, 0, 0, 0.2); /* ظل داخلي لصندوق النتائج */
}

/* Light Mode specific colors */
body.light-mode {
    --color-primary-dark-blue: #F0F4F8; /* خلفية فاتحة جداً (للون الرئيسي للخلفية) */
    --color-accent-blue: #005691; /* أزرق غامق للأزرار والعناوين */
    --color-text-light: #333333; /* لون نص داكن */
    --color-text-muted: #555555; /* لون نص رمادي داكن للنصوص الثانوية */
    --color-background-light: #FFFFFF; /* لون أفتح للعناصر البارزة (الحاويات) */
    --color-gradient-start: #E0E6EB;
    --color-gradient-end: #F0F4F8;
    --color-error: #CC0000; /* أحمر داكن للأخطاء */
    --color-button-hover: #007bb5; /* أزرق أغمق للهوفر */
    --color-button-clear: #E67E22; /* برتقالي للزر المسح */
    --color-border: #D1D9E0; /* لون أفتح للحدود */
    --color-result-value: #007BFF; /* أزرق متوسط للنتائج */

    /* === المتغيرات المضافة / المعدلة لضبط شكل المربعات في الوضع الفاتح === */
    --input-bg: #FFFFFF; /* خلفية حقول الإدخال في الوضع الفاتح */
    --box-shadow-color-dark: rgba(0, 0, 0, 0.2); /* ظل للحاويات في الوضع الفاتح (أخف) */
    --box-shadow-color-light: rgba(0, 0, 0, 0.1); /* ظل للأزرار وغيرها (أخف جداً) */
    --box-shadow-inset: rgba(0, 0, 0, 0.1); /* ظل داخلي لصندوق النتائج */
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-primary-dark-blue); /* استخدام اللون الأساسي للخلفية */
    color: var(--color-text-light); /* استخدام لون النص الفاتح */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* لجعل الفوتر يلتصق بالأسفل */
    transition: background-color 0.3s ease, color 0.3s ease; /* إضافة انتقال سلس */
}

/* === تم تغيير light-theme إلى light-mode ليتوافق مع style.css === */
body.dark-theme { /* هذا الكلاس يطبقه JavaScript */
    /* لا حاجة لتعريف الألوان هنا مجدداً لأنها معرفة في :root كافتراضيات */
}

body.light-theme { /* هذا الكلاس يطبقه JavaScript */
    /* يتم تطبيق المتغيرات الخاصة بالوضع الفاتح من body.light-mode */
}


.main-container {
    max-width: 900px; /* زيادة قليلاً لجعل المحتوى أوسع */
    margin: 40px auto; /* زيادة الهامش العلوي */
    padding: 30px; /* زيادة البادينغ */
    background-color: var(--color-background-light); /* استخدام لون خلفية أغمق للكونتينر */
    border-radius: 12px; /* زوايا أكثر استدارة */
    box-shadow: 0 8px 20px var(--box-shadow-color-dark); /* ظل أكثر بروزاً*/
    flex-grow: 1; /* لجعل المحتوى يملأ المساحة */
    border: 1px solid var(--color-border); /* إضافة حد خفيف */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.main-title {
    text-align: center;
    color: var(--color-accent-blue); /* استخدام لون أزرق مميز للعناوين */
    font-size: 2.8em; /* تكبير حجم الخط */
    margin-bottom: 10px; /* تقليل الهامش السفلي */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* ظل خفيف للنص */
    transition: color 0.3s ease;
}

/* تنسيقات جديدة للSubtitle */
.subtitle {
    text-align: center;
    color: var(--color-text-muted); /* لون رمادي فاتح للمقدمة */
    font-size: 1.2em;
    margin-bottom: 40px; /* زيادة المسافة بعد المقدمة */
    line-height: 1.5;
    transition: color 0.3s ease;
}

.menu-buttons-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* مرونة أكبر في الأعمدة */
    gap: 20px; /* زيادة المسافة بين الأزرار */
    justify-content: center;
    margin-top: 30px;
}

.menu-button {
    background-color: var(--color-accent-blue); /* استخدام اللون الأزرق المميز */
    color: white;
    padding: 18px 25px; /* زيادة البادينغ */
    border: none;
    border-radius: 8px; /* زوايا مستديرة أكثر */
    cursor: pointer;
    font-size: 1.3em; /* تكبير حجم الخط */
    font-weight: 600; /* جعل الخط أثقل */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* إضافة انتقال للتحول */
    display: flex; /* لترتيب الأيقونة والنص */
    align-items: center; /* توسيط عمودي */
    justify-content: center; /* توسيط أفقي */
    gap: 10px; /* مسافة بين الأيقونة والنص */
    box-shadow: 0 4px 10px var(--box-shadow-color-light); /* ظل خفيف للأزرار*/
}

.menu-button i { /* تنسيقات الأيقونات */
    font-size: 1.5em; /* حجم أكبر للأيقونات */
}

.menu-button:hover {
    background-color: var(--color-button-hover); /* استخدام لون الهوفر */
    transform: translateY(-3px); /* تأثير رفع بسيط عند الهوفر */
}

/* Styles for detail calculation pages */
/* === تم تغيير calculation-section إلى calculation-container لتوحيد التنسيق === */
.calculation-container, .calculation-section { /* أضفت .calculation-section هنا */
    max-width: 700px;
    margin: 30px auto;
    padding: 25px;
    background-color: var(--color-background-light); /* يستخدم لون الخلفية الأفتح للحاويات*/
    border-radius: 12px; /* */
    box-shadow: 0 6px 15px var(--box-shadow-color-dark); /* يستخدم الظل الداكن للمربعات الكبيرة*/
    border: 1px solid var(--color-border);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.calculation-container h1, .calculation-section h2.section-title { /* أضفت .calculation-section h2.section-title هنا */
    text-align: center;
    color: var(--color-accent-blue);
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-border); /* خط تحت العنوان */
    padding-bottom: 10px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

/* تنسيق جديد لشرح الحاسبة */
.calculation-description {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.0em;
    margin-bottom: 30px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.input-group input[type="number"],
.input-group input[type="text"],
.input-group select { /* أضفت select هنا للتأكد من تنسيقها أيضاً */
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px; /* توحيد استدارة الحواف*/
    background-color: var(--input-bg); /* يستخدم متغير --input-bg لخلفية حقول الإدخال*/
    color: var(--color-text-light);
    font-size: 1.1em;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.input-group input[type="number"]::placeholder,
.input-group input[type="text"]::placeholder {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

/* === تم إضافة تنسيق للأزرار المشابهة لـ button-group لكن بكلاسات منفصلة === */
.calc-button, .clear-button { /* تنسيقات الأزرار الفردية */
    display: block; /* لضمان أخذ العرض الكامل */
    width: 100%; /* لضمان أخذ العرض الكامل */
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px var(--box-shadow-color-light);
    margin-top: 15px; /* لإعطاء مسافة بين الأزرار وحقول الإدخال */
}

/* لتجميع الأزرار معاً في صف واحد */
.button-group {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 25px;
}

/* لإعطاء تنسيقات محددة لأزرار المجموعة */
.button-group button {
    flex: 1; /* لجعل الأزرار تتوزع بالتساوي */
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px var(--box-shadow-color-light);
}

.button-group button.calculate, .calc-button { /* أضفت .calc-button هنا */
    background-color: var(--color-accent-blue);
    color: white;
}

.button-group button.calculate:hover, .calc-button:hover { /* أضفت .calc-button:hover هنا */
    background-color: var(--color-button-hover);
    transform: translateY(-3px);
}

.button-group button.clear, .clear-button { /* أضفت .clear-button هنا */
    background-color: var(--color-button-clear);
    color: white;
}

.button-group button.clear:hover, .clear-button:hover { /* أضفت .clear-button:hover هنا */
    background-color: #A6572A;
    transform: translateY(-3px);
}

/* === تم إضافة .result-area ليتوافق مع HTML === */
.result-box, .result-area { /* أضفت .result-area هنا */
    background-color: var(--color-background-light); /* يستخدم لون الخلفية الأفتح لصندوق النتائج*/
    border: 1px solid var(--color-border);
    border-radius: 12px; /* زوايا مستديرة أكثر*/
    padding: 20px;
    margin-top: 30px;
    font-size: 1.2em;
    color: var(--color-text-light);
    text-align: center;
    box-shadow: 0 4px 15px var(--box-shadow-color-dark); /* ظل خارجي للحاويات*/
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.result-box p {
    margin: 0;
    padding: 5px 0;
    color: var(--color-text-light); /* لضمان لون نص صحيح */
    transition: color 0.3s ease;
}

.result-box span.value {
    font-weight: bold;
    color: var(--color-result-value); /* لون أزرق فاتح مميز للنتائج */
    font-size: 1.3em;
    transition: color 0.3s ease;
}

.error-message {
    color: var(--color-error); /* استخدام لون الخطأ*/
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.back-button-container {
    text-align: center;
    margin-top: 30px;
}

.back-button-container a {
    display: inline-block;
    background-color: var(--color-button-clear); /* يمكن استخدام نفس لون زر المسح أو لون آخر*/
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px var(--box-shadow-color-light); /* يستخدم الظل الخفيف للأزرار*/
}

.back-button-container a:hover {
    background-color: #A6572A;
    transform: translateY(-3px);
}

/* Info text (General and Fundamentals pages) */
.info-content {
    font-size: 16px;
    line-height: 1.6;
    text-align: right; /* تم تعديله ليتناسب مع اللغة العربية */
    margin-bottom: 20px;
    color: var(--color-text-light); /* لون النص */
    transition: color 0.3s ease;
}

.info-content h3 {
    color: var(--color-accent-blue);
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: right; /* تم تعديله ليتناسب مع اللغة العربية */
    transition: color 0.3s ease;
}

.info-content ul {
    list-style-type: disc;
    padding-right: 20px; /* تم تعديل البادينغ ليتناسب مع RTL */
    padding-left: 0; /* إلغاء البادينغ لـ LTR */
}

.info-content li {
    margin-bottom: 8px;
}

/* Footer Styles */
.footer {
    background-color: var(--color-background-light); /* لون أغمق للفوتر*/
    color: var(--color-text-light);
    text-align: center;
    padding: 15px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 10px var(--box-shadow-color-dark); /* ظل أقوى*/
    margin-top: 50px;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.footer-links a {
    color: var(--color-result-value); /* لون أزرق للروابط*/
    text-decoration: none;
    margin: 0 15px; /* زيادة المسافة بين الروابط */
    font-size: 0.95em; /* تكبير الخط قليلاً */
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #99D9FF; /* لون أفتح للهوفر */
    text-decoration: underline;
}

.footer p {
    margin-top: 10px;
    font-size: 0.85em; /* تكبير الخط قليلاً */
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}
/* Social Links in About Page */
.social-links-about {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    text-align: center;
    transition: border-color 0.3s ease;
}

.social-links-about p {
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.social-links-about a {
    color: var(--color-accent-blue);
    text-decoration: none;
    font-size: 1.2em;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-links-about a:hover {
    color: var(--color-button-hover);
    text-decoration: underline;
}

.social-links-about i {
    margin-left: 8px; /* مسافة بين الأيقونة والنص */
}

/* Styles for the mode toggle button */
.mode-toggle-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--color-accent-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--box-shadow-color-dark); /* يستخدم الظل الداكن*/
    z-index: 1000; /* Ensure it stays on top */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.mode-toggle-button:hover {
    background-color: var(--color-button-hover);
    transform: scale(1.05);
}

.mode-toggle-button .fa-sun, .mode-toggle-button .fa-moon {
    /* These will be controlled by JS for display: none/inline-block */
    transition: opacity 0.3s ease, color 0.3s ease; /* Added color transition */
}

/* --- IMPORTANT: Corrected Dark/Light Mode Icon Display Logic --- */
/* تم تعديل هذا الجزء ليتوافق مع .light-mode في :root وليس body.light-theme */
body.light-mode .mode-toggle-button .fa-sun {
    display: none; /* Hide sun icon in light mode */
}
body.light-mode .mode-toggle-button .fa-moon {
    display: inline-block; /* Show moon icon in light mode */
    color: var(--color-text-light); /* Ensure moon icon color changes */
}

/* بما أن dark-mode هو الافتراضي، لا نحتاج لكلاس خاص به في body، بل يكفي أن يكون الكلاس غير موجود */
body:not(.light-mode) .mode-toggle-button .fa-moon { /* يخفي القمر إذا لم يكن الوضع فاتحاً */
    display: none;
}
body:not(.light-mode) .mode-toggle-button .fa-sun { /* يظهر الشمس إذا لم يكن الوضع فاتحاً */
    display: inline-block;
    color: #FFD700; /* Sun icon color (yellow) */
}


/* --- New styles for Video Links (from videos.html) --- */
.info-section {
    background-color: var(--color-background-light); /* Use background color from theme*/
    border-radius: 12px; /* زوايا مستديرة أكثر*/
    box-shadow: 0 4px 15px var(--box-shadow-color-dark); /* يستخدم الظل الداكن*/
    padding: 30px;
    margin-top: 30px;
    text-align: left; /* Align text to the left within this section */
    border: 1px solid var(--color-border); /* Add border */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-section h2.section-title { /* Added .section-title to be more specific */
    color: var(--color-accent-blue);
    margin-bottom: 20px;
    font-size: 1.6em;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 10px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.info-section p {
    color: var(--color-text-muted); /* Ensure text within info-section respects theme */
    margin-top: 15px;
    font-size: 1em;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.info-section p.guidance-text { /* Specific style for guidance text */
    font-style: italic;
    font-size: 0.9em;
    color: var(--color-text-muted);
    margin-top: 10px;
}

.video-link-container {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center; /* Center the link button */
}

.video-link-container a {
    display: inline-flex; /* Use inline-flex for centering icon and text */
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-blue); /* Consistent button color */
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px var(--box-shadow-color-light); /* يستخدم الظل الخفيف للأزرار*/
    gap: 10px; /* Space between icon and text */
    min-width: 250px; /* Ensure button has a minimum width */
}

.video-link-container a:hover {
    background-color: var(--color-button-hover);
    transform: translateY(-3px);
}

.video-link-container a .fab.fa-youtube {
    color: #FF0000; /* YouTube red color */
    font-size: 1.3em; /* Larger icon */
    transition: color 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-container {
        margin: 20px 10px;
        padding: 20px;
    }
    .main-title {
        font-size: 2.2em;
    }
    .subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .menu-buttons-layout {
        grid-template-columns: 1fr; /* Stack buttons on small screens */
    }
    .menu-button {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .calculation-container, .calculation-section { /* أضفت .calculation-section هنا */
        margin: 20px 10px;
        padding: 20px;
    }
    .calculation-container h1, .calculation-section h2.section-title { /* أضفت .calculation-section h2.section-title هنا */
        font-size: 1.8em;
    }
    .input-group label {
        font-size: 1em;
    }
    .input-group input, .input-group select { /* أضفت select هنا للتأكد من تنسيقها أيضاً*/
        font-size: 1em;
        padding: 10px;
    }
    .button-group {
        flex-direction: column; /* Stack buttons on small screens */
    }
    .button-group button, .calc-button, .clear-button { /* أضفت .calc-button, .clear-button هنا */
        font-size: 1em;
        padding: 12px 15px;
        min-width: unset; /* Remove min-width for stacking */
    }
    .result-box, .result-area { /* أضفت .result-area هنا */
        font-size: 1.1em;
        padding: 15px;
    }
    .result-box span.value {
        font-size: 1.2em;
    }
    .back-button-container a {
        font-size: 1em;
        padding: 10px 20px;
    }
    .info-section {
        padding: 20px;
    }
    .info-section h2 {
        font-size: 1.4em;
    }
    .video-link-container a {
        font-size: 1em;
        padding: 12px 20px;
        min-width: unset; /* Allow button to shrink on small screens */
    }
}

/* تنسيقات خاصة بحاوية الرسم البياني */
.chart-container {
    width: 100%;
    max-width: 700px; /* يمكنك تعديل هذا لتناسب تصميمك */
    height: 400px; /* لتحديد ارتفاع ثابت للكانفاس */
    margin: 20px auto;
    background-color: var(--color-background-light); /* يستخدم لون خلفية الحاويات وليس المدخلات*/
    padding: 20px;
    border-radius: 12px; /* توحيد الاستدارة*/
    box-shadow: 0 6px 15px var(--box-shadow-color-dark); /* */
    border: 1px solid var(--color-border);
    display: flex; /* لضمان أن الكانفاس يتمدد */
    flex-direction: column;
    justify-content: flex-start; /* === تم التعديل: لتبدأ العناصر من الأعلى وتسمح لـ flex-grow بالعمل === */
    align-items: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    gap: 15px; /* === إضافة مسافة بين العناصر داخل chart-container (inputs, buttons, chart-display-box) === */
}

/* تنسيقات خاصة بصندوق عرض الرسم البياني (result-box chart-display-box) */
/* هذا الكلاس يمثل الصندوق الذي يحتوي على عنوان الرسم البياني والكانفاس */
.chart-display-box {
    flex-grow: 1; /* === جديد: لجعل هذا الصندوق يملأ المساحة المتبقية عمودياً داخل chart-container === */
    width: 100%; /* تأكد من أنه يملأ العرض المتاح */
    display: flex; /* === جديد: لتمكين flexbox داخله للتحكم في الـ h3 والكانفاس === */
    flex-direction: column; /* === جديد: ترتيب العناصر داخله عمودياً === */
    overflow: hidden; /* === جديد: لمنع الرسم البياني من الامتداد خارج هذا الصندوق === */
    /* خصائص .result-box تطبق تلقائياً (padding, background, border, etc.) */
}

/* تنسيقات خاصة بالكانفاس نفسه (عنصر الرسم البياني) */
#myLineChart {
    width: 100% !important; /* === جديد: لضمان أن الكانفاس يملأ عرض الصندوق الأب === */
    height: 100% !important; /* === جديد: لضمان أن الكانفاس يملأ ارتفاع الصندوق الأب === */
    /* استخدام !important للتأكد من تجاوز أي أنماط داخلية قد يضيفها Chart.js */
    display: block; /* لضمان سلوك الكانفاس كعنصر كتلة */
}

/* تنسيق رسالة الخطأ (موجود بالفعل، لكن نضعه هنا للتوضيح) */
/* هذا الكلاس موجود بالفعل في الكود الذي أرسلته، هذا فقط لتوحيد موضعه في الشرح */
.error-message {
    color: var(--color-error);
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}