body {
    padding: 40px 147px;
}

* {
    font-family: 'IRANYekan', sans-serif;
}

table {
            width: 100%;
            border-collapse: collapse;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
th {
    background-color: #f4f4f4;
}
.flex-row {
    display: flex;
    flex-direction: row;
}

.text-white{
    color: white;
}

.h-6{
    height: 1.5rem;
}
.align-center {
    align-items: center;
}

.border{
    border:1px solid black;
}

.margin-auto{
    margin-right: auto;
}

.gap-10 {
    gap: 10px;
}

.gap-1 {
    gap: 1px;
}

.flex-space-between {
    justify-content: space-between;
}

.active-tab {
    border-bottom: 3px solid #199DA3;
}

.left-button {
    float: left;
    margin-left: 10px;
    margin-top: 5px
}

.button, .button-secondary {
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    cursor: pointer;
}

.button {
    background: #199DA3;
    color: white;
    border: none;
}

.button-adv {
    width: 15vw;
    height: 30px;
    border-radius: 6px;
    background: #199DA3;
    color: white;
    border: none;
}

.button-help {
    background: #f85916;
    color: white;
    border: none;
}

.button-secondary {
    border: 2px solid #199DA3;
    color: #199DA3;
    background: white;
}

.mr-10{
    margin-right: 10px;
}

.delete-button{
    border: 2px solid #cc3333;
    color: #199DA3;
    background: white;
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    cursor: pointer;
    color: black;
}
.text-left{
    direction: ltr;
}
.ltr{
    direction: ltr;
}
.hidden-div {
    display: none;
}

.hidden-adv {
    display: none;
}

.search-input {
    width: 50vw;
    height: 40px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid #66CB9F;
    color: #66CB9F;
    background: #FFF;
}

.search-label {
    color: #454545;
    font-size: 12px;
}

.create-form {
    margin-top: 40px;
}

.result-count {
    width: 14%;
    height: 32px;
    background: white;
    color: #A9A9A9;
    background-color: white;
    padding: 8px 10px;
    margin: 30px 2px;
}


.sort-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 5px;
}

.sort-icon.asc::before {
    content: '▲';
}

.sort-icon.desc::before {
    content: '▼';
}


.adv-search-button {
    width: 14%;
    height: 40px;
    border-radius: 6px;
    background: white;
    color: #199DA3;
    color: #199DA3;
    border: 2px solid #199DA3;
    background-color: white;
    padding: 8px 10px;
    margin: 30px 2px;
}

.adv-search-button.active {
    width: 14%;
    height: 32  px;
    border-radius: 6px;
    background: #199DA3;
    color: white;
    border: none;
    background-color: #199DA3;
}

.search-input-adv {
    width: 25vw;
    height: 35px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid #66CB9F;
    color: #696969;
    background-color: #F5F5F5;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.05);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0px 0px 10px 0px;
}

.reset-search {
    gap: 10px;
    margin: 0px 0px 5px 0px;
}

.text-input {
    width: 30vw;
    height: 44px;
    border-radius: 6px;
    border: 1px solid #EEE;
    background: #FFF;
}

.textarea-input {
    max-width: 1100px;
    padding: 4px 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    margin-bottom: 7px;
    text-align: left;
}

.input-container {
    margin-top: 20px;
}

.badge{
    border-radius: 0.25rem;
    padding: 5px 10px;
    font-size: small;
}

.border{
    border : 1px solid black
}

.badge-teal{
    background: cadetblue;
}

.badge-orange{
    background-color: rgb(253 186 116);
}

.w-10vw {
    width: 10vw;
}

.gap-124 {
    gap: 124px;
}


.gap-200 {
    gap: 200px;
}

.inline-block {
    display: inline-block;
}

.text-center {
    text-align: center;
}

.form-button {
    margin-top: 30px;
    justify-content: flex-end;
}

.form-label {
    color: #454545;
    text-align: right;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.header-1 {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 36px;
}

.search-button {
    padding: 8px 10px;
    height: 50%;
    margin: 32px 5px;
}

.grid {
    display: grid;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

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

input:checked + .slider {
    background-color: #199DA3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #199DA3;
}

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

.hidden-button{
    border: none;
    background-color: white;
}
.hidden-button:hover{
    background-color: white;
}

.slider.round {
    border-radius: 34px;
}

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

.list-items {
    color: #000;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 7px;

}
.basis-14{
    flex-basis: 25%;
}

.column-header {
    color: black;
}

.basis-15{
    flex-basis: 12.3%;
    font-weight: 800;
}
.cursor-pointer {
    cursor: pointer;
}

.action-icon {
    margin-right: 15px;
}

.header-2 {
    margin-right: 10px;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}

.title {
    color: #000;
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}


.pagination {
  display: flex;
    flex-direction: row;
  list-style: none;
  padding: 0;
  justify-content: center;
  margin-top: 20px;
}

a{
    text-decoration: none;
}

.tracking-wide{
    letter-spacing: 0.025em;
    line-height: 2rem;

}

.pagination a, .pagination span {
  padding: 8px 16px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

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

.pagination .current {
  background-color: #199DA3;
  color: #fff;
  border: 1px solid #199DA3;
}
.loading-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #4CAF50;
  color: #fff;
}

/* Animation for the loading spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Apply the spinner animation when the button has the 'loading' class */
.button.loading::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

.red_color{
    color: red;
}
.button-secondary.loading::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #199DA3;
  border-top: 2px solid transparent;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 1s linear infinite;
}

.scrollable{
    overflow-y: scroll;
    max-height: 300px;
}

.grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-5{
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.col-span-2{
    grid-column: span 2 / span 2;
}

.col-span-4{
    grid-column: span 4 / span 4;
}
.col-start-2{
    grid-column-start: 2;
}

.absolute{
    position: absolute;
}

.relative{
    position: relative;
}

.center-top{
    top:-45px;
    right: 35%;
    border-radius: 4px;
    animation: fadeIn 0.5s, fadeOut 0.5s 2.5s forwards;
}

.text-lg{
    font-size: 15px;
    font-weight: 300;
}

.p-10-40{
    padding: 10px 40px;
}
.bg-red{
    background-color: rgb(197, 48, 48);
}

.m-0{
    margin: 0px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadeOut {
  animation-name: fadeOut;
}

.fadeIn {
  animation-name: fadeIn;
}


.center-center{
    top: 0%;
    right: 30%;
}

.modal-input{
    height: 200px;
}

.flex{
    display: flex;
}
.modal{
    gap: 5px;
    flex-direction: column;
    width: 400px;
    height: 300px;
    background-color: white;
    border-radius: 10px;
    filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
    z-index: 100;
    padding: 30px;
    animation: fadeIn 0.5s, forwards;
}


.modal-button{
    justify-content: center;
    margin: 10px 30px;
}

#content-main{
    background-color: rgba(0, 0, 0, .6);
    width: 100%;
    z-index: 10;
    height: 100%;
    top: 0;
    right: 0;
}

.w-full{
    width: 100%;
    /*border: #222222 4px solid;*/
}
.h-full{
    height: 100vh;
}

.p-0{
    padding: 0px;
    margin: 0px;
}

.bg-D4E4FF{

    background: rgb(255,255,255);
    background: linear-gradient(186deg, rgba(255,255,255,1) 0%, rgba(212,228,255,1) 49%, rgba(212,228,255,1) 100%);

}

.basis-12{
    flex-basis: 50%;
}

.login-form{
    justify-content: center;
    gap: 30px;
}

.login-form-container{
    margin-top: 20%;
}


.justify-center{
    align-content: center;
}


.message {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.message.success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.message.error {
    width: 70%;
    height: 25px;
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.message.warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}


h2 {
    text-align: center;
    margin-bottom: 20px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.history-table th, .history-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.history-table th {
    background-color: #f2f2f2;
}

.history-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.history-table tr:hover {
    background-color: #f1f1f1;
}

.alert {
    padding: 15px;
    background-color: #f9c6c9;
    color: #a94442;
    text-align: center;
    border: 1px solid #ebccd1;
    border-radius: 4px;
}


.history-title {
    text-align: right;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    border-bottom: 2px solid #199DA3;
    padding-bottom: 10px;
}

.dropdown {
    width: 30vw !important;
    height: 44px !important;
    border-radius: 6px !important;
    border: 1px solid #EEE !important;

}

.dropdown-toggle{
    background: #FFF !important;
    border:none
}
.filter-option{
    text-align :right !important
}