:root {
  --bg: #fff0ed;
  --surface: #ffd4d2;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #bdb5d3;
  --primary-soft: #eef2ff;
  --border: #0f172a;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
}
.hero-wrapper {
  position: relative;
  overflow: visible;
}

.hero-bg-image {
  position: absolute;
  right: -40px;
  bottom: -100px;
  width: 480px;
  max-width: 48%;
  pointer-events: none;
}

.z-1 {
  position: relative;
  z-index: 1;
}
input[type="checkbox"]:checked {
  accent-color: var(--primary);
}
.bg-primary {
  background-color: var(--primary) !important;
}
.table > :not(caption) > * > * {
  background-color: var(--surface);
  border-color: #0f172a;
}
.table tbody,
.table thead {
  border-color: #0f172a !important;
}

.btn-primary {
  background-color: #bdb5d3;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
#navbar {
  position: sticky;
  top: 0;
  overflow: visible !important;
  background-color: #fff0ed;
  z-index: 9999;
}

#footer {
  width: 100%;
  color: white;
  text-align: center;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}
a {
  text-decoration: none;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 2rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 70, 229, 0.15),
      transparent 28%
    ),
    linear-gradient(135deg, #ffffff, #fff0ed);
}

.standar-cart {
  background:
    radial-gradient(
      circle at top right,
      rgba(79, 70, 229, 0.15),
      transparent 28%
    ),
    linear-gradient(135deg, #ffffff, #fff0ed);
}

.role-card,
.result-card,
.admin-card {
  padding: 1.25rem;
}
.section-gap {
  margin-top: 2rem;
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.3rem;
}
.page-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.text-muted-custom {
  color: var(--muted);
}
.kpi-box {
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}
.chart-wrap {
  position: relative;
  min-height: 260px;
}
.footer-wrap {
  color: var(--muted);
  display: flex;
  flex-direction: column;
}
#footer .footer {
  color: #64748b;
  padding: 16px 0 24px;
}

.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: white;
}

.colored-toast .swal2-close {
  color: white;
}

.colored-toast .swal2-html-container {
  color: white;
}
