/*colors*/
:root{
    --primary-color: #47aa49;
    --secondary-color: #9a9b9b;
  }

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@font-face {
    font-family: Vazir;
    src: url("/assets/fonts/Vazir.eot");
    src: url("/assets/fonts/Vazir.woff") format("woff"),
    url("/assets/fonts/Vazir.woff2") format("woff2"),
    url("/assets/fonts/Vazir.svg") format("svg"),
    url("/assets/fonts/Vazir.ttf") format("ttf");
  }

  body {
    font-family: "Vazir", sans-serif;
    color: #444444;
    background-color: #f4f4f4;
    font-size: 14px;
  }

  a {
    color: var(--link-color);
    text-decoration: none;
  }

  a:hover {
    color: #febb35;
    text-decoration: none;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Vazir", sans-serif;
  }

  .btn-block{
    background-color: var(--primary-color);
    color: #fff;
    border: none;
  }
  .btn-block:hover{
    color: #fff;
    background-color: #3e943f;
    border: none;
  }

  .btn-glass{
    background: rgba(255, 255, 255, 0.37);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    border: 1px solid rgba(71, 170, 73, 0.717);
  }

  .btn-glass:hover{
    background: rgba(195, 195, 195, 0.37);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    border: 1px solid rgba(71, 170, 73, 0.717);
  }

  [type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button{
    display: none;
  }

.btn-detail {
    padding: 10px;
    margin: 5px 0;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    height: 40px;
}

.mt-max{
  margin-top: 70px;
}

/*.btn-detail{*/
/*    z-index: -1;*/
/*}*/

jdp-container{
    z-index: 9999 !important;
}

/*ts dropdown*/
.ts-dropdown{
    position: relative;
}

  /*=====================================
    Alerts
  ======================================*/
  .alert{
    text-align: right;
    width: 250px;
    position: fixed;
    top:15px;
    right: 5px;
  }

  /*=====================================
    LoginPage
  ======================================*/
  .login-container {
    padding: 30px 30px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login{
    padding-top: 50px;
}

.loginFooter {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
}

.login-head img{
    width: 150px;
}

.login-container h4{
    font-weight: 900px;
    font-size: 20px;
}

.login-container p{
  font-size: 14px;
  text-align: right;
}

#forgetPass{
  font-size: 12px;
  color: #444444;
}

  /*=====================================
    Header
  ======================================*/
  header{
      position:relative;
      z-index:1000;
  }

  .dropdown {
    position: relative;
    display: inline-block;
}
.dropdown button{
    border-radius:8px;
}
.dropdown-toggle {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    min-width: 160px;
}
.dropdown-item {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-item:hover {
    background-color: #f1f1f1;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
  .stickyHeader{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #f4f4f4;
    z-index: 996;
    margin-bottom: 100px;
    border-bottom: 1px solid #cdcdcd;
  }

  #coName h5{
    font-size: 16px;
    font-weight: 700;
  }
  #userInfo{
    font-size: 11px;
    font-weight: 700;
  }
  header .nav{
    padding: 10px 0;
    color: #ffffff;
  }

  .headerUserInfo{
    background-color: red;
  }

  .notification{
    color: #febb35;
  }

  .nav-item .list-group-item{
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
  }

  .nav-item .list-group-item:hover{
    color: green;
  }

  .nav-item{
    transition: transform 0.3s ease;
  }

  .nav-item:hover{
    transform: scale(1.05);
  }

  .dropbtn {
    width: 100%;
    cursor: pointer;
    color: #155724;
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #c3e6cbe8;
    min-width: 160px;
    margin-top: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  }

  .dropdown-content a {
    color: #155724;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .dropdown-content a:hover {background-color: #f1f1f1;}

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown:hover .dropbtn {
    background-color: #3e8e41;
  }

    /*=====================================
    Box
  ======================================*/
.boxContainer{
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.75);

}

.boxTitle , .accordion-button {
  background-color: var(--primary-color);
  font-weight: 600;
}

.table{
  width:95%;
}

.filter {
  display: none;
  padding: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.filter.show {
  display: block;
  max-height: 500px;
  opacity: 1;
}
.toggle-icon {
  cursor: pointer;
  font-size: 24px;
}

    /*=====================================
      #  homePage
  ======================================*/
  .message-container{
    background: rgba(71, 170, 73, 0.16);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    border: 1px solid rgba(71, 170, 73, 0.3);
  }

  .wrapper{
    width:200px;
    padding:20px;
    height: 150px;
    }

  /*=====================================
    switches button
======================================*/
  /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 3px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

.modalSlider{
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

  /*=====================================
    tooth
======================================*/
.tooth-icon {
  width: 12.5%;
  cursor: pointer;
}

.child-tooth-icon{
  width: 20%;
  cursor: pointer;
}

.tooth-icon img , .child-tooth-icon img{
  width: 50px;
  height: 50px;
  transition: all ease-in-out 300ms;
}

.child-tooth-icon img:hover , .tooth-icon img:hover{
  transform: scale(1.1);
}

 /*=====================================
    modal
======================================*/
.modal-backdrop.show {
  z-index: 1000;
}
.select-container {
    position: relative;
    width: 300px;
}
.select-input {
    padding: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
}
.options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background-color: white;
    z-index: 1001;
    max-height: 150px;
    overflow-y: auto;
    display: none;
}
.option {
    padding: 10px;
    cursor: pointer;
}
.option:hover {
    background-color: #f0f0f0;
}
/* slect 2 style */
.select2-container--default .select2-selection--single {
    background-color: #ffffff;
    border: 1px solid #bebebe;
    border-radius: 5px;
    height: 40px;
    color: #333333;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333;
    line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
    right: 10px;
}

/* =====================================
    family list
=======================================*/
.family-button-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  .family-button-group span {
    margin-left: 10px;
    cursor: pointer;
    font-size: 1.5rem;
  }
  .family-remove-btn{
    color: red;
  }
  .family-add-btn {
    color: green;
  }
  .family-form-row{
    align-items: flex-end;
  }
  .gallery-container-myapp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.selected-image-myapp {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.selected-image-myapp img {
    max-width: 80%;
    max-height: 70vh; /* تعیین حداکثر ارتفاع */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thumbnail-container-myapp {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.thumbnail-wrapper-myapp {
    position: relative;
    display: inline-block;
}

.thumbnail-myapp {
    width: 120px; /* بزرگ کردن تصاویر کوچک */
    height: 120px; /* بزرگ کردن تصاویر کوچک */
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 10px; /* گرد کردن لبه‌ها */
}

.thumbnail-myapp.selected-myapp {
    border: 2px solid #007BFF;
}

.thumbnail-myapp:hover {
    transform: scale(1.1);
    border: 2px solid #007BFF;
    border-radius: 10px;
}

.delete-button-myapp {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    font-size: 14px;
    padding: 5px;
    z-index: 10;
}

.navigation-button-myapp {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    z-index: 10;
}

.prev-button-myapp {
    left: 10px;
}

.next-button-myapp {
    right: 10px;
}

.shake-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.shake-link .notification {
    transition: fill 0.3s ease;
    -webkit-transition: fill 0.3s ease;
    -moz-transition: fill 0.3s ease;
    -ms-transition: fill 0.3s ease;
    -o-transition: fill 0.3s ease;
}

.shake-link .notification:hover {
    /* رنگ دلخواه شما */
    animation: shake 0.5s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}


