html,
body {
  min-height: 100%;
}

body {
  color: #e5edf7;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(135deg, #101623 0%, #151c2b 48%, #0d131f 100%);
}

a {
  color: #5de6b1;
}

a:hover {
  color: #90f3cd;
  text-decoration: none;
}

#wrapper,
#content-wrapper,
#content {
  background: transparent !important;
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(16, 22, 35, 0.98), rgba(11, 17, 28, 0.98)) !important;
  border-right: 1px solid rgba(120, 145, 180, 0.22);
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.18);
}

.sidebar .sidebar-brand {
  height: 74px;
  color: #ffffff;
  border-bottom: 1px solid rgba(120, 145, 180, 0.18);
  letter-spacing: 0;
}

.sidebar .sidebar-brand h4 {
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid rgba(93, 230, 177, 0.55);
  border-radius: 10px;
  color: #5de6b1;
  font-size: 15px;
  line-height: 34px;
  text-align: center;
}

.sidebar .sidebar-brand-text {
  font-size: 15px;
  font-weight: 700;
}

.sidebar-dark .nav-item .nav-link {
  margin: 3px 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(229, 237, 247, 0.78);
}

.sidebar-dark .nav-item.active .nav-link,
.sidebar-dark .nav-item .nav-link:hover {
  color: #fff;
  background: rgba(93, 230, 177, 0.1);
  border-color: rgba(93, 230, 177, 0.25);
}

.sidebar-dark .nav-item .nav-link i {
  color: #5de6b1;
}

.sidebar .collapse-inner {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(120, 145, 180, 0.16);
  border-radius: 10px !important;
}

.sidebar .collapse-item {
  color: #c6d2e1 !important;
  border-radius: 8px !important;
}

.sidebar .collapse-item:hover {
  color: #ffffff !important;
  background: rgba(93, 230, 177, 0.12) !important;
}

.topbar {
  height: 64px;
  background: rgba(17, 23, 36, 0.94) !important;
  border-bottom: 1px solid rgba(120, 145, 180, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(12px);
}

.topbar .nav-link,
.topbar .text-gray-600 {
  color: #d7e0ed !important;
}

.topbar .dropdown-menu {
  background: #151c2b;
  border: 1px solid rgba(120, 145, 180, 0.22);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.topbar .dropdown-header {
  background: rgba(93, 230, 177, 0.12);
  color: #5de6b1;
  border-bottom: 1px solid rgba(93, 230, 177, 0.18);
}

.dropdown-item {
  color: #d8e2ef;
}

.dropdown-item:hover {
  color: #fff;
  background: rgba(93, 230, 177, 0.1);
}

.container-fluid {
  padding: 18px 22px 28px;
}

.card,
.modal-content {
  color: #e5edf7;
  background: rgba(18, 25, 39, 0.94);
  border: 1px solid rgba(120, 145, 180, 0.2) !important;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22) !important;
}

.card-header,
.modal-header,
.modal-footer {
  background: rgba(255, 255, 255, 0.025) !important;
  border-color: rgba(120, 145, 180, 0.16) !important;
}

.text-primary,
.font-weight-bold.text-primary {
  color: #5de6b1 !important;
}

.text-gray-800,
.text-gray-900,
.text-gray-700,
.text-gray-600,
.text-gray-500 {
  color: #d8e2ef !important;
}

.border-left-primary,
.border-left-success,
.border-left-info,
.border-left-warning {
  border-left: 1px solid rgba(93, 230, 177, 0.5) !important;
}

.table {
  color: #dfe8f5;
}

.table thead th {
  color: #92a3ba;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(120, 145, 180, 0.16);
}

.table td,
.table th {
  border-color: rgba(120, 145, 180, 0.14);
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  color: #ffffff;
  background: rgba(93, 230, 177, 0.06);
}

.form-control,
.form-control-user,
select.form-control {
  color: #e5edf7;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(120, 145, 180, 0.24);
  border-radius: 10px !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-control-user:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(93, 230, 177, 0.72);
  box-shadow: 0 0 0 3px rgba(93, 230, 177, 0.12) !important;
}

.btn,
.btn-user {
  border-radius: 10px !important;
}

.btn-primary {
  color: #07110d !important;
  background: #5de6b1 !important;
  border-color: #5de6b1 !important;
  box-shadow: 0 10px 24px rgba(93, 230, 177, 0.18);
}

.btn-primary:hover {
  background: #7cf0c3 !important;
  border-color: #7cf0c3 !important;
}

.btn-warning,
.btn-success,
.btn-info,
.btn-secondary {
  border: 1px solid rgba(120, 145, 180, 0.24) !important;
  box-shadow: none !important;
}

.badge-danger {
  background: #f05d7a;
}

.sticky-footer {
  background: rgba(17, 23, 36, 0.8) !important;
  border-top: 1px solid rgba(120, 145, 180, 0.14);
}

.sticky-footer span {
  color: #91a0b7;
}

.pagination .page-link {
  color: #d8e2ef;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(120, 145, 180, 0.18);
}

.pagination .page-item.active .page-link {
  color: #07110d;
  background: #5de6b1;
  border-color: #5de6b1;
}

body.bg-gradient-primary {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(135deg, #101623, #151c2b 52%, #0d131f) !important;
}

body.bg-gradient-primary .container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.bg-gradient-primary .row {
  width: 100%;
}

body.bg-gradient-primary .card {
  overflow: hidden;
}

body.bg-gradient-primary .p-5 {
  padding: 2.2rem !important;
}

body.bg-gradient-primary .h4 {
  color: #ffffff !important;
  font-weight: 800;
}

#captcha {
  gap: 10px;
}

#captcha .form-control {
  flex: 1;
  width: auto !important;
}

#captcha img {
  width: 108px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(120, 145, 180, 0.24);
  border-radius: 10px;
}

@media (max-width: 768px) {
  body {
    background-attachment: fixed;
  }

  .sidebar {
    width: 6.5rem !important;
  }

  .sidebar.toggled {
    width: 0 !important;
  }

  .sidebar .sidebar-brand {
    height: 62px;
  }

  .sidebar .sidebar-brand h4 {
    display: none;
  }

  .sidebar .nav-item .nav-link {
    width: auto;
    margin: 3px 7px;
    padding: 10px 6px;
    font-size: 11px;
  }

  .topbar {
    height: 56px;
  }

  .container-fluid {
    padding: 12px 10px 22px;
  }

  .card-body,
  .card-header {
    padding: 0.9rem;
  }

  .table-responsive {
    border: 1px solid rgba(120, 145, 180, 0.16);
    border-radius: 12px;
  }

  .dropdown-list {
    width: calc(100vw - 24px) !important;
    max-width: 360px;
  }

  .btn {
    white-space: normal;
  }

  body.bg-gradient-primary .container {
    padding: 14px;
  }

  body.bg-gradient-primary .col-xl-6,
  body.bg-gradient-primary .col-lg-6,
  body.bg-gradient-primary .col-md-6 {
    max-width: 100%;
    flex: 0 0 100%;
    margin-top: 0 !important;
  }

  body.bg-gradient-primary .card {
    margin: 0 !important;
  }

  body.bg-gradient-primary .p-5 {
    padding: 1.25rem !important;
  }

  #captcha {
    align-items: stretch;
  }
}

@media (max-width: 420px) {
  #captcha {
    flex-direction: column;
  }

  #captcha img {
    width: 100%;
  }
}
