.btn-primary {
    background-color: #163b83 !important;
    border-color: #163b83 !important;
}



.tajawal-extralight {
    font-family: "Tajawal", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .tajawal-light {
    font-family: "Tajawal", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .tajawal-regular {
    font-family: "Tajawal", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .tajawal-medium {
    font-family: "Tajawal", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .tajawal-bold {
    font-family: "Tajawal", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .tajawal-extrabold {
    font-family: "Tajawal", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .tajawal-black {
    font-family: "Tajawal", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  


  html , body {
    font-family: "Tajawal", sans-serif !important;
    text-align: right;
    direction: rtl;
  }


  .dropdown-toggle::after {
    display: none !important;
}


.dropdown-toggle .bi-chevron-down{
  font-size: 10px;
}


.btn-primary {
  background: linear-gradient(135deg, #2196F3, #1E88E5, #1565C0);
  color: white;
  border: none;
  border-color: #3d7af3 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #42A5F5, #1976D2, #0D47A1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}


.form-container {
  background: #ffffff;
  padding: 30px 40px;
  max-width: 500px;
  margin: 50px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  direction: rtl;
}

.form-container h3 {
  margin-bottom: 25px;
  font-size: 20px;
  color: #333;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #444;
  font-weight: 500;
  font-size: 14px;
}



.form-control:focus {
  outline: none;
  border-color: #2196F3;
  box-shadow: 0 0 5px rgba(33, 150, 243, 0.3);
}

.btn-primary {
  background: linear-gradient(to right, #38a6ef, #13527d);
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  min-width: 100px;
}

.page-link.active, .active > .page-link{
  background: linear-gradient(to right, #38a6ef, #13527d);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(to right, #42A5F5, #1976D2);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn-secondary {
  background-color: #757575;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  background-color: #616161;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}


/* بنر علوي */
.page-banner {
  background: linear-gradient(to left, #2196F3, #1E88E5);
  color: white;
  padding: 30px 20px;
  text-align: center;
  border-radius: 0 0 12px 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

/* غلاف النموذج */
.form-wrapper {
  background-color: #fff;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #e3e3e3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}



.custom-page-header {
  background: linear-gradient(to left, #0f4c75 0%, #3282b8 50%, #bbe1fa 100%); /* تدرج لوني أزرق-تركواز */
  color: white;
  border-radius: 0 0 0px 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 40px 0px;
}

.custom-page-header .page-title {
  font-size: 22px;
  font-weight: bold;
}


.truck-card{
  border: 1px solid #eee;
  position: relative !important;
}


.text-primary{
  color: #3064af !important;
}


.dropdown-item:active{
  background: #216797 !important;
  color: #fff !important;
}


.btn-outline-custome , .btn-outline-custome:hover{
  border: 1px solid #777d81;
  border-radius: 50% !important;
  width: 25px;
  text-align: center;
  height: 25px;
  line-height: 25px;
  padding: 0;

}


.btn-outline-custome i {
  color:#333;
}


.plate_number_box{
  min-width: 50px;
  height: 40px;
  border: 2px solid #333;
  border-radius: 5px;
  padding: 0px 5px 0px 25px;
  color: #333;
  font-size: 18px;
  position: relative;
}

.plate_number_box .green{
  position: absolute;
  background: #05994d;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}


.page-item:last-child .page-link {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 5px !important;
  border-bottom-left-radius: 5px !important;
}

.page-item:first-child .page-link{
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}


.truck_expired_badge{
  min-width: 50px;
  height: auto;
  padding: 2px 5px;
  background: #9f2430;
  color: #fff !important;
  border-radius: 50px;
  float: left;
  font-size: 12px;
  position: absolute;
  right: 10px;
  top: -7px;
  text-align: center;
}

.truck_near_to_expired_badge{
  min-width: 50px;
  height: auto;
  padding: 2px 5px;
  background: orangered;
  color: #fff !important;
  border-radius: 50px;
  float: left;
  font-size: 12px;
  position: absolute;
  right: 10px;
  top: -7px;
  text-align: center;
}

table.table.dataTable > tbody > tr {
  border: 1px solid #cbc6c6 !important;
}


table.table.dataTable > thead > tr {
  border: 1px solid #cbc6c6 !important;
}


.truck-card .btns-control{
  position: absolute;
  left: 5px;
  top:8px;
}


.truck-card .btns-control .btn{
margin-bottom: 5px;
}


.journal-entry-line{
  background: #eee !important;
  border: 1px dashed #c3c0c0 !important;
  position: relative;
}


.journal-entry-line .remove-line{
  position: absolute;
    width: 25px;
    height: 25px;
    left: 5px;
    top: -10px;
    text-align: center;
    line-height: 25px;
    padding: 0;
}

.head_truck_badge{
  position: absolute;
  top: -7px;
  left: 50px;
  border-radius: 30px;
}


.text-bg-primary{
  background : linear-gradient(to left, #0f4c75 0%, #3282b8 100%);
}

.badge-radius{
  border-radius: 30px;
}


.select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6 !important;
}

.select2-container .select2-selection--single{
    height: 36px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 33px;
}