* {
  margin: 0;
  padding: 0;
}
h2 {
  margin-bottom: 10px;
}


body {
    user-select: none;         
    -webkit-user-select: none;  
    -moz-user-select: none;     
    -ms-user-select: none;      
}


body {
    -webkit-touch-callout: none; 
}


/* pargraph */
:root {
  --accent-1: #7b61ff; /* بنفسجي */
  --accent-2: #00c2ff; /* سماوي */
  --text: #222;
  --bg: #f7f8fb;
  --glass-bg: rgba(29, 25, 25, 0.15);
}

/* قاعدة عامة للفقرة */
.para {
  font-family: "Tajawal", "Noto Sans Arabic", system-ui, sans-serif;
  line-height: 1.6;
  margin: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  color: var(--text);
  direction: rtl; /* دعم عربي */
  box-sizing: border-box;
}

/* 4. إطار / outline */
.outline {
  background: #f1f1f1;
  border: 1px solid rgba(0, 0, 0, 0.08);
  letter-spacing: 0.2px;
}
.outline a {
  color: #4164e3;
  font-weight: bold;
}

/* إمكانية إضافة أيقونة أو علامة قبل الفقرة */
.para.icon::before {
  content: "★";
  margin-inline-start: 8px; /* يدعم RTL */
  opacity: 0.9;
}

.pargraph {
  margin: 100px auto;
  width: 70%;
}

.pargraph h1 {
  text-align: center;
  font-size: 25px;
}

span {
  color: #2712dc;
  font-weight: bold;
}

/* ________________________________________ */

.contianer {
  margin: 100px 0;
  display: flex;
  gap: 20px;
  justify-content: space-evenly;
  align-items: stretch;
  flex-wrap: wrap;
}

.books {
  background-color: #00bfa6;
  padding: 10px 5px;
  margin: 40px 0 0 0;
  box-shadow: 11px 2px 5px 4px rgb(45 45 45 / 30%);
  border-radius: 6px;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}

.books:hover {
  background-color: #1f8a7c;
}
.contianer div a {
  width: 18% !important;
}
.contianer div a div img {
  width: 80px;
  margin: 10px 0 25px 0;
}

.contianer div:not(.books) {
  min-width: 220px;
  width: 20%;
}

.modile {
  background: #f8f8f8;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  font-family: "Tajawal", "Noto Sans Arabic", system-ui, sans-serif;
  direction: rtl;
  color: #333;
  margin: 1rem;
}

.modile a {
  display: block;
  font-size: 16px;
  padding: 5px 10px;
  margin-bottom: 2px;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.5s ease;
  border: 1px solid black;
  font-weight: bold;
  display: flex;
  align-items: center;
}
.modile h2 {
  text-align: center;
  color: #1db741;
}

.modile a:hover,
.modile a:active {
  background: #e7e7e7;
  border-right: 4px solid #3b82f6;
  color: #3b82f6;
  padding-right: 14px;
}

.name_book {
  background: #f8f8f8;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  font-family: "Tajawal", "Noto Sans Arabic", system-ui, sans-serif;
  direction: rtl;
  color: #333;
  margin: 1rem;
  text-align: center;
}

.name_book div a {
  display: block;
  font-size: 15px;
  padding: 7px 10px;
  margin-bottom: 2px;
  color: #333;
  text-decoration: none;
  border-radius: 2px;
  text-align: center;
  background-color: #2196f3;
  font-weight: bold;
}

.name_book img {
  width: 50%;
}


.feedback {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  gap: 4px;
  padding: 0.8rem 1rem;
}
.feedback a {
  flex-grow: 1;
  padding: 10px;
  background-color: #0dcaf0;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
}


.word
{
  color: red;
}

dfn
{
  color: #1db741;
}


.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow: hidden;
}


table.table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl;
  text-align: right;
  margin: 12px 0;
}


table.table th,
table.table td {
  vertical-align: middle;
  padding: 10px 12px;
  line-height: 1.9;
  font-size: 16px;
  white-space: nowrap; 
}


table.table thead th {
  font-weight: 700;
}


table.table tbody td:first-child,
table.table thead th:first-child {
  font-weight: 700;
}


table.table.table-bordered th,
table.table.table-bordered td {
  border-width: 1px;
}


table.table {
  border-radius: 10px;
  
}

table.table,
table.table th,
table.table td{
  border: 4px solid #000; 
}

table.table{
  border: 4px solid #000;
}


.img-fluid
{
  width: 60%;
  margin: 20px auto;
}

/* تحسين عرض الجدول على الهاتف */
@media (max-width: 576px) {
  table.table th,
  table.table td {
    padding: 8px 10px;
    font-size: 14px;
  }
  .img-fluid
{
  width: 100%;
  margin: 20px auto;
}
}



@media screen and (max-width: 1200px) {
  .pargraph h1 {
    font-size: 20px;
    text-align: center;
  }
  .pargraph {
    width: 85%;
  }
  .feedback {
    flex-direction: column;
    gap: 12px;
  }
}

@media screen and (max-width: 700px) {
  .para {
    font-size: 15px;
    padding: 0.6rem;
    margin: 0.6rem;
  }
  .modile {
    margin: 0.6rem;
  }

  .modile a {
    font-size: 14px;
  }
  .pargraph {
    width: 100%;
  }
  .name_book img {
    width: 80%;
  }
}
@media screen and (max-width: 400px) {
  .modile {
    padding: 1rem 4px;
  }
}

@media screen and (max-width: 500px) {
  .modile a {
    min-height: 40px;
  }
}






body, .para, .modile, .name_book {
  font-family: "Tajawal", "Noto Sans Arabic", system-ui, sans-serif;
}

span {
  color: #1d4ed8;     
  font-weight: 700;   
}

strong {
  color: #f11010;    
}



      .checklist {
        list-style: none;
        padding: 0;
        margin: 0;
      }
      .checklist li {
        margin: 8px 0;
        line-height: 1.9;
      }
      .checklist li::before {
        content: "✓";
        font-weight: 700;
        margin-left: 10px; /* لأن الصفحة RTL */
      }

      .para span {
        display: inline-block;
        margin: 10px 0 6px;
        font-weight: 700;
      }