
/* DWC overrides — liquid glass tables (loads after updated_styles.css) */

#loader {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Tables: solid white background for readability
   -------------------------------------------------------------------------- */

.table-responsive {
  background: #ffffff !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.table-responsive::before {
  display: none !important;
  content: none !important;
}

.table-responsive > .table {
  position: relative;
  z-index: 1;
  background: #ffffff !important;
  color: #212529 !important;
  --bs-table-bg: #ffffff;
  --bs-table-striped-bg: #f8f9fa;
  --bs-table-hover-bg: #f1f3f5;
  --bs-table-color: #212529;
  --bs-table-border-color: #dee2e6;
}

.table-responsive > .table tbody th,
.table-responsive > .table tbody td,
.table-responsive > .table tfoot th,
.table-responsive > .table tfoot td {
  border-color: #dee2e6 !important;
  color: #212529 !important;
}

.table-responsive > .table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: #f8f9fa !important;
  color: #212529 !important;
}

.table-responsive > .table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: #ffffff !important;
  color: #212529 !important;
}

.table-responsive > .table tbody tr:hover > * {
  background-color: #f1f3f5 !important;
  color: #212529 !important;
}

.table-responsive > .table .text-muted,
.table-responsive > .table td.text-center.text-muted {
  color: #6c757d !important;
}

.table {
  background: #ffffff !important;
  color: #212529 !important;
  --bs-table-bg: #ffffff;
  --bs-table-striped-bg: #f8f9fa;
  --bs-table-hover-bg: #f1f3f5;
  --bs-table-color: #212529;
  --bs-table-border-color: #dee2e6;
}

.table tbody th,
.table tbody td,
.table tfoot th,
.table tfoot td {
  border-color: #dee2e6 !important;
  background-color: #ffffff;
  color: #212529 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: #f8f9fa !important;
  color: #212529 !important;
}

.table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: #ffffff !important;
  color: #212529 !important;
}

.table tbody tr:hover > * {
  background-color: #f1f3f5 !important;
  color: #212529 !important;
}

.table .text-muted,
.table td.text-center.text-muted {
  color: #6c757d !important;
}

/* No shimmer/shine overlays on tables or judge cards */
.table-responsive::after,
.judges-glass-card::after {
  display: none !important;
  content: none !important;
  animation: none !important;
}

/* --------------------------------------------------------------------------
   Class schedule search — no white block; glass controls on video background
   -------------------------------------------------------------------------- */

.class-schedule-search-bar {
  padding: 0.25rem 0 0.5rem;
}

.class-schedule-search-bar .form-group.boxed {
  padding: 0;
}

.class-schedule-search-bar .form-control {
  background: #ffffff !important;
  border: 1px solid #ced4da !important;
  color: #212529 !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.class-schedule-search-bar .form-control::placeholder {
  color: #6c757d;
}

.class-schedule-search-bar .form-control:focus {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.15);
  color: #212529 !important;
}

.class-schedule-search-bar #searchButton,
.class-schedule-search-bar #resetButton {
  display: inline-block;
  width: auto;
  flex: 0 0 auto;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.class-schedule-search-bar .dwc-input-icon {
  color: #fe9500;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 0 5px rgba(254, 149, 0, 0.16);
}

.class-schedule-search-bar .dwc-input-wrap .form-control.dwc-has-input-icon {
  padding-left: 2.5rem !important;
}

.class-schedule-title-centered {
  text-align: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Empty state cards (no filter selected / no results)
   -------------------------------------------------------------------------- */

body:has(.dwc-empty-state-card)::before {
  display: none;
}

.error-page:has(.dwc-empty-state-card),
.error-page.competition-schedule-empty-page {
  max-width: none !important;
  width: 100%;
  padding: 0 !important;
  margin: 0;
}

.competition-schedule-empty-state-wrap {
  min-height: calc(100dvh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}

.error-page:not(.competition-schedule-empty-page) .dwc-empty-state-card {
  margin: 0.5rem auto;
}

/* Shared frosted glass surface (empty states + auth/profile form cards + dancer entry cards) */
.dwc-empty-state-card,
.dwc-auth-page .liquidGlass-wrapper,
.dancer-entry-card {
  position: relative;
  isolation: isolate;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.32),
    0 4px 12px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dwc-empty-state-card {
  border: 3px solid #ffffff;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 2.75rem 2rem;
  text-align: center;
}

.dwc-auth-page .liquidGlass-wrapper {
  border-top: 8px solid #fe9500;
  display: flex;
  overflow: hidden;
  width: min(100%, 560px);
  max-width: min(100%, 560px);
  margin: 0 auto;
  font-weight: 600;
  z-index: 1;
}

.dancer-entry-card {
  border-top: 8px solid #fe9500;
  overflow: hidden;
}

.dwc-auth-page .liquidGlass-wrapper--wide {
  max-width: min(100%, 560px);
}

.dwc-auth-page .liquidGlass-effect,
.dwc-auth-page .liquidGlass-tint,
.dwc-auth-page .liquidGlass-shine {
  display: none;
}

.dwc-auth-page .liquidGlass-text {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.75rem 2rem;
  box-sizing: border-box;
}

.dwc-auth-page .dwc-glass-title,
.dwc-auth-page .dwc-welcome-title {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.4);
}

.dwc-empty-state-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #ffffff;
  padding: 0.75rem;
  box-sizing: border-box;
  overflow: hidden;
}

.dwc-empty-state-card__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dwc-empty-state-card__title {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-shadow:
    0 1px 3px rgba(0,0,0,0.6),
    0 2px 6px rgba(0,0,0,0.4);
}

.dwc-empty-state-card__message {
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.dwc-empty-state-card__message i {
  color: #ffffff;
  font-size: 1.1em;
  vertical-align: -0.1em;
}

@media (min-width: 768px) {
  .dwc-auth-page .liquidGlass-wrapper,
  .dwc-auth-page .liquidGlass-wrapper--wide {
    max-width: min(100%, 560px);
  }

  .dwc-auth-page .liquidGlass-text {
    padding: 2.75rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   Modal backdrop: remove z-index from Bootstrap default
   -------------------------------------------------------------------------- */

.modal-backdrop {
  z-index: unset;
}
