:root {
  --gray: 210 14% 48%;
  --gray-l-100: 210 14% 97%;
  --gray-l-200: 210 14% 95%;
  --gray-l-300: 210 14% 90%;
  --gray-l-400: 210 14% 85%;
  --gray-l-500: 210 14% 70%;
  --gray-d-100: 213 58% 35%;
  --gray-d-200: 213 58% 30%;
  --gray-d-300: 213 58% 20%;
  --gray-d-400: 213 58% 15%;
  --gray-d-500: 213 58% 8%;
}

body {
  position: relative;
  z-index: -1;
}

.page-wrapper {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.sidebar-overlay {
  z-index: 1049 !important;
}

.container-fluid.container-fluid--custom {
  --bs-gutter-x: 4rem;
}

@media screen and (max-width: 1199px) {
  .container-fluid.container-fluid--custom {
    --bs-gutter-x: 3rem;
  }
}

@media screen and (max-width: 991px) {
  .container-fluid.container-fluid--custom {
    --bs-gutter-x: 1.5rem;
  }
}

/* ======================= Avatar CSS Start ======================= */
.avatar {
  width: 32px;
  height: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.avatar-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.avatar-img:first-child {
  margin-top: 0;
  margin-bottom: auto;
  margin-left: 0;
}

.avatar-img:last-child {
  margin-top: auto;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: -11px;
}

/* ======================= Avatar CSS End ========================= */
/* ======================= Button New CSS Start ======================= */
.btn-new {
  padding: 12.3px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  transition: all 0.3s ease;
}

.btn-new:hover,
.btn-new:focus,
.btn-new:focus-visible {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.btn-new .btn:active {
  top: 0;
}

.btn-new--sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-new--lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-new--primary {
  background-color: hsl(var(--base));
  color: #fff;
  border-color: hsl(var(--base));
}

.btn-new--primary:hover {
  background-color: hsl(var(--base-d-200));
  border-color: hsl(var(--base-d-200));
  box-shadow: 0px 4px 12px rgba(30, 58, 95, 0.2);
}

.btn-new--secondary {
  background-color: hsl(var(--secondary));
  color: #fff;
  border-color: hsl(var(--secondary));
}

.btn-new--secondary:hover {
  background-color: hsl(var(--secondary-d-200));
  border-color: hsl(var(--secondary-d-200));
  box-shadow: 0px 4px 12px rgba(53, 73, 94, 0.2);
}

.btn-new--success {
  background-color: #27AE60;
  color: #fff;
  border-color: #27AE60;
}

.btn-new--success:hover {
  background-color: #229954;
  border-color: #229954;
  box-shadow: 0px 4px 12px rgba(39, 174, 96, 0.2);
}

.btn-new--danger {
  background-color: #E74C3C;
  color: #fff;
  border-color: #E74C3C;
}

.btn-new--danger:hover {
  background-color: #C0392B;
  border-color: #C0392B;
  box-shadow: 0px 4px 12px rgba(231, 76, 60, 0.2);
}

.btn-new--warning {
  background-color: #E67E22;
  color: #fff;
  border-color: #E67E22;
}

.btn-new--warning:hover {
  background-color: #D35400;
  border-color: #D35400;
  box-shadow: 0px 4px 12px rgba(230, 126, 34, 0.2);
}

.btn-new--outline {
  background-color: transparent;
  color: hsl(var(--base));
  border-color: hsl(var(--base));
}

.btn-new--outline:hover {
  background-color: hsl(var(--base) / 0.1);
  box-shadow: 0px 4px 12px rgba(30, 58, 95, 0.15);
}

/* ======================= Button New CSS End ======================== */

/* ======================= Card CSS Start ======================= */
.card {
  background-color: hsl(var(--white));
  border: 1px solid hsl(var(--border-color));
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(30, 58, 95, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0px 4px 16px rgba(30, 58, 95, 0.12);
  transform: translateY(-2px);
}

.card-header {
  background-color: hsl(var(--section-bg));
  border-bottom: 1px solid hsl(var(--border-color));
  padding: 16px;
  border-radius: 8px 8px 0 0;
}

.card-body {
  padding: 16px;
}

.card-footer {
  background-color: hsl(var(--section-bg));
  border-top: 1px solid hsl(var(--border-color));
  padding: 16px;
  border-radius: 0 0 8px 8px;
}

/* ======================= Card CSS End ======================== */

/* ======================= Form CSS Start ======================= */
.form-control {
  background-color: hsl(var(--white));
  border: 1px solid hsl(var(--border-color));
  color: hsl(var(--heading-color));
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: hsl(var(--base));
  box-shadow: 0px 0px 0px 3px hsl(var(--base) / 0.1);
  background-color: hsl(var(--white));
  color: hsl(var(--heading-color));
}

.form-label {
  color: hsl(var(--heading-color));
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-text {
  color: hsl(var(--body-color));
  font-size: 12px;
}

/* ======================= Form CSS End ======================== */

/* ======================= Table CSS Start ======================= */
.table {
  background-color: hsl(var(--white));
  border-collapse: collapse;
}

.table thead {
  background-color: hsl(var(--section-bg));
  border-bottom: 2px solid hsl(var(--border-color));
}

.table thead th {
  color: hsl(var(--heading-color));
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}

.table tbody td {
  color: hsl(var(--body-color));
  padding: 12px 16px;
  border-bottom: 1px solid hsl(var(--border-color));
  font-size: 14px;
}

.table tbody tr:hover {
  background-color: hsl(var(--section-bg));
}

/* ======================= Table CSS End ======================== */

/* ======================= Badge CSS Start ======================= */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-primary {
  background-color: hsl(var(--base) / 0.15);
  color: hsl(var(--base));
}

.badge-success {
  background-color: #27AE60 / 0.15;
  color: #27AE60;
}

.badge-danger {
  background-color: #E74C3C / 0.15;
  color: #E74C3C;
}

.badge-warning {
  background-color: #E67E22 / 0.15;
  color: #E67E22;
}

.badge-info {
  background-color: hsl(var(--info) / 0.15);
  color: hsl(var(--info));
}

/* ======================= Badge CSS End ======================== */

/* ======================= Alert CSS Start ======================= */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 4px solid;
  margin-bottom: 16px;
}

.alert-success {
  background-color: #27AE60 / 0.1;
  border-color: #27AE60;
  color: #229954;
}

.alert-danger {
  background-color: #E74C3C / 0.1;
  border-color: #E74C3C;
  color: #C0392B;
}

.alert-warning {
  background-color: #E67E22 / 0.1;
  border-color: #E67E22;
  color: #D35400;
}

.alert-info {
  background-color: hsl(var(--info) / 0.1);
  border-color: hsl(var(--info));
  color: hsl(var(--base));
}

/* ======================= Alert CSS End ======================== */

/* ======================= Responsive Design Start ======================= */
@media screen and (max-width: 768px) {
  .card {
    margin-bottom: 16px;
  }

  .btn-new {
    width: 100%;
    margin-bottom: 8px;
  }

  .table {
    font-size: 12px;
  }

  .table thead th,
  .table tbody td {
    padding: 8px 12px;
  }
}

/* ======================= Responsive Design End ======================== */
