/*-------------------------------------------------------------------------الاساسيييية ------------------------------------------------------------------------*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: rgb(0, 10, 153);
    color: white;
    position: relative;
    width: 100%;
    top: 0;
    text-align: center;
    font-size: 30px;


}

.header-section {
    text-align: center;
    padding: 20px;
    margin: 0px 0;
    position: relative;
}

body {
    margin-bottom: 55px;
    /* المسافة بين المحتوى والفوتر */
    background-color: rgb(255, 255, 255);
    margin: 0;
    /* إزالة الهامش الافتراضي */

}

footer {
    background-color: rgb(136, 136, 136);
    color: white;
    padding: 9px;
    width: 100%;
    text-align: center;
    font-size: 25px;
    margin-top: auto;
    /* هذا يجعل الفوتر دائمًا في أسفل الصفحة */

}

main {
    flex: 1;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --------------تصميم هيكل الصفحات الموحد لدليل التقنية ------------*/

.menu-word ul {
    padding-right: 275px;
}

.menu-word a:hover {
    color: rgb(136, 136, 136);

}

.button-logo-header {
    background-color: rgb(0, 10, 153);
    border: none;
    cursor: pointer;
    /* تغيير المؤشر عند المرور على الزر */
}

.logo-dalel {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 10px;
}

.logo-dalel img {
    width: 55px;
    height: 55px;
}

.logo-dalel a {
    color: rgb(255, 255, 255);
    /* لون النص */
    font-size: 30px;

}

.user-icon {
    display: flex;
    align-items: center;
    gap: 8px;

}

.user-icon img {
    width: 27px;
    height: 27px;
    background-color: #ffffff;
    border: 2px solid #333;
    padding: 2px;
    border-radius: 8px;
}


.menu-word {
    display: flex;
    align-items: center;
}

.menu-icon {
    margin-top: 12px;
    color: black;

}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    /* مخفي بالكامل */
    width: 250px;
    height: 100%;
    background-color: #2c3e50;
    padding: 50px 20px;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.3);
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 200;
}

.sidebar.open {
    left: 0;
    /* عند الفتح */
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin: 25px 0;
        text-align: center;

}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: #f1c40f;
}

/* Menu Icon */
.menu-icon {

    width: 35px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 300;
}

.menu-icon .bar {
    width: 100%;
    height: 4px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* التحويل إلى X عند الفتح */
.menu-icon.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* إضافة Overlay عند الفتح */
body.sidebar-open::before {
    content: "";

    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 150;
    transition: opacity 0.5s ease;
}

/* ------------- اكواد موحدة -------------------*/
a {
    text-decoration: none;
    color: #000;
}

.Title-title {
    margin-top: 28px;
    font-size: 2.1em;
    text-align: center;
    font-weight: bold;
    /* لجعل النص يظهر بخط عريض */
    color: #006699;
}

#Hs-margin-top {
    margin-top: 200px;
}

.text {
    position: absolute;
    bottom: 20px;
    /* إزاحة النص إلى أسفل */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    /* اللون الأبيض ليتناسب مع خلفية شريط العرض */
}

h2 {
    margin-bottom: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    flex-direction: row-reverse;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1em;

}

.video-container {
    flex: 1;
    /* يجعل الفيديو يأخذ المساحة المتبقية */
    text-align: right;
    /* لمحاذاة الفيديو لليمين */
}

.like {
    font-size: 1.1em;
}

.button {
    background-color: #008cba;
    color: rgb(0, 0, 0);
    padding: 7px 14px;
    font-style: oblique;
    text-decoration: none;
    border-radius: 40px;
    font-size: 20px;
    justify-content: left;
    display: inline-block;
    margin-top: 10px;
    /* مسافة بين النص والزر */
}

.button:hover {
    box-shadow: 0px 12px 4px 0px #555;
    padding: 12px 19px;
}

.delete-button {
    background: none;
    border: none;
    color: #0b3a6a;
    cursor: pointer;
    font-size: 24px;
}

.add-question button {
    font-size: 24px;
    padding: 10px 20px;
    background-color: #0b3a6a;
    color: #fff;
    border: none;
    cursor: pointer;
}

.text h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.text p {
    font-size: 18px;
    margin-bottom: 20px;
}

/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
*/
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------
/*--------------------------------------------------------------------------------------------------------------------------------------------------------

/* -----------------------------------------------------     Home Mr   -----------------------------------------------------------------------------------*/

.home-Mr {
    background-color: rgb(136, 136, 136);
    padding: 80px 20px;
    height: 600px;
    margin: 20px 200px 60px 200px;
    list-style: none;
    color: white;
    border: 2px solid black;
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
    opacity: 0.95;

}

.home-Mr:hover {
    background-color: rgb(139, 139, 139);
    opacity: 0.98;
    transition: opacity 0.3s ease;

}

.home-Mr button {
    position: relative;
    bottom: 100px;
    background-color: rgb(0, 9, 131);
    border: 10px solid black;
    border-radius: 4px;
    color: #ffffff;
    width: 450px;
    height: 220px;
    border: none;
    white-space: nowrap;
    /* لمنع التفاف العناصر إلى السطر التالي */
    align-items: center;
    /* يوسّط العناصر عموديًا */
    display: inline-block;
    /* وضع الأزرار في نفس السطر */
    font-size: 30px;
    margin: 10px 5px 10px 5px;
    font-weight: bold;
    /* لجعل النص يظهر بخط عريض */
    box-shadow: #000 3px 4px 1px 1px;

}


.home-Mr button:hover {
    background-color: #b6b6b6;
    /* تغيير الخلفية   */
    transition: box-shadow 0.3s ease;
    transform: scale(1.05);
    transition: transform 0.3s ease;
    transition: background-color 0.3s ease;
    transition: opacity 0.3s ease;
    border: 1px solid rgb(187, 187, 187);
    /* إضافة اطار عند التمرير */
    transition: border 0.9s ease;
    box-shadow: inset 1px 1px 6px 6px #3498db;
    /* إضافة ظل داخلي */
    transition: box-shadow 0.3s ease;
    transform: translateY(-10px);
    /* رفع العنصر قليلاً */
    transition: transform 0.5s ease, opacity 0.3s ease;
    color: rgb(0, 0, 0);
    cursor: pointer;
    /* تغيير شكل الماوس إلى يد */
    text-shadow: rgb(165, 165, 165) 16px 16px 16px 16px;



}

.text-Mr {
    position: relative;
    font-size: 46px;
    bottom: 80px;
    color: #000;
}



/*-------------------------------------- Create acc -------------------------------------------------*/


/* تعيين أنماط الأزرار */



.radio-container {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    margin-right: 25px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
}

input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    bottom: 0;
    left: 110px;
    height: 25px;
    width: 25px;
    background-color: #999999;
    border-radius: 50%;
    /* جعل الزر دائري */
    transition: background-color 0.3s ease;


}

.radio-container input:checked~.checkmark {
    background-color: rgb(0, 0, 0);
    /* تغيير اللون عند التحديد */
}

.radio-container input:checked~.checkmark:after {
    content: "";
    display: flex;
    justify-self: center;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: rgb(211, 211, 211);
}

.radio-container:hover .checkmark {
    background-color: rgb(66, 66, 66);
}


.login-formadd:hover {

    border-radius: 6px;
    box-shadow: 1px 1px 3px rgb(255, 255, 255),
        -1px -1px 3px rgb(214, 214, 214);

}

.login-formadd {
    padding: 30px;
    margin-top: 50px;
    width: 400px;
    height: 650px;
    border: 1px solid #000000;
    background-color: #ffffff;
    border-radius: 5px;
    opacity: 0.94;
    font-weight: bold;
}

.login-formadd h2 {
    margin-bottom: 40px;

}

.login-formadd input {
    width: 100%;
    padding: 10px;
    margin: 10px 0px 10px 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-formadd button {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: larger;
}

.login-formadd a {
    display: block;
    margin-top: 5px;
    padding: 10px;

    color: rgb(255, 255, 255);
    background-color: black;
    text-decoration: none;
    width: 100%;
    border: none;
    border-radius: 5px;
}

.login-formadd a:hover {
    color: rgb(214, 214, 214);
}

/* ----------------------------------------------     Page FAQ    --------------------------------------------*/

/* زر إضافة سؤال جديد مستقل */
#addQuestionBtnContainer {
    display: flex;
    justify-content: flex-end;
    max-width: 1400px;
    margin: 10px auto;
    padding-right: 20px;
}

#addQuestionBtn {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .2);
    transition: all 0.3s ease;
}

#addQuestionBtn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}

/* الحاوية العامة */
.fa-t-container {
    max-width: 1400px;
    margin: 10px auto 100px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

/* كل كرت سؤال */
.fa-t-question-box {
    background: #f9fbfd;
    border-radius: 16px;
    padding: 15px;
    transition: .35s ease, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    border: 1px solid #e4e9ee;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.fa-t-question-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .15);
}

/* صف السؤال */
.fa-t-question-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* السؤال */
.fa-t-question {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    color: #033E5A;
    transition: .3s color ease;
}

.fa-t-question-box:hover .fa-t-question {
    color: #006699;
}

/* السهم */
.fa-t-toggle-icon {
    font-size: 22px;
    cursor: pointer;
    color: #033E5A;
    transition: .35s transform ease, .35s color ease;
}

.fa-t-toggle-icon.rotate {
    transform: rotate(180deg) scale(1.2);
    color: #FF6B6B;
}

/* الإجابة */
.fa-t-answer {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0 18px;
    background: linear-gradient(90deg, #eef4f7, #f0f8ff);
    border-radius: 12px;
    border-left: 3px solid #033E5A;
    color: #333;
    line-height: 1.8;
    transition: max-height 0.5s ease, margin-top 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    font-size: 16px;
}

.fa-t-answer.fa-t-show {
    max-height: 600px;
    padding: 18px;
    margin-top: 15px;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}

/* أزرار تعديل وحذف */
.fa-t-edit-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.fa-t-edit-buttons button {
    padding: 5px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: .3s ease;
}

.edit-btn {
    background: #007BFF;
    color: #fff;
}

.edit-btn:hover {
    background: #0066cc;
}

.delete-btn {
    background: #FF4C4C;
    color: #fff;
}

.delete-btn:hover {
    background: #d33;
}

/* حاوية تعديل السؤال */
#editContainer {
    display: none;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f0f8ff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
}

#editContainer h3 {
    margin-bottom: 15px;
    color: #033E5A;
}

#editContainer input,
#editContainer textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

#editContainer button {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s ease;
}

#editContainer button:hover {
    background: #0066cc;
}

/* تأثير الكرت عند فتح السؤال */
.fa-t-question-box.fa-t-active {
    transform: scale(1.02);
    border-color: #006699;
}

/* خطوط متدرجة */
.fa-t-question-box:nth-child(odd) {
    background: linear-gradient(120deg, #f5f9ff, #e6f0fa);
}

.fa-t-question-box:nth-child(even) {
    background: linear-gradient(120deg, #ffffff, #f0f6fa);
}

/* أنيميشن */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ريسبونسف */
@media(max-width:600px) {
    .fa-t-question {
        font-size: 16px;
    }

    .fa-t-answer {
        font-size: 15px;
    }

    .fa-t-container {
        padding: 15px;
        gap: 15px;
    }

    #addQuestionBtnContainer {
        padding-right: 10px;
    }
}

/*------------------------------------------------    ADS    ------------------------------------------------------------------*/

.fa-m-home-c {
    width: 1675px;
    height: 600px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 120px 20px 285px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-self: center;

    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: groove 1px #8f8f8f;

}

.fa-m-container2 {

    background-color: rgb(243, 243, 243);
    width: 300px;
    height: 220px;
    padding: 5px;
    margin: 7px;
    border-radius: 15px;
    border: groove #000000;
    display: flex;
    display: block;
}

.fa-m-container {
    background-color: #6d6d6d;
    width: 400px;
    height: 350px;
    padding: 5px;
    margin: 30px 10px 90px 10px;
    border-radius: 15px;
    border: groove #000000;
    float: left;
}


.fa-m-card {
    width: 370px;
    height: 290px;
    border-radius: 10px;
    margin: 10px;
    background: none;
    color: #000000;
    font-size: 28px;
}

.fa-m-card-image {
    font-size: 50px;
    color: #ddd;
}

/*زر اضافة مبرمج مع جافا سكربت*/
.fa-m-add-question {
    width: 100%;
    text-align: center;
}

.fa-m-image-container {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fa-m-image-container img {
    width: 700px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* -------------------------------------------------------------   FAQ    ------------------------------------------------------*/
.fa-a-question-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    max-height: max-content;
    margin: 160px 80px 285px 70px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: groove 1px #8f8f8f;
}

.fa-a-question-box {
    width: 800px;
    padding: 10px;
    margin: 25px 15px 0px 37px;
    background-color: #8f8f8f;
    position: relative;
    margin-top: 10px;
    border: 1px #000000 solid;

    border-radius: 10px;
    text-align: right;

}

.fa-a-like-counter {

    color: #ffffff;
    text-align: left;
    font-size: 18px;
}

.fa-a-edit-button,


.fa-a-question,
.fa-a-answer {
    width: 100%;
    margin-top: 10px;
    padding: 3px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 18px;
}

.fa-a-add-question {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;

}

.fa-a-add-question button {
    font-size: 38px;
    padding: 1px;
    margin: 20px 0px 0px 0px;
    width: 100%;
    height: 100%;
    border-radius: 0px 0px 16px 16px;
    background-color: rgb(0, 9, 134);
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.fa-a-send {
    width: 120px;
    padding: 5px;
    margin: 5px 0px 0px 5px;
    background-color: rgb(197, 197, 197);
    color: rgb(0, 0, 0);
    border: 2px solid rgba(0, 0, 0, 0.6);
    ;
    cursor: pointer;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    float: right;
    opacity: 0.8;

}

.fa-a-send:hover {
    opacity: 1;
    background-color: rgb(219, 219, 219);
}

.delete-button {
    float: left;
    font-size: 30px;
    opacity: 0.8;
}

.delete-button:hover {
    font-size: 31px;
    opacity: 1;
}

/*
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
*/

/* -----------------------------------------------------    Comments    -------------------------------------------------------- */
.mo-am-platform-name {
    font-size: 20px;
    font-weight: bold;
}



.mo-am-review-card {
    background-color: white;
    color: rgb(0, 0, 0);
    margin: 60px 90px 60px 265px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    display: flex;

    justify-content: space-between;
    align-items: flex-start;
    /* لضمان محاذاة الأزرار مع بداية النص */
    flex-direction: row-reverse;
    /* اتجاه العناصر مناسب للغة العربية */
}

.mo-am-review-content {
    width: 81.5%;
    /* إعطاء مساحة أكبر للنص */
    text-align: right;
    /* محاذاة النص لليمين */

}

.mo-am-review-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;

}

.mo-am-review-content p {
    margin: 10px 0px 0px 0px;
    font-size: 16px;
    color: rgb(5, 5, 5);
}

.mo-am-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    /* لضمان بقاء الأزرار في الجهة اليمنى */
}

.mo-am-buttons button {
    padding: 8px 12px;
    margin-right: 100px;
    cursor: pointer;
}

.mo-am-accept-btn {
    letter-spacing: 1px;
    /* زيادة المسافة بين الحروف */
    text-transform: uppercase;
    /* تحويل النص إلى حروف كبيرة */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
    /* إضافة ظل للنص */
    color: white;
    font-size: 26px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    width: 120px;
    background-color: rgb(0, 189, 6);
    margin-bottom: 5px;
}

.mo-am-accept-btn:hover {
    background-color: rgb(0, 156, 5);
    box-shadow: rgb(218, 218, 218) 5px 4px 2px 0px;
}

.mo-am-reject-btn {
    letter-spacing: 1px;
    /* زيادة المسافة بين الحروف */
    text-transform: uppercase;
    /* تحويل النص إلى حروف كبيرة */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
    /* إضافة ظل للنص */
    color: white;
    font-size: 26px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    width: 120px;
    background-color: rgb(228, 0, 0);
    margin-top: 5px;
}

.mo-am-reject-btn:hover {

    background-color: rgb(199, 0, 0);
    box-shadow: rgb(218, 218, 218) 5px 4px 2px 0px;
}

/* -----------------------------------------------     Page Home     ----------------------------------------------*/
.mo-xx-logo img {
    max-width: 150px;
}

.mo-xx-carousel {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
    background-color: #0c2239;
    /* خلفية شريط العرض */
}

.mo-xx-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.mo-xx-slide {
    min-width: 100%;
    position: relative;
}

.mo-xx-slide img {
    width: 100%;
    height: 400px;
    /* ارتفاع ثابت للصورة */
    object-fit: cover;
    /* لضمان تغطية الصورة بالكامل بدون تشويه */
    border-radius: 10px;
}

.mo-xx-text {
    position: absolute;
    bottom: 20px;
    /* إزاحة النص إلى أسفل */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    /* اللون الأبيض ليتناسب مع خلفية شريط العرض */
}

.mo-xx-text h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.mo-xx-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

.mo-xx-button {
    background-color: #008cba;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    display: inline-block;
    margin-top: 10px;
    /* مسافة بين النص والزر */
}

.mo-xx-next {
    right: 30px;
    color: #ffffff;
    border-radius: 40px;
    border-style: groove;
    cursor: pointer;
    position: absolute;
    top: 45%;
    padding: 10px;
    font-weight: bold;
    font-size: 28px;
    user-select: none;
}

.mo-xx-next:hover {
    box-shadow: 0px 12px 4px 0px #555;
    color: #555;
}

.mo-xx-prev {
    left: 30px;
    color: #ffffff;
    border-radius: 40px;
    border-style: groove;
    cursor: pointer;
    position: absolute;
    top: 45%;
    padding: 10px;
    font-weight: bold;
    font-size: 28px;
    user-select: none;
}

.mo-xx-prev:hover {
    box-shadow: 0px 12px 4px 0px #555;
    color: #555;
}

.mo-xx-dots {
    text-align: center;
    padding: 10px 0;
}

.mo-xx-dot {
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.mo-xx-dot:hover {
    background-color: #505050;

}

.mo-xx-dot.active {
    background-color: #717171;
}

/* التأثيرات */
.mo-xx-fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.mo-xx-language a {
    text-decoration: none;
    color: #007BFF;
    font-size: 16px;
    font-weight: bold;
}

.mo-xx-container {
    max-width: 900px;
    margin: 50px auto;
    margin-bottom: 410px;
    padding: 20px;
}

.mo-xx-container1 {
    max-width: 900px;
    margin: 50px auto;
    margin-bottom: 150px;
    padding: 20px;
}

.mo-xx-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.mo-xx-card {
    background-color: #fff;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #000;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mo-xx-card img {
    max-width: 80px;
    margin-bottom: 10px;
}

.mo-xx-card p {
    font-size: 1.1em;
    font-weight: bold;
}

.mo-xx-card:hover {
    transform: scale(1.05);
    transform: scale(1.1);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0.1, 0.1, 0.1, 0.1);
    transition: box-shadow 0.3s ease;
    background-color: #b6b6b6;
    /* تغيير الخلفية   */
    transition: background-color 0.3s ease;
    transition: opacity 0.3s ease;
    border: 2px solid #0055af;
    /* إضافة حد أحمر عند التمرير */
    transition: border 0.3s ease;
    box-shadow: inset 1px 1px 1px 1px #3498db;
    /* إضافة ظل داخلي */
    transition: box-shadow 0.3s ease;
    transform: translateY(-10px);
    /* رفع العنصر قليلاً */
    transition: transform 0.6s ease,
}


/* ---                            fa-a-   تسجيل الدخول         fa-a-                                         ---- */
/* تنسيق عام */
.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-icon .bar {
    width: 33px;
    height: 4px;
    background-color: white;
    margin-top: 2px;

}

/* تصميم الشريط الإعلاني */
.carousel {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
    background-color: #0c2239;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 400px;
    /* ارتفاع ثابت للصورة */
    object-fit: cover;
    /* لضمان تغطية الصورة بالكامل بدون تشويه */
    border-radius: 10px;
}

.prev {
    cursor: pointer;
    position: absolute;
    top: 45%;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    user-select: none;

}

.prev:hover {
    box-shadow: 0px 12px 4px 0px #555;
}

.next {
    cursor: pointer;
    position: absolute;
    top: 1;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 28px;
    user-select: none;
    right: 30px;
    color: #000;
    border-radius: 40px;
    border-style: groove;
}

.next:hover {
    box-shadow: 0px 12px 4px 0px #555;
}

.prev {
    left: 30px;
    color: #000;
    border-radius: 40px;
    border-style: groove;
}

.dots {
    text-align: center;
    padding: 10px 0;
}

.dot:hover {
    background-color: #414040;
}

.dot {
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #717171;
}

.login-form:hover {

    border-radius: 6px;
    box-shadow: 1px 1px 3px rgb(25, 25, 25),
        -1px -1px 3px rgb(60, 60, 60);

}

.login-form {
    padding: 30px;
    margin-top: 150px;
    width: 350px;
    height: 450px;
    border: 1px solid #000000;
    background-color: #f7f7f7;
    border-radius: 5px;
    opacity: 0.90;
    font-weight: bold;
}

.login-form h2 {
    margin-bottom: 40px;

}

.login-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0px 10px 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-form button {
    margin-top: 20px;
    width: 100%;
    padding: 8px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: larger;
}

.login-form a {
    display: block;
    margin-top: 10px;
    color: blue;
    text-decoration: none;
}

.content {
    padding-bottom: 80px;
}







/*
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
----------------------------------  ------------------------------- ------------------------------------
*/
/**          كود صفحة التخصصات     **/
.zi-ta-departments {
    max-width: 800px;
    margin: auto;

}

.zi-ta-department-info {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
    flex-direction: row-reverse;

}

.zi-ta-department-info img {
    width: 400px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 30px;
    position: relative;
    right: 490px;
    top: 90px;
    margin: 0px 0px 120px 0px;
}

.zi-ta-department-info p {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 30px;
    width: 580px;
    position: absolute;
    top: 330px;
    right: 500px;
}

.zi-ta-buttons {
    margin-bottom: 150px;
    margin-top: 15px;
    display: flex;
    /* استخدام flexbox لترتيب العناصر */
    flex-wrap: nowrap;
    justify-content: center;
    justify-self: center;
    margin-top: 60px;
}

#Hs-margin {
    margin-top: 200px;


}

.background-a {
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
    background-color: white;
    border-radius: 16px;
    width: 220px;
    height: 140px;
    padding: 90px;
    margin: 0px 10px 0px 10px;
    transform: translate(0%, -0%);
    font-size: 1.1em;
    font-weight: bold;
    /* جعل النص عريض */
    justify-content: center;
    display: flex;
    white-space: nowrap;
    /* النص يبقى بخط واحد */

}

.background-a p {
    text-align: center;
    position: absolute;
    bottom: 30px;
}

.background-a:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0.1, 0.1, 0.1, 0.1);
    transition: box-shadow 0.3s ease;
    background-color: #b6b6b6;
    /* تغيير الخلفية إلى الأزرق */
    transition: background-color 0.3s ease;
    transition: opacity 0.3s ease;
    border: 2px solid #0055af;
    /* إضافة حد أحمر عند التمرير */
    transition: border 0.3s ease;
    box-shadow: inset 1px 1px 1px 1px #3498db;
    /* إضافة ظل داخلي */
    transition: box-shadow 0.3s ease;
    transform: translateY(-10px);
    /* رفع العنصر قليلاً */
    transition: transform 0.3s ease, opacity 0.3s ease;
    transition: transform 0.6s ease;
    opacity: 1;
}

.zi-ta-button img {
    position: absolute;
    right: 65px;
    bottom: 60px;
    width: 90px;
    height: 90px;
    margin-bottom: 5px;
    margin-top: 80px;
    padding: 20px;
    border-radius: 8px;
    background-color: #ffc285;
    z-index: 1;
    /* فوق الخلفية */
    filter: invert(1);
    /* تطبيق العكس على النصوص فقط */




}

/**          -----------------------------------------------------------
             -----------------------------------------------------------
             -----------------------------------------------------------
             -----------------------------------------------------------
             -----------------------------------------------------------
             -----------------------------------------------------------
                            كود صفحة تفاصيل المقرر     **/
/* تنسيق شريط التنقل */
/* تنسيق شريط التنقل */
/* ================= الصفحة ================= */
.zi-tf-content {
    max-width: 1200px;
    margin: 40px auto;
    direction: rtl;
}

/* ================= كرت المقرر ================= */
.zi-tf-course-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

/* ================= معلومات المقرر ================= */
.zi-tf-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zi-tf-info h3 {
    font-size: 26px;
    color: #033E5A;
}

.zi-tf-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.zi-tf-meta span {
    background: #eef4f7;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ================= زر التحميل ================= */
.zi-tf-download {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #033E5A;
    color: #fff;
    border-radius: 14px;
    cursor: pointer;
    transition: .3s;
}

.zi-tf-download:hover {
    background: #02628e;
    transform: scale(1.02);
}

.zi-tf-download img {
    width: 45px;
}

/* ================= الفيديو ================= */
.zi-tf-video {
    position: relative;
}

.zi-tf-video video {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

/* ================= التقييم ================= */
.zi-tf-reviews-section {
    max-width: 1200px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}

/* صندوق التقييم */
.zi-tf-rating-box {
    background: #033E5A;
    color: #fff;
    padding: 25px;
    border-radius: 16px;
    align-self: flex-start;
    height: fit-content;

}

.zi-tf-star-rating {
    font-size: 28px;
    color: #FFD700;
}

.zi-tf-comment-input {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
}

.zi-tf-submit-rating {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: #02628e;
    border: none;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
}

/* التعليقات */
.zi-tf-reviews {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);

    max-height: 420px;
    /* تقريباً 4 تعليقات */
    overflow-y: auto;
}

.zi-tf-reviews::-webkit-scrollbar {
    width: 8px;
}

.zi-tf-reviews::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.zi-tf-reviews::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.zi-tf-review {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.zi-tf-review:last-child {
    border: none
}

.zi-tf-review header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.text-like-c {
    font-size: 17px;
    color: #444;
}

/** -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    ------------------------------------------------------------------- 
                        كود صفحة المقررات         **/
/* قسم العنوان والوصف */
.zi-mg-header-section h1 {
    font-size: 32px;
    color: #333;

}

.almgtop {
    font-size: 26px;
    top: 50px;
    position: relative;
}

.description-section .text {
    text-align: center;
}

.zi-mg-txt {
    margin-bottom: 55px;
    border-style: solid #000;
    border-radius: 10px;
    width: 620px;
    top: 130px;
    left: 800px;
    position: relative;
    font-size: 18px;
}

.zi-mg-txt h1 {
    font-size: 24px;
}

.zi-mg-description-section h2 {
    font-size: 24px;
    color: #333;
}

.zi-mg-description-section p {
    color: #555;
    line-height: 1.6;
}

.zi-mg-description-image {
    width: 400px;
    right: 300px;
    bottom: 100px;
    position: relative;


}

/* الحاوية */
.zi-mg-container {
    width: 80%;
    max-width: 1200px;
    text-align: center;
    margin-top: 20px;
}

/* تنسيق الشبكة للبطاقات */
.zi-mg-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    bottom: 110px;
}

.zi-mg-card {
    background-color: #0066cc;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.zi-mg-subject-name {
    margin: 15px 0;
    font-size: 18px;
}

.zi-mg-lesson-select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    outline: none;
}

/** -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    -------------------------------------------------------------------
    ------------------------------------------------------------------- 
                        كود صفحة تعديل المقررات         **/
.profile-btn {
    background-color: #27ae60;
    /* لون زاهٍ */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.profile-btn:hover {
    background-color: #1e824c;
    /* تدرج عند التحويم */
}

.dashboard {
    max-width: 1200px;
    text-align: center;
}

.course-container {
    margin: 50px 0px 100px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* زيادة المسافة بين البطاقات */
    justify-content: center;
    /* توسيط البطاقات */

}

.course-card {
    background-color: #ffffff;
    /* لون البطاقة */
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    /* زوايا أكثر نعومة */
    text-align: left;
    width: 950px;
    /* عرض بحيث تظهر بطاقتين في كل صف */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    /* تأثير التحويم */
}

.course-card h3 {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.5em;
    /* حجم أكبر للعناوين */
    color: #2980b9;
    /* لون عنوان فخم */
}

.toggle-arrow {
    font-size: 1.5em;
    transition: transform 0.3s;
    /* تأثير عند التحويم */
}

.lessons {
    display: none;
    /* إخفاء الدروس بشكل افتراضي */
    margin-top: 10px;
}

.lesson {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* لجعل العناصر على أطراف العنصر */
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    /* خلفية خفيفة للدروس */
    border-radius: 5px;
    border: 1px solid #ddd;
}

.lesson p {
    margin: 0;
    flex-grow: 1;
    color: #34495e;
    /* لون نص الفقرة */
}

.edit-btn,
.delete-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.edit-btn {
    background-color: #3498db;
    /* لون زر التعديل */
    color: white;
}

.delete-btn {
    background-color: #e74c3c;
    /* لون زر الحذف */
    color: white;
}

.edit-btn:hover {
    background-color: #2980b9;
    /* تدرج عند التحويم */
}

.delete-btn:hover {
    background-color: #c0392b;
    /* تدرج عند التحويم */
}

.note-input {
    padding: 5px;
    font-size: 0.9em;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 5px;
    width: 150px;
}

.go-btn {
    background-color: greenyellow;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.go-btn:hover {
    background-color: #32CD32;
    color: #fff;
}

/* =========================================================
   MOBILE (<=768px)
========================================================= */
@media (max-width: 768px) {

/* =========================================================
   RESET / SAFE
========================================================= */
img,
video {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   HEADER – SINGLE ROW FIX
========================================================= */
header {
    height: 60px;
    padding: 0;
    font-size: 18px;
}

nav {
    display: flex;                /* سطر واحد */
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
    height: 60px;

    /* إلغاء أي Grid قديم */
    grid-template-columns: none !important;
    grid-template-rows: none !important;
}

/* =========================================================
   MENU ICON (☰) – أقصى اليسار
========================================================= */
.menu-icon {
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.menu-icon .bar {
    height: 3px;
}

/* =========================================================
   USER ICON (متدرب / مشرف)
========================================================= */
.user-icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-icon p {
    font-size: 13px;
    font-weight: bold;
    color: #385a6b;
    margin: 0;
    white-space: nowrap;
}

.user-icon img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #385a6b;
    object-fit: cover;
}

/* =========================================================
   MENU WORD (روابط الهيدر)
========================================================= */
.menu-word {
    display: block;
}

.menu-word ul {
    display: flex;
    gap: 12px;
    padding: 0;
}

.menu-word ul li a {
    font-size: 14px;
    font-weight: 600;
    color: #385a6b;
    padding: 6px 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.menu-word ul li a:hover {
    background-color: #e6eef3;
}

/* =========================================================
   LOGO – أقصى اليمين
========================================================= */
.logo-dalel {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.logo-dalel img {
    width: 36px;
    height: 36px;
}

.logo-dalel button {
    display: none;
}

/* منع أي التفاف */
nav > * {
    white-space: nowrap;
}

/* =========================================================
   SIDEBAR
========================================================= */
.sidebar {
    width: 220px;
    padding: 40px 15px;
}

.sidebar ul li a {
    font-size: 18px;
}

/* =========================================================
   GENERAL CONTENT
========================================================= */
section {
    padding: 10px 0;
}

main {
    padding: 10px;
}

p {
    line-height: 1.8;
}

.Title-title {
    font-size: 1.6em;
}

/* =========================================================
   FAQ
========================================================= */
.fa-t-container {
    margin: 20px 10px 80px;
    padding: 15px;
    gap: 15px;
}

.fa-t-question {
    font-size: 16px;
}

.fa-t-toggle-icon {
    font-size: 20px;
}

.fa-t-answer {
    font-size: 15px;
    line-height: 1.7;
}

.fa-t-edit-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fa-t-edit-buttons button {
    width: 100%;
    font-size: 15px;
}

/* =========================================================
   COURSES
========================================================= */
.zi-mg-container {
    padding: 10px;
}

.zi-mg-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.zi-mg-card {
    padding: 15px;
}

.zi-mg-subject-name {
    font-size: 16px;
}

.zi-mg-lesson-select {
    width: 100%;
    font-size: 15px;
}

/* =========================================================
   COURSE DETAILS
========================================================= */
.zi-tf-course-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zi-tf-info h3 {
    font-size: 18px;
}

.zi-tf-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.zi-tf-video video {
    width: 100%;
    border-radius: 12px;
}

/* =========================================================
   REVIEWS
========================================================= */
.zi-tf-reviews-section {
    padding: 10px;
}

.zi-tf-rating-box {
    padding: 15px;
}

.zi-tf-comment-input {
    width: 100%;
}

.zi-tf-submit-rating {
    width: 100%;
}

/* =========================================================
   CAROUSEL
========================================================= */
.mo-xx-carousel {
    max-width: 100%;
    margin: 20px 10px;
}

.mo-xx-slide img {
    height: 250px;
}

.mo-xx-text {
    bottom: 15px;
}

.mo-xx-button {
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 25px;
}

/* =========================================================
   TRAINING SECTIONS
========================================================= */
.zi-ta-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
}

.zi-ta-button {
    height: auto;
}

.background-a {
    padding: 20px;
}

.background-a img {
    width: 60px;
}

.background-a p {
    font-size: 17px;
    margin-top: 10px;
}

/* =========================================================
   LOGIN / FORMS
========================================================= */
.login-form,
.login-formadd {
    width: 95%;
    margin: 60px auto;
    padding: 20px;
}

/* =========================================================
   FOOTER
========================================================= */
footer {
    font-size: 18px;
    padding: 12px;
    text-align: center;
}

}
