@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --primary:#06b891;
    /* --primary:#04837c; */
}

body{
    font-family: "Poppins", sans-serif;
    background-color: rgba(242, 243, 248, 0.582);
    color: #5b6070;
    font-size: 14px;
}
input{
  outline: none !important;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    background-color:var(--primary) !important;
    color:white;
    transition:0.4s !important;
}

header{
    padding: 14px;
    background: white;
    /* border-top: 4px solid var(--primary); */
    border-bottom: 1px solid rgb(224, 224, 224);
    /* background: -moz-linear-gradient(-45deg, #04947c 0%, #07BEB5 100%, #C59237 100%);
    background: -webkit-linear-gradient(-45deg, #04947c 0%, #07BEB5 100%, #C59237 100%);
    background: linear-gradient(135deg, #04947c 0%, #07BEB5 100%, #C59237 100%); */
}
.nav-link{
  color: #5b6070;
}
.select2-container--default .select2-selection--single {
  padding:4px  6px;
  height: 38px; /* مثل شكل Bootstrap */
  border: 1px solid rgb(197, 197, 197) 
}
.content{
    min-height: 250px;
    border-radius: 3px;
    margin-top: 30px;
    animation-name: fade;
    animation-duration: 0.4s;
}
@keyframes fade {
    0%{
      opacity: 0;
      scale: 0.94;
    }
    100%{
      opacity: 1;
      scale: 1;
    }
}
.offcanvas{
    width: 75%;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  

  li a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    text-decoration: none;
    color: rgb(65, 69, 83);
    margin-bottom: 8px;
  }
  
  /* Change the link color on hover */
  li a:hover {
    background-color: rgb(240, 240, 240);
    color: var(--primary);
    border-radius: 5px;
  }
  .card{
    border: none;
    border-radius: 4px;

  }
a{
    text-decoration: none;
    color: #747888;
}
.btn-primary{
  background-color: var(--primary);
  border-color:var(--primary) ;
  font-size: 14px !important;
}
.btn-primary:focus, .btn-primary:hover{
  background-color: var(--primary);
  border-color:var(--primary) ;
  opacity: 0.8;
  transition: 0.4s;
}
.form-control , select{
  border-radius: 6px !important;
  padding: 8.3px 15px;
  font-size: 14px;
}
.form-control:focus{
  outline: none !important;
  box-shadow: 0 0 1px 1px var(--primary);
  outline: none;
  
}
.card{
  border: 0px solid rgb(233, 233, 233);
}
.btn{
  border-radius: 4px;
  padding: 9px 16px;
}
.dropdown-menu{
  border: none !important;
  box-shadow: 0px 0px 23px 11px rgba(0, 0, 0, 0.095) !important;
  border-radius: 7px !important;
  min-height: 60px;
}
.dropdown-item{
  font-size: 13px;
  padding: 2px 12px !important;
}
a.dropdown-item{
  margin-bottom: 7px !important;
}
.btn-white,.btn-white:focus{
  color: var(--primary);
  background-color: white !important;
  border: none !important;
}
.links{
  font-size: 12px;
}
.alert{
  position: absolute;
  top: 25px;
  right: 25px;
  animation-name: fadeRight;
  animation-duration: 0.6s;
}
@keyframes fadeRight {
  0%{
    opacity: 0;
    transform:translateX(400px);
  }
  100%{
    opacity: 1;
    transform:translateX(0px);

  }
}
.anim-card{
  transition: 0.4s;
}
.anim-card:hover{
  scale: 1.09;
  transition: 0.4s;
}
.alert-success{
  border-radius: 9px;
  border-color: #008d8691;
  background-color: #e9fff3;
  color: #005854;
}
.alert-d{
  background-color: rgba(255, 246, 199, 0.466);
  color: #665c01;
  margin-top: 20px;
  padding: 14px;
  border-radius: 9px;
  border-color: #665c0191;
  font-size: 13px;
}
.btn-light{
  color:#5b6070;
  border-radius: 6px !important;
  font-size: 14px;
}
.empty-section{
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.statu{
  border-radius: 44px;
  color: white;
  /* color: #4f72d1; */
  padding: 3px 5px;
  font-size: 8px;
}
.uplopad{
  border-radius: 5px;
  border: 1px dashed var(--primary);
  padding: 15px;
  color: var(--primary);

  cursor: pointer;
}
.btn:focus{
  box-shadow: none !important;
}
.active-btn{
  border: 1px solid rgb(78, 84, 92);
}
.border-search{
  border-radius: 6px;
  /* border: 1px solid rgb(219, 219, 219); */
  background-color: white;
  box-shadow: 0px 3px 4px 1px rgba(0, 0, 0, 0.04);
  padding:2px 12px;
  border: 1px solid #dcdddf;
}
.border-search:focus-within{
  border: 1px solid var(--primary);
}
.border-search input{
  border: none !important;
  padding: 7px 7px;
  outline: none;  
  font-size: 13px;
  
}
/* الزر النشط */
.pagination .page-item.active .page-link {
  background-color: #06b891;
  border-color: #06b891;
  color: #fff;
}

.pagination .page-link {
  color: #06b891;
}

.pagination .page-link:hover {
  color: #059e7c;
  border-color: #059e7c;
}
#search-results {
  max-height: 200px;
  overflow-y: auto;
  /* border: 1px solid #ccc; */
  border-radius: 7px !important;
  border-top: none !important;
  box-shadow: 0px 0px 15px 9px rgba(0, 0, 0, 0.089) !important;
}


.list-group{
  border-radius: 7px !important;
  border-top: none !important;
  box-shadow: 0px 0px 15px 9px rgba(0, 0, 0, 0.089) !important;
}
.custom-checkbox-green .form-check-input:checked {
  background-color: #06b891;
  border-color: #06b891;
}

.custom-checkbox-green .form-check-input {
  width: 1.5em;
  height: 1.5em;
  border-radius: 0.25em;
  border: 2px solid #ccc;
  transition: all 0.2s ease-in-out;
}

.custom-checkbox-green .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(6, 184, 145, 0.25);
}

.custom-checkbox-green .form-check-label {
  margin-left: 8px;
  font-weight: 500;
  color: #444;
}
/* تخصيص شكل الـ checkbox */
.form-check-input:checked {
  background-color: #06b891;
  border-color: #06b891;
}

/* ظل عند التركيز */
.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(6, 184, 145, 0.25);
}

/* تكبير حجم الـ checkbox */
.form-check-input {
  width: 1.3em;
  height: 1.3em;
  margin-top: 0.3em;
}

/* تكبير الكتابة */
.form-check-label {
  font-size: 14px;
  margin-left: 0.25rem;
}
.btn-action{
  font-size: 13px;
  background-color: white;
  border: none;
  padding: 2px 9px;
  color: #818698;
}
a:hover{
  color: #5b6070;
}
table, td, th {  
  border-bottom: 1px solid #ddd;
  text-align: left;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding:10px 15px;
}
.card-color-green{
  /* background-color: #31c0b9; */
  color: rgb(255, 255, 255) !important;
  background-image: url('/img/cow.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px;
}
.layer-green{
  background-color: #03252183;
  border-radius: 12px;
  height: 100%;
}

.card-color-red{
  background-color: #1bb89d;
  color: white !important;  border-radius: 12px;
}

.card-color-blue{
  background-color: #ec955a;
  color: white !important;  border-radius: 12px;
}


.menu li {
  opacity: 0;
  animation-name: fadeMenu;
  animation-duration: 0.4s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

/* تأخير تدريجي حسب ترتيب العنصر */
.menu li:nth-child(1) {
  animation-delay: 0.1s;
}
.menu li:nth-child(2) {
  animation-delay: 0.2s;
}
.menu li:nth-child(3) {
  animation-delay: 0.3s;
}
.menu li:nth-child(4) {
  animation-delay: 0.4s;
}
.menu li:nth-child(5) {
  animation-delay: 0.5s;
}
.menu li:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeMenu {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.layer-menu{
  height: 100%;
  background-color: rgba(255, 255, 255, 0.911);
}
.offcanvas{
  background-image: url('/img/cow.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}


@media screen and (max-width: 768px) {

}