@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

body {
  font-family: "Prompt", sans-serif !important;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #f7fafc 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  color: #1f3550;
}

body h1, h2, h3, h4, h5, h6 {
  font-family: "Prompt", sans-serif !important;
}

.loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #8bdaff;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999999;
  transition: opacity .4s ease-in-out, visibility .4s ease-in-out;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-text {
  color: white;
  font-size: 14pt;
  font-weight: 600;
  margin-left: 10px;
}

.loader .loader-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 28px;
}

.loader .loader-decoration .icon-logo {
  fill: #fff;
  width: 10rem;
}

.dot {
  margin-left: 3px;
  animation: blink 1.5s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  animation-delay: 0.6s;
}

.loading-bar-background {
  --height: 30px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 4px;
  width: 15rem;
  height: var(--height);
  background: linear-gradient(180deg, #ffffff 0%, #dff2ff 100%);
  border: 1px solid rgba(100, 180, 255, .35);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, .8),
    inset 0 -2px 6px rgba(80, 150, 255, .15);
  border-radius: calc(var(--height) / 2);
}

.loading-bar {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  --height: 20px;
  width: 0%;
  height: var(--height);
  overflow: hidden;
  background: linear-gradient(90deg, #76e0ff 0%, #47b3ff 50%, #5d7cff 100%);
  border-radius: calc(var(--height) / 2);
  box-shadow:
    0 0 12px rgba(90, 170, 255, .35),
    inset 0 1px 2px rgba(255, 255, 255, .5);
  animation: loading .3s ease-out forwards;
}

.loading-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: shine 2s linear infinite;
}

.white-bars-container {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
}

.white-bar {
  background: linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  width: 10px;
  height: 45px;
  opacity: 0.3;
  rotate: 45deg;
}

@keyframes shine {
  to {
    left: 140%;
  }
}

@keyframes loading {
  0% {
    width: 0;
  }

  80%,
  100% {
    width: 100%;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.ad-nav {
  background: #fff;
  box-shadow: 0 6px 18px rgba(55, 120, 220, .10);
  border-bottom: 1px solid rgba(80, 170, 255, .18);
}

.ad-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #17528f;
}

.ad-nav .navbar-brand img {
  height: 38px;
  width: auto;
}

.ad-nav .brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #9b9b9b;
  letter-spacing: .5px;
  line-height: 1;
}

.ad-nav .nav-link {
  color: #414141;
  font-size: 1.05rem;
  position: relative;
  padding: .55rem .9rem;
}

.ad-nav .nav-link .nevline {
  font-size: 11px;
  display: block;
  text-align: center;
  color: #9b9b9b;
  letter-spacing: .5px;
}

.ad-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  background: #5bc3f6;
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .15s ease, transform .15s ease;
}

.ad-nav .nav-item.active > .nav-link::after,
.ad-nav .nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.ad-title {
  color: #17528f;
  font-weight: 800;
  letter-spacing: .2px;
}

.ad-subtitle {
  color: rgba(25, 55, 90, .55);
  font-size: .95rem;
}

.ad-card {
  position: relative;
  border: 1px solid rgba(80, 170, 255, .28);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
  box-shadow: 0 14px 32px rgba(55, 120, 220, .18);
  overflow: hidden;
}

.ad-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, #7ee8ff 0%, #48a8ff 45%, #5f7cff 100%);
}

.ad-card .card-title {
  color: #17528f;
  font-weight: 800;
  letter-spacing: .2px;
}

.ad-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  height: 100%;
}

.ad-stat .stat-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, #65d9ff 0%, #45a7ff 55%, #637cff 100%);
  box-shadow: 0 8px 18px rgba(70, 150, 255, .35);
}

.ad-stat .stat-icon.icon-green {
  background: linear-gradient(135deg, #4ade80 0%, #10b981 60%, #0d9488 100%);
  box-shadow: 0 8px 18px rgba(16, 185, 129, .3);
}

.ad-stat .stat-icon.icon-orange {
  background: linear-gradient(135deg, #ffd36b 0%, #ff9f43 60%, #ff7b54 100%);
  box-shadow: 0 8px 18px rgba(255, 159, 67, .3);
}

.ad-stat .stat-icon.icon-purple {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 60%, #6d28d9 100%);
  box-shadow: 0 8px 18px rgba(139, 92, 246, .3);
}

.ad-stat .stat-label {
  font-size: .85rem;
  color: rgba(25, 55, 90, .55);
  line-height: 1.2;
  margin-bottom: 2px;
}

.ad-stat .stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #17528f;
  line-height: 1.1;
}

.ad-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease;
}

a.ad-card.ad-menu:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(55, 120, 220, .28);
}

.ad-menu .menu-title {
  font-weight: 700;
  color: #17528f;
  line-height: 1.2;
}

.ad-menu .menu-sub {
  font-size: .8rem;
  color: rgba(25, 55, 90, .5);
}

.ad-menu .menu-arrow {
  margin-left: auto;
  color: #48a8ff;
  font-size: 1.1rem;
}

.ad-card .table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.ad-card .table thead th {
  color: rgba(25, 55, 90, .6);
  font-weight: 600;
  font-size: .85rem;
  border-bottom: 1px solid rgba(80, 170, 255, .25);
  white-space: nowrap;
}

.ad-card .table tbody td {
  color: #1f3550;
  border-bottom: 1px solid rgba(80, 170, 255, .12);
  vertical-align: middle;
}

.ad-card .table tbody tr:last-child td {
  border-bottom: 0;
}

.badge-on {
  background: linear-gradient(90deg, #4ade80, #10b981);
}

.badge-off {
  background: linear-gradient(90deg, #ff7b7b, #e43145);
}

.badge-hide {
  background: linear-gradient(90deg, #94a3b8, #64748b);
}

.badge-type {
  background: rgba(72, 168, 255, .12);
  color: #2f9dff;
  border: 1px solid rgba(72, 168, 255, .25);
  font-weight: 600;
}

.btn-reborn {
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  padding: 10px 18px;
  color: #fff !important;
  background: linear-gradient(90deg, #65d9ff 0%, #45a7ff 48%, #637cff 100%);
  box-shadow: 0 10px 24px rgba(70, 150, 255, .28);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-reborn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 15px 34px rgba(70, 150, 255, .38);
}

.btn-reborn:active {
  transform: translateY(0);
  filter: brightness(.98);
}

.btn-reborn-danger {
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  padding: 10px 18px;
  color: #fff !important;
  background: linear-gradient(90deg, #ff7b7b 0%, #ff4b5c 55%, #e43145 100%);
  box-shadow: 0 10px 22px rgba(228, 49, 69, .22);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-reborn-danger:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(228, 49, 69, .32);
}

.form-control,
.form-select {
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .22);
  color: #1f3550;
  border-radius: 12px;
}

.form-control::placeholder {
  color: rgba(40, 80, 120, .38);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(72, 168, 255, .75);
  box-shadow: 0 0 0 .16rem rgba(72, 168, 255, .22);
}

.input-group-text {
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .22);
  color: #2f9dff;
}

.btn-outline-secondary {
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .25);
  color: #2f9dff;
}

.btn-outline-secondary:hover {
  background: #eaf7ff;
  border-color: rgba(70, 150, 230, .35);
  color: #4e6cff;
}

.cf-turnstile {
  background: #ffffff;
  border: 1px solid rgba(70, 150, 230, .16);
  border-radius: 16px;
  padding: 10px;
}

.pagination .page-link {
  border: 1px solid rgba(0, 0, 0, .06);
  background: #ffffff;
  color: #6b6b6b;
  font-weight: 700;
  min-width: 38px;
  height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.pagination .page-link:hover {
  transform: translateY(-2px);
  color: #0084ff;
  box-shadow: 0 10px 16px rgba(0, 0, 0, .10);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(180deg, #4dc7ff 0%, #0077ff 100%);
  color: #fff;
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 12px 20px rgba(60, 128, 255, .3);
}

.pagination .page-item.disabled .page-link {
  opacity: .5;
  background: #f2f2f2;
  color: #9c9c9c;
  cursor: not-allowed;
  transform: none !important;
}

.ad-footer {
  color: #9b9b9b;
  font-size: .85rem;
}

@media (max-width: 576px) {
  .ad-stat .stat-value {
    font-size: 1.3rem;
  }

  .ad-stat .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 13px;
  }
}
