/* Custom classes  */
.hide,
.user-dashboard .hide {
  display: none !important;
}
.block {
  display: block;
}
.margin-0,
.user-dashboard .margin-0 {
  margin: 0;
}
.margin-bottom-10,
.user-dashboard .margin-bottom-10 {
  margin-bottom: 10px;
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}
.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}
.grid-cols-6 {
  grid-template-columns: repeat(6, 1fr);
}
.grid-cols-7 {
  grid-template-columns: repeat(7, 1fr);
}
.grid-cols-8 {
  grid-template-columns: repeat(8, 1fr);
}
.grid-cols-9 {
  grid-template-columns: repeat(9, 1fr);
}
.grid-cols-10 {
  grid-template-columns: repeat(10, 1fr);
}
.grid-cols-11 {
  grid-template-columns: repeat(11, 1fr);
}
.grid-cols-12 {
  grid-template-columns: repeat(12, 1fr);
}
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-1 {
  flex: 1;
}
.flex-2 {
  flex: 2;
}
.self-center {
  align-self: center;
}
.gap-5 {
  gap: 5px;
}
.gap-10 {
  gap: 10px;
}
.gap-20 {
  gap: 20px;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.rounded-full,
.user-dashboard .rounded-full {
  border-radius: 50%;
}
.rounded-md,
.user-dashboard .rounded-md {
  border-radius: 20px;
}
.rounded-15,
.user-dashboard .rounded-15 {
  border-radius: 15px;
}
.space-y-10 > *:not(:last-child) {
  margin-bottom: 10px;
}
.space-y-15 > *:not(:last-child) {
  margin-bottom: 15px;
}
.space-y-20 > *:not(:last-child) {
  margin-bottom: 20px;
}
.space-y-30 > *:not(:last-child) {
  margin-bottom: 30px;
}
.space-y > *:not(:last-child) {
  margin-bottom: 50px;
}
.list-none {
  list-style: none;
}
.no-underline,
.user-dashboard .no-underline {
  text-decoration: none !important;
}
.white {
  color: white;
}
.padd-0 {
  padding: 0;
}
.padd-5 {
  padding: 5px;
}
.padd-10 {
  padding: 10px;
}
.padd-20 {
  padding: 20px;
}
.padd-30 {
  padding: 30px;
}
.padd-40 {
  padding: 40px;
}
.padd-bottom-10 {
  padding-bottom: 10px;
}
.padd-bottom-20 {
  padding-bottom: 20px;
}
.padd-bottom-30 {
  padding-bottom: 30px;
}
.padd-top-10 {
  padding-top: 10px;
}
.padd-top-20 {
  padding-top: 20px;
}
.padd-top-30 {
  padding-top: 30px;
}
.pointer {
  cursor: pointer;
}
.disable {
  cursor: none;
}
.width-full {
  width: 100%;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}

.required {
  color: red;
}

/* stats  */
.stats-card {
  padding: 20px;
  box-shadow: 0 0 6px 3px #0000000d;
}
.stats-card div:last-child {
  font-size: 16px;
}
.stats-count-number {
  font-size: 51px;
  line-height: 55px;
  font-weight: 700;
}
.btn {
  display: inline-block;
  padding: 10px 28px;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}
.shadow {
  box-shadow: 0px 0px 8px 2px #00000029;
}

.border {
  border: 1px solid #d1d5db;
}
.overflow-scroll {
  overflow: scroll;
}
.w-auto {
  width: auto;
}

.status_chip {
  padding: 4px;
  min-width: 100px;
  text-align: center;
  display: inline-block;
  border: 2px solid;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}
.upcoming,
.pending {
  background: #bdadf7;
  border-color: #5932ea;
  color: #5932ea;
}
.complete,
.rejected {
  background: #f29b9b;
  border-color: #df0404;
  color: #df0404;
}
.current,
.approved {
  background: #99dfcf;
  border-color: #00b087;
  color: #00b087;
}

.dashboard-button {
  display: inline-block;
  padding: 7px 22px;
  border-radius: 5px;
  font-size: 15px;
}

.dashboard hr {
  margin-bottom: 30px;
}

/* Table */

.table-outer {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ffffff30;
  border-radius: 10px;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.responsive-table th,
.responsive-table td {
  text-align: left;
}
.responsive-table tr:nth-child(2n),
.responsive-table thead tr {
  background-color: var(--mileage-section-bg-color, #000);
  color: white;
}
.responsive-table thead tr th {
  padding: 17px;
}
.responsive-table tbody td {
  padding: 10px 17px 10px 17px;
}

@media (max-width: 1024px) {
  .tablet-padding-right-10 {
    padding-right: 10px;
  }
  .tablet-padding-top-10 {
    padding-top: 10px;
  }
  .tablet-padding-bottom-10 {
    padding-bottom: 10px;
  }
  .tablet-padding-left-10 {
    padding-left: 10px;
  }
  .tablet-padd-10 {
    padding: 10px;
  }

  .tablet-flex {
    display: flex;
  }
  .tablet-flex-column {
    flex-direction: column;
  }
  .tablet-flex-row {
    flex-direction: row;
  }
  .tablet-items-center {
    align-items: center;
  }
  .tablet-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .tablet-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .tablet-full-width {
    width: 100%;
  }
  .tablet-none,
  .user-dashboard .tablet-none {
    display: none;
  }
  .tablet-block,
  .user-dashboard .tablet-block {
    display: block;
  }
  .tablet-full-width {
    width: 100%;
  }
  .tablet-scroll {
    overflow: scroll;
  }
  .tablet-absolute,
  .dashboard .tablet-absolute {
    position: absolute;
  }
  .tablet-fixed,
  .dashboard .tablet-fixed {
    position: fixed;
  }
  .tablet-relative,
  .dashboard .tablet-relative {
    position: relative;
  }
  .tablet-flex-1,
  .dashboard .tablet-flex-1 {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .mobile-flex {
    display: flex;
  }
  .mobile-flex-column {
    flex-direction: column;
  }
  .mobile-flex-row {
    flex-direction: row;
  }
  .mobile-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
  .mobile-none,
  .user-dashboard .mobile-none {
    display: none;
  }
  .mobile-block,
  .user-dashboard .mobile-block {
    display: block;
  }
  .mobile-full-width {
    width: 100%;
  }
  .responsive-table thead {
    display: none;
  }

  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 10px;
  }

  .responsive-table tbody td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
  }

  .responsive-table td:not(:last-child) {
    border-bottom: 1px solid #ddd;
  }
  .responsive-table td::before {
    content: attr(data-title);
    position: absolute;
    left: 10px;
    font-weight: bold;
    text-align: left;
  }

  .mobile-flex-1,
  .dashboard .mobile-flex-1 {
    flex: 1;
  }
}
