/* =====================================================
   Estudio Kuality – Global Theme
   Academia de Danzas
   ===================================================== */

/* ---------- Variables base ---------- */
:root {
  --brand: #8ecbcd; /* fucsia artístico */
  --brand-dark: #408f91;
  --brand-soft: rgba(217, 70, 239, 0.12);

  --bg-main: #f4f6f8;
  --text-main: #1f2937;
}

/* ---------- Body / Background ---------- */
body {
  background:
    radial-gradient(
      1400px 700px at 5% -10%,
      rgba(236, 72, 153, 0.18),
      transparent 45%
    ),
    radial-gradient(
      1200px 600px at 95% 15%,
      rgba(99, 102, 241, 0.18),
      transparent 45%
    ),
    radial-gradient(
      800px 500px at 50% 100%,
      rgba(34, 197, 94, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, #fdfcff 0%, #f1f5f9 100%);
  min-height: 100vh;
  color: var(--text-main);
}

/* ---------- Containers ---------- */
.container {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

/* ---------- Navbar / Header ---------- */
.navbar {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ---------- Cards ---------- */
.card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 1);
  border: none;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04);
}

.card:hover {
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.267),
    0 2px 6px rgba(0, 0, 0, 0.267);
}

/* ---------- Buttons ---------- */
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: none;
  color: #fff;
  box-shadow: 0 6px 16px rgba(217, 70, 239, 0.35);
}

.btn-brand:hover {
  filter: brightness(1.05);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.btn-outline-primary:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

/* ---------- Tables ---------- */
.table {
  --bs-table-bg: transparent;
}

.table thead th {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tr:hover {
  background-color: #91ced175; /* Cambia al color deseado */
  cursor: pointer; /* Opcional: muestra puntero de mano */
}

/* ---------- Badges ---------- */
.badge {
  font-weight: 500;
  letter-spacing: 0.2px;
}

.badge.text-bg-success {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.badge.text-bg-warning {
  background: linear-gradient(135deg, #fde68a, #facc15);
  color: #92400e;
}

.badge.text-bg-danger {
  background: linear-gradient(135deg, #f87171, #ef4444);
}

/* ---------- Inputs ---------- */
.form-control,
.form-select {
  border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(217, 70, 239, 0.15);
}

/* ---------- Modals ---------- */
.modal-content {
  border-radius: 18px;
  border: none;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ---------- Pills / detalles (cumpleaños, etc) ---------- */
.bd-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  white-space: nowrap;
  line-height: 1;
}

.bd-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  display: inline-block;
  opacity: 0.7;
  background: rgba(0, 0, 0, 0.35);
}

/* ---------- Animaciones suaves ---------- */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 
/* ---------- Sticky footer layout ---------- */
html,
body {
  height: 100%;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-content {
  flex: 1 0 auto;
}

/* Footer pegado abajo sin fixed */
.app-footer {
  margin-top: auto;
}

/* Opcional: footer más moderno y alineado al theme */
.app-footer {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.money-hidden {
  filter: blur(9px);
  user-select: none;
}

.text-brand {
  color: var(--brand-dark);
}

.navbar .nav-link.active {
  color: var(--brand-color) !important;
}

.navbar .dropdown-item.active {
  background: rgba(46, 196, 182, 0.12);
  color: #0f172a;
}
