:root {
  --semades-blue: #009fe3;
  --semades-dark: #0b2a3c;
  --soft-border: #d7e6f5;
}

body.app-page {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(0,159,227,.12), transparent 55%),
    radial-gradient(900px 500px at 80% 20%, rgba(0,200,120,.10), transparent 50%),
    linear-gradient(180deg, #f6fbff, #eef6ff);
}

.app-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 12px;
}

.topbar {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 28px rgba(13, 61, 93, 0.10);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-logo {
  height: 34px;
  width: auto;
}

.topbar-title {
  line-height: 1.1;
  min-width: 0;
}
.topbar-title b {
  display: block;
  color: #0f2d3e;
}
.topbar-title span {
  color: rgba(15,45,62,.65);
  font-size: .92rem;
}

.pill {
  border: 1px solid var(--soft-border);
  background: rgba(255,255,255,.9);
  color: rgba(15,45,62,.75);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: .9rem;
  white-space: nowrap;
}

.card-soft {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 45px rgba(13, 61, 93, 0.12);
  border: 1px solid var(--soft-border);
}

.card-soft .card-body {
  padding: 18px;
}

.btn-primary {
  background: var(--semades-blue);
  border-color: var(--semades-blue);
  font-weight: 700;
}

.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger {
  font-weight: 700;
}

.form-control, .form-select, .btn, .input-group-text {
  border-radius: 12px !important;
}

.form-control, .form-select {
  border: 1px solid var(--soft-border);
  background: #fff;
}

.form-control:focus, .form-select:focus {
  border-color: rgba(0,159,227,.55);
  box-shadow: 0 0 0 .2rem rgba(0,159,227,.12);
}

.menu-grid a {
  text-decoration: none;
  color: inherit;
}

.menu-tile {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--soft-border);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(13, 61, 93, 0.10);
  transition: transform .12s ease, box-shadow .12s ease;
  height: 100%;
}

.menu-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(13, 61, 93, 0.13);
}

.menu-tile h5 {
  margin: 0 0 6px;
  font-weight: 800;
  color: #0f2d3e;
}

.menu-tile p {
  margin: 0;
  color: rgba(15,45,62,.65);
}

.table thead th {
  color: rgba(15,45,62,.75);
}

.badge-soft {
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  background: rgba(0,159,227,.08);
  color: rgba(11,42,60,.85);
}
