/* Custom Select Box Styling */
.custom-dropdown .custom-select-box {
    appearance: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 15px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;

}
.custom-dropdown-title{
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}
.custom-checkbox .custom-checkbox-container {
    appearance: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 15px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-date-filter .custom-input-box,
.custom-search .custom-input-box,
.custom-btn-con .custom_btn_add {
    width: 100%;
    border-radius: 5px;
    padding: 12px;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    background-color: white;
}

.custom_btn_add {
    background-image: linear-gradient(195deg, #EF5350 0%, #E53935 100%)  !important;
    cursor: pointer;
    color: white !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.custom_btn_add:hover {
    background-color: #3c8d40;
    transform: scale(1.05);
    color:  white !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-wrapper {
    position: relative;
}


.custom-select-box:focus,
.custom-input-box:focus {
    outline: none !important;
    /* border-color: #4DAC51; */
}

input.custom-color-input:focus {
    background-color: rgba(232, 240, 254, 1);
    outline: none;
}

@media (max-width: 768px) {

    .custom-dropdown .custom-select-box,
    .custom-date-filter .custom-input-box,
    .custom-search .custom-input-box {
        margin-bottom: 10px;
    }
}

.custom-dropdown,
.custom-date-filter,
.custom-search,
.custom-btn-con {
    /* padding: 0; */
    margin-bottom: 15px;
    /* margin-right: 15px; */
}

/* button style */
.mc_status {
    display: inline-block;
    padding: 5px;
    border-radius: 10px;
    width: 100px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.mc_status_width{
  width: 140px !important;
}

.mc_status.mc_active {
  background-color: #daf5dc;
  color: #4dac51;
  border: 1px solid #4dac51;
}

.mc_status.mc_pending {
  background-color: #fef2d8;
  color: #d9822b;
  border: 1px solid #d9822b;
}

.mc_status.mc_warning {
  background-color: #ffe8eb;
  color: #d62839;
  border: 1px solid #d62839;
}

.mc_status.mc_danger {
  background-color: #fddede;
  color: #c62828;
  border: 1px solid #c62828;
}

.mc_status.mc_info {
  background-color: #cde2f3;
  color: #127bbd;
  border: 1px solid #127bbd;
}

.mc_status.mc_secondary {
  background-color: #eaeaea;
  color: #5c5c5c;
  border: 1px solid #5c5c5c;
}

.mc_status.mc_success {
  background-color: #d6ffe6;
  color: #218c74;
  border: 1px solid #218c74;
}

.mc_status.mc_neutral {
  background-color: #f2f2f2;
  color: #656565;
  border: 1px solid #656565;
}

.mc_status.mc_highlight {
  background-color: #fff3c6;
  color: #ff9800;
  border: 1px solid #ff9800;
}

.mc_status.mc_inactive {
  background-color: #dddddd;
  color: #757575;
  border: 1px solid #757575;
}

.mc_status.mc_attention {
  background-color: #ffe6cc;
  color: #e65100;
  border: 1px solid #e65100;
}
.mc_status.mc_dark {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.mc_status:hover {
  opacity: 0.85;
  cursor: default;
}


.mc_action-btn {
    color: #f44336;
    cursor: pointer;
    font-weight: bold;
  }
    .mc_view {
    background-color: rgb(65, 105, 225); /* Royal Blue */
    padding: 10px auto;
    font-weight: 900;
    color: aliceblue;
    border: 1px solid rgb(65, 105, 225);
    border-radius: 20px;
    width: 80px;
}

.mc_view:hover {
    border: 1px solid rgb(65, 105, 225); /* Royal Blue */
    color: rgb(65, 105, 225); /* Royal Blue */
    background-color: aliceblue;
}

/* table css */

    .mc_table-container {
      width: 100%;
      margin: auto;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .mc_table {
      width: 100%;
      border-collapse: collapse;
    }

    .mc_caption {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 20px;
      color: #333;
    }

    .mc_thead {
      background-color: #ffffff;
      border-bottom: 3px solid #e4e7eb;
    }

    .mc_thead th {
      padding: 20px 5px ;
      width: 150px;
      text-align: center;
      font-weight: bold;
      font-size: 14px;
      color: #333;
    }

    .mc_tbody {
      padding: 0px;
    }

    .mc_tbody tr {
      border-bottom: 1px solid #e4e7eb;
      width: 100%;
    }

    .mc_tbody tr:hover {
      background-color: #f9fafc;
    }

    .mc_tbody td {
      padding: 10px;
      text-align: center;
      color: #555;
      font-size: 12px;
      font-weight: 600;
    }
    .mc_td{
      display: flex;
      justify-content: center;
      align-items: center;
    }
  .set-td-width{
    max-width: 100px;
  }  
.setWidth{
    width: 300px;
}
   /* Disabled button styles */
#prevPage:disabled, #nextPage:disabled {
    background-color: rgb(169, 169, 169); /* Gray */
    color: white;
    cursor: not-allowed;
}

/* Hover effects for active buttons */
#prevPage:hover:not(:disabled), #nextPage:hover:not(:disabled) {
    transition: background-color 0.3s;
}
  
 

    .mc_tfoot {
      background-color: #ffffff;
      text-align: center;
      font-size: 14px;
      font-weight: bold;
      border-top: 3px solid #e4e7eb;
    }

    .mc_tfoot td {
      padding: 20px;
      color: #333;
    }

    .mc_pagination-container {
      display: flex;
      justify-content: end;
      align-items: center;
      gap: 10px;
    }

    .mc_pagination-btn {
      padding: 8px 16px;
      width: 100px;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
      transition: background-color 0.3s ease;
      background-color: #45a049;
    }

    .mc_pagination-btn:hover:enabled {
      background-color: #45a049;
    }

    .mc_pagination-btn:disabled {
      background-color: #ccc;
      cursor: not-allowed;
    }

    .mc_page-number {
      font-size: 16px;
      font-weight: normal;
    }

    /* Responsive Styling */
    /* @media only screen and (max-width: 768px) {
      .mc_table-container {
        width: 100%;
        margin: 20px auto;
      }

      .mc_table {
        width: 100%;
        overflow-x: auto;
      }

      .mc_thead {
        display: none;
      }

      .mc_tbody td {
        display: block;
        padding: 15px;
        text-align: left;
        font-size: 12px;
        font-weight: 600;
        width: 100%;
      }

      .mc_tbody tr {
        display: block;
        width: 100%;
        margin-bottom: 10px;
      }
  .mc_tbody tr:first-of-type {
   border-top: 1px solid #e4e7eb;
  }
  .mc_tbody td:before {
      content: attr(data-label) ": ";
      font-weight: bold;
      display: inline-block;
      margin-bottom: 5px;
      color: #333;
    }
      .mc_pagination-container {
        flex-direction: column;
        align-items: center;
      }

      .mc_pagination-btn {
        padding: 10px 20px;
        font-size: 16px;
        margin: 5px;
      }

      .mc_page-number {
        font-size: 18px;
      }
    } */
    @media only screen and (max-width: 768px) {
      .mc_table-container {
        width: 100%;
        margin: 10px;
      }
    .mc_body{
      width: 100%;
    }
      .mc_table {
        width: 100%;
        overflow-x: auto;
      }
    
      .mc_thead {
        display: none;
      }
    
      .mc_tbody tr {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        border-top: 1px solid #e4e7eb;
      }
    
      .mc_tbody td {
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 10px;
        padding: 15px;
        font-size: 12px;
        font-weight: 600;
        width: 100%;
      }
    
      .mc_tbody td:before {
        content: attr(data-label) ": ";
        font-weight: bold;
        display: inline-block;
        margin-bottom: 5px;
        color: #333;
      }
    
      /* Apply flex only where necessary */
      .mc_tbody td.flex-layout {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
      }
    
      .mc_pagination-container {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
    
      .mc_pagination-btn {
        padding: 10px 20px;
        font-size: 16px;
        margin: 5px;
      }
    
      .mc_page-number {
        font-size: 18px;
      }
    }
    
    @media only screen and (max-width: 480px) {
      .mc_pagination-btn {
        padding: 10px 15px;
        font-size: 14px;
      }

      .mc_page-number {
        font-size: 14px;
      }

      .mc_tbody td {
        padding: 10px;
        font-size: 14px;
      }

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

.vh-45{
    /* padding: 100px !important; */
    height: 45vh;
}
.mc-table-img{
  width: 60px;
  height: 40px;
 
}
.mc-table-header-text{
  /* color: black; */
   font-weight: 1000;
   font-size: 14px;
   text-align: center;
   margin: 0px;
}
.mc-table-content-text{
  font-weight: 800;
  font-size: 12px;
  text-align: center;
  margin: 0px;
}
