html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: rgb(89, 86, 87);
  background: radial-gradient(circle, rgb(119, 95, 106) 0%, rgb(0, 26, 88) 100%);
  font-family: 'IRANSansFaNum';
  font-weight: 100;
  direction: rtl;
  color: white;
}
.container {
display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
table {
  width: 800px;
 border-collapse: unset;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  direction: rtl;
}
th,
td {
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
th {
  text-align: left;
}
thead th {
  background-color: #00084a;
}
tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
tbody td {
  position: relative;
}
tbody td:hover:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -9999px;
  bottom: -9999px;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: -1;
}


.pagination {
  display: inline-block;
  margin-top: 16px;
}

.center {
  text-align: center;
}


.pagination a.active {
  background-color: #293a4c;
  border: 1px solid #293a4c;
  color: #fff;
}


.pagination a {
  border: 1px solid #ddd;
  color: #000;
  float: left;
  margin: 0 4px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
}

.pagination a:hover:not(.active) {background-color: #ddd;}


#datepicker1  ,  #datepicker0, #sender, #text-body , #receiver{
  font-family: 'IRANSansFaNum';
  font-weight: 100;
  direction: rtl;
  background: #fff;
  color: #293a4c;
  margin: 20px 17px;
  padding: 6px 7px;
}


.search-tool {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  flex-direction: row;
}

#search-button {
  background: #293a4c;
  border: solid #959393;
  border-radius: 11px;
  color: #fff;
  font-size: small;
  margin: 20px;
  padding: 10px 47px;
  font-weight: bold;
}

#clear-button{
    background: #fff;
  border: solid #959393;
  border-radius: 11px;
  color: #293a4c;
  font-size: small;
  margin: 20px;
  padding: 10px 47px;
  font-weight: bold;
}


.logout-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 35px;
}

 /* Modal styles */
        .modal {
            display: none; 
            position: fixed; 
            z-index: 1; 
            padding-top: 100px; 
            left: 0;
            top: 0;
            width: 100%; 
            height: 100%; 
            overflow: auto; 
            background-color: rgb(0,0,0); 
            background-color: rgba(0,0,0,0.4); 
        }

        .modal-content {
            background-color: #fff;
             margin: auto;
             padding: 20px;
             border: 1px solid #888;
             width: 500px;
             color: #423f3f;
        }

        .close {
            color: #f45a7e;
             float: none;
             font-size: 28px;
            font-weight: bold;
        }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

   #modalText{
       padding: 10px;
       border: 1px solid #196529;
   }
   
   
   a:link {
  color: aquamarine;
}

/* visited link */
a:visited {
  color: #e0ffe0;
}

/* mouse over link */
a:hover {
  color: aquamarine;
}

/* selected link */
a:active {
  color: #e0ffe0;
}

.logo{
    margin: 20px;
}
.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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


#manage_table {
  border-collapse: collapse;
  width: 100%;
  border-spacing: 0px;
  font-size: small;
  text-align: center;
  max-width: 1080px;
}


/* Responsive design for a specific table */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

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

/* Responsive design */
@media screen and (max-width: 1000px) {
  .responsive-table {
    border: 0;
  }
  .responsive-table thead {
    display: none;
  }
  .responsive-table tr {
    border-bottom: 2px solid #ddd;
    display: block;
    margin-bottom: 10px;
  }
  .responsive-table td {
    border-bottom: none;
    display: block;
    text-align: center; /* Adjust alignment as needed */
  }
  .responsive-table td::after {
    content: attr(data-label);
    font-weight: bold;
    float: right;
    text-transform: uppercase;
    width: 100px;
  }
}


#manage_table, #manage_table td, #manage_table th {
    border: 3px solid #0000;
    font-size: 20px;
  }


  #post_type{
    background: #fff;
    color: #293a4c;
    font-family: IRANSansFaNum;
    margin: 20px;
    padding: 6px 14px;
    width: 195px;
  }
