:root {
  --bg-base: #f4f7f8;
  --bg-soft: #dceef3;
  --bg-card: rgba(255, 255, 255, 0.86);
  --text-main: #172026;
  --text-muted: #5a6b75;
  --brand: #0f766e;
  --brand-2: #0ea5a3;
  --accent: #f59e0b;
  --border-soft: rgba(23, 32, 38, 0.08);
  --shadow-soft: 0 18px 42px rgba(15, 118, 110, 0.12);
}

* {
  box-sizing: border-box;
}

body.app-body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 8% 12%, #c2e5ef 0%, rgba(194, 229, 239, 0) 42%),
    radial-gradient(circle at 88% 0%, #f9d9a4 0%, rgba(249, 217, 164, 0) 35%),
    linear-gradient(145deg, var(--bg-base) 0%, var(--bg-soft) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(18px);
}

.bg-orb-one {
  width: 320px;
  height: 320px;
  background: rgba(14, 165, 163, 0.18);
  top: -120px;
  left: -80px;
}

.bg-orb-two {
  width: 380px;
  height: 380px;
  background: rgba(245, 158, 11, 0.15);
  right: -120px;
  bottom: -120px;
}

.app-navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--border-soft);
}

.navbar-brand,
.nav-link {
  color: var(--text-main);
}

.nav-link {
  font-weight: 500;
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.metric-card {
  padding: 1.15rem;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.metric-value {
  font-size: 1.55rem;
  font-weight: 700;
}

.page-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.btn-brand {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.28);
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-soft {
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.search-wrap {
  position: relative;
}

.search-wrap i {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #7b8c97;
}

.search-wrap input {
  padding-left: 2.2rem;
}

.table.theme-table {
  margin-bottom: 0;
}

.table.theme-table thead th {
  color: var(--text-muted);
  font-weight: 600;
  border-bottom-width: 1px;
}

.table.theme-table tbody tr {
  transition: background-color 0.2s ease;
}

.table.theme-table tbody tr:hover {
  background-color: rgba(15, 118, 110, 0.06);
}

.form-control,
.form-select,
textarea.form-control {
  border-radius: 12px;
  border-color: rgba(23, 32, 38, 0.15);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: rgba(14, 165, 163, 0.6);
  box-shadow: 0 0 0 0.25rem rgba(14, 165, 163, 0.17);
}

.animate-rise {
  animation: riseIn 0.5s ease both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.18s;
}

.delay-3 {
  animation-delay: 0.24s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .page-title {
    font-size: 1.5rem;
  }

  .metric-value {
    font-size: 1.25rem;
  }
}
