:root {
  --prh-night: #00035e;
  --prh-deep: #090b37;
  --prh-panel: rgba(12, 15, 76, 0.86);
  --prh-paper: #ffffff;
  --prh-paper-2: #f6f4ff;
  --prh-text: #ffffff;
  --prh-text-dark: #171a31;
  --prh-muted: rgba(255, 255, 255, 0.68);
  --prh-muted-dark: #626783;
  --prh-line: rgba(255, 255, 255, 0.14);
  --prh-pink: #d128a8;
  --prh-violet: #8f22df;
  --prh-orange: #ff8c1a;
  --prh-orange-hover: #f47b00;
  --prh-green: #2bd47d;
  --prh-red: #ff5470;
  --prh-radius: 8px;
}

html {
  min-height: 100%;
}

body,
body.bg-light {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 3, 94, 0.84), rgba(5, 6, 44, 0.95)),
    url("https://passionradiohungary.hu/wp-content/uploads/2026/03/images2.png") center / cover fixed !important;
  color: var(--prh-text);
  letter-spacing: 0;
}

.container.py-4,
.container-fluid.py-3,
.container.py-5 {
  background: rgba(9, 11, 55, 0.54);
  border: 1px solid var(--prh-line);
  border-radius: var(--prh-radius);
  margin-top: 18px;
  margin-bottom: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.22);
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--prh-text);
  font-weight: 900;
  letter-spacing: 0;
}

p,
label,
.form-label,
.small,
small,
.table,
.accordion-button,
.card {
  letter-spacing: 0;
}

.text-muted,
.text-light-emphasis,
.msg-meta,
.question-meta {
  color: var(--prh-muted) !important;
}

.navbar.bg-dark {
  background: rgba(0, 3, 94, 0.82) !important;
  border-bottom: 1px solid var(--prh-line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.navbar .container-fluid {
  align-items: flex-start;
  gap: 8px;
}

.prh-admin-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  min-width: 0;
  max-width: 138px;
  margin-right: 4px;
  color: var(--prh-text) !important;
  font-weight: 900;
  line-height: 1.05;
}

.prh-admin-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(209, 40, 168, 0.55));
}

.prh-admin-brand span {
  font-size: 14px;
  white-space: nowrap;
}

.navbar-collapse {
  min-width: 0;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.nav-main-links {
  flex-wrap: wrap;
  gap: 0.22rem;
}

.nav-main-links .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0.3rem 0.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--prh-radius);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-main-links .nav-link::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--prh-orange);
  box-shadow: 0 0 16px rgba(255, 140, 26, 0.8);
}

.nav-main-links .nav-link.active,
.nav-main-links .nav-link:hover {
  border-color: transparent;
  background: linear-gradient(90deg, var(--prh-pink), var(--prh-violet));
  color: var(--prh-text) !important;
}

.nav-user-tools {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-user-name {
  color: var(--prh-text) !important;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.nav-user-tools .btn {
  min-height: 31px;
  padding: 0.28rem 0.55rem;
  font-size: 12.5px;
}

.card,
.accordion-item,
.list-group-item,
.modal-content {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 255, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: var(--prh-radius) !important;
  color: var(--prh-text-dark) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.card h1,
.card h2,
.card h3,
.card .h4,
.card .h5,
.card .h6,
.accordion-item h1,
.accordion-item h2,
.accordion-item h3,
.modal-content h1,
.modal-content h2,
.modal-content h3 {
  color: var(--prh-text-dark);
}

.card .text-muted,
.card .small,
.card small,
.card .question-meta,
.accordion-item .text-muted,
.accordion-item .small,
.accordion-item small,
.accordion-item .question-meta,
.modal-content .text-muted {
  color: var(--prh-muted-dark) !important;
}

.card-header,
.accordion-button {
  background: #eee9ff !important;
  border-bottom: 1px solid #d9ceff !important;
  color: var(--prh-text-dark) !important;
  font-weight: 900;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(209, 40, 168, 0.12), rgba(143, 34, 223, 0.15)) !important;
  color: var(--prh-text-dark) !important;
}

.btn {
  min-height: 38px;
  border-radius: var(--prh-radius) !important;
  font-weight: 900 !important;
  letter-spacing: 0;
}

.btn-primary,
.btn-success,
.btn-warning {
  background: linear-gradient(90deg, var(--prh-orange), #ffac2b) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(255, 140, 26, 0.22);
}

.btn-primary:hover,
.btn-success:hover,
.btn-warning:hover {
  background: linear-gradient(90deg, var(--prh-orange-hover), #ff9b16) !important;
  color: #fff !important;
}

.btn-outline-primary,
.btn-outline-light,
.btn-outline-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: var(--prh-text) !important;
}

.card .btn-outline-primary,
.card .btn-outline-secondary,
.accordion-item .btn-outline-primary,
.accordion-item .btn-outline-secondary {
  background: #fff !important;
  border-color: rgba(143, 34, 223, 0.35) !important;
  color: var(--prh-violet) !important;
}

.btn-outline-primary:hover,
.btn-outline-light:hover,
.btn-outline-secondary:hover,
.card .btn-outline-primary:hover,
.card .btn-outline-secondary:hover {
  background: linear-gradient(90deg, var(--prh-pink), var(--prh-violet)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.btn-outline-danger {
  background: #fff !important;
  border-color: rgba(255, 84, 112, 0.55) !important;
  color: #b51d3a !important;
}

.btn-outline-danger:hover {
  background: var(--prh-red) !important;
  border-color: var(--prh-red) !important;
  color: #fff !important;
}

.form-control,
.form-select,
textarea {
  background: #fff !important;
  border: 1px solid #c8cfe5 !important;
  border-radius: var(--prh-radius) !important;
  color: var(--prh-text-dark) !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: #4d8cff !important;
  box-shadow: 0 0 0 0.2rem rgba(77, 140, 255, 0.2) !important;
}

.form-check-input:checked {
  background-color: var(--prh-violet) !important;
  border-color: var(--prh-violet) !important;
}

.table {
  --bs-table-bg: #ffffff;
  --bs-table-striped-bg: #f4f2ff;
  --bs-table-color: var(--prh-text-dark);
  --bs-table-border-color: rgba(0, 3, 94, 0.12);
  border-color: rgba(0, 3, 94, 0.12) !important;
}

.table thead th {
  background: #eee9ff !important;
  color: #2b2f55 !important;
  border-color: rgba(0, 3, 94, 0.12) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table td,
.table th {
  color: var(--prh-text-dark) !important;
  vertical-align: middle;
}

.table-week td,
.table-week th,
.table-responsive .table td,
.table-responsive .table th {
  background-color: #fff !important;
}

.slot-own {
  background: #e9fff4 !important;
}

.slot-other {
  background: #fff1f1 !important;
}

.slot-autodj {
  background: #fff9df !important;
}

.alert {
  border-radius: var(--prh-radius);
  font-weight: 700;
}

.alert-success { background: #e9f8ef; color: #11663c; border-color: #8dd5af; }
.alert-danger { background: #ffe9ec; color: #8d1f30; border-color: #f3a8b4; }
.alert-info { background: #eef0ff; color: #25307b; border-color: #bbbfff; }
.alert-warning { background: #fff3d9; color: #855f00; border-color: #ffd58a; }

code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: #eee9ff;
  border: 1px solid #d9ceff;
  border-radius: 6px;
  color: #4d2f9f !important;
  padding: 2px 6px;
}

.badge,
.status-pill {
  border-radius: 999px !important;
  font-weight: 900 !important;
}

.passkey-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
  color: var(--prh-muted-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.passkey-divider::before,
.passkey-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 3, 94, 0.16);
}

.passkey-logo-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.45rem 0.75rem !important;
}

.passkey-login-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(209, 40, 168, 0.4));
}

.bg-white {
  background-color: rgba(255, 255, 255, 0.96) !important;
}

.border,
.border-0,
.rounded {
  border-color: rgba(0, 3, 94, 0.12) !important;
}

.answer-summary-card,
.answer-card {
  border-color: rgba(0, 3, 94, 0.12) !important;
  border-radius: var(--prh-radius) !important;
}

.answer-stat-fill {
  background: linear-gradient(90deg, var(--prh-pink), var(--prh-orange)) !important;
}

body:has(.container.py-5) .container.py-5 {
  max-width: 520px !important;
  padding: 28px !important;
}

body:has(.container.py-5) h1 {
  text-align: center;
}

body:has(.container.py-5) h1::before {
  content: "";
  display: block;
  width: 86px;
  height: 86px;
  margin: 0 auto 14px;
  background: url("https://passionradiohungary.hu/wp-content/uploads/2026/03/cropped-2f0362af-c709-4905-8311-a10ce5f0dfc1-removebg-preview.png") center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(209, 40, 168, 0.58));
}

@media (max-width: 991.98px) {
  .navbar .container-fluid {
    align-items: flex-start;
  }

  .prh-admin-brand {
    min-width: 0;
  }

  .nav-main-links {
    margin-top: 0.75rem;
  }

  .nav-main-links .nav-link {
    justify-content: flex-start;
    width: 100%;
    white-space: normal;
  }

  .nav-user-tools {
    margin-top: 0.75rem;
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .container.py-4,
  .container-fluid.py-3,
  .container.py-5 {
    margin-top: 10px;
    margin-bottom: 14px;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .prh-admin-brand img {
    width: 38px;
    height: 38px;
  }

  .prh-admin-brand span {
    font-size: 15px;
  }

  .btn {
    width: auto;
    white-space: normal;
  }
}

.adm-page-shell {
  max-width: 1480px;
}

.adm-page-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.adm-page-title h1 {
  margin: 4px 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.adm-page-title p {
  max-width: 720px;
  margin: 0;
  color: var(--prh-muted);
  font-weight: 700;
}

.adm-eyebrow {
  color: #ffc36a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.adm-title-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.adm-dashboard-layout,
.adm-royalty-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.78fr);
  gap: 14px;
  align-items: start;
}

.adm-dashboard-main,
.adm-dashboard-side,
.adm-royalty-main,
.adm-royalty-side,
.adm-panel,
.adm-panel .card-body,
.adm-royalty-page .card,
.adm-royalty-page .card-body {
  min-width: 0;
}

.adm-live-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 14px;
  margin-bottom: 14px;
}

.adm-live-hero {
  min-height: 218px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--prh-radius);
  background:
    linear-gradient(90deg, rgba(0, 3, 94, 0.92), rgba(143, 34, 223, 0.58)),
    url("https://passionradiohungary.hu/wp-content/uploads/2026/03/images2.png") center / cover;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.adm-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.adm-live-status span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--prh-green);
  box-shadow: 0 0 0 6px rgba(43, 212, 125, 0.16);
}

.adm-live-hero h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
}

.adm-live-hero p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.adm-listener-tile,
.adm-panel,
.adm-stat-card,
.adm-action-card,
.adm-task-row,
.adm-side-note,
.adm-advanced-panel {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--prh-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 255, 0.98));
  color: var(--prh-text-dark);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.adm-listener-tile {
  display: grid;
  align-content: center;
  min-height: 218px;
  padding: 18px;
}

.adm-listener-tile span,
.adm-stat-card span,
.adm-side-note span {
  color: var(--prh-muted-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.adm-listener-tile strong {
  margin-top: 4px;
  color: var(--prh-pink);
  font-size: 50px;
  line-height: 1;
  font-weight: 900;
}

.adm-listener-tile small,
.adm-stat-card small,
.adm-task-row small,
.adm-action-card p {
  color: var(--prh-muted-dark);
  line-height: 1.45;
}

.adm-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.adm-stat-card {
  min-height: 112px;
  padding: 14px;
  text-decoration: none;
}

.adm-stat-card:hover,
.adm-action-card:hover,
.adm-task-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 140, 26, 0.56);
}

.adm-stat-card strong {
  display: block;
  margin: 8px 0;
  color: var(--prh-text-dark);
  font-size: 26px;
  line-height: 1;
}

.adm-panel {
  overflow: hidden;
}

.adm-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid #d9ceff;
  background: linear-gradient(90deg, rgba(209, 40, 168, 0.1), rgba(143, 34, 223, 0.13));
}

.adm-panel-head h2 {
  margin: 0;
  color: var(--prh-text-dark);
  font-size: 15px;
}

.adm-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eee9ff;
  color: var(--prh-violet);
  font-size: 11px;
  font-weight: 900;
}

.adm-pill.danger {
  background: #ffe9ec;
  color: #b51d3a;
}

.adm-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.adm-action-card {
  min-height: 156px;
  padding: 14px;
  text-decoration: none;
}

.adm-action-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--prh-radius);
  background: linear-gradient(135deg, var(--prh-violet), #4d8cff);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.adm-action-icon.pink {
  background: linear-gradient(135deg, var(--prh-pink), var(--prh-violet));
}

.adm-action-icon.orange {
  background: linear-gradient(135deg, var(--prh-orange), #ffac2b);
}

.adm-action-card h3 {
  margin: 12px 0 7px;
  color: var(--prh-text-dark);
  font-size: 16px;
}

.adm-action-card p {
  min-height: 42px;
  margin: 0 0 12px;
  font-size: 13px;
}

.adm-action-card b {
  color: var(--prh-violet);
}

.adm-dashboard-side {
  display: grid;
  gap: 14px;
}

.adm-task-list {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.adm-task-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  text-decoration: none;
}

.adm-task-row span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--prh-radius);
  background: #eee9ff;
  color: var(--prh-violet);
  font-weight: 900;
}

.adm-task-row strong {
  display: block;
  color: var(--prh-text-dark);
  font-size: 13px;
}

.adm-code-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.adm-code-list small {
  display: block;
  margin-bottom: 5px;
  color: var(--prh-muted-dark) !important;
  font-weight: 900;
}

.adm-royalty-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.adm-royalty-flow span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--prh-radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.adm-royalty-flow span.active {
  background: linear-gradient(90deg, rgba(209, 40, 168, 0.32), rgba(143, 34, 223, 0.32));
  color: #fff;
}

.adm-royalty-flow b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffc36a;
}

.adm-advanced-panel {
  margin-bottom: 14px;
  overflow: hidden;
}

.adm-advanced-panel summary {
  padding: 14px 16px;
  cursor: pointer;
  color: var(--prh-text-dark);
  font-weight: 900;
}

.adm-advanced-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 14px 14px;
}

.adm-advanced-grid .card {
  margin-bottom: 0 !important;
  box-shadow: none;
}

.adm-royalty-page .card-header {
  font-size: 15px;
}

.adm-royalty-check .card-body > form:first-child {
  padding: 12px;
  border: 1px solid rgba(0, 3, 94, 0.1);
  border-radius: var(--prh-radius);
  background: #fff;
}

.adm-royalty-check .row.g-2.mt-3 > .col-md-2 > .border {
  min-height: 88px;
  border: 1px solid rgba(0, 3, 94, 0.12) !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(0, 3, 94, 0.08);
}

.adm-royalty-check .row.g-2.mt-3 .h5 {
  color: var(--prh-violet);
  font-size: 26px;
}

.adm-royalty-page .table-responsive {
  border: 1px solid rgba(0, 3, 94, 0.12);
  border-radius: var(--prh-radius);
}

.adm-royalty-side {
  display: grid;
  gap: 14px;
}

.adm-export-card {
  margin-bottom: 0 !important;
}

.adm-side-note {
  padding: 14px;
}

.adm-side-note h2 {
  margin: 0 0 12px;
  color: var(--prh-text-dark);
  font-size: 15px;
}

.adm-side-note div {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 3, 94, 0.1);
}

.adm-side-note b {
  color: var(--prh-text-dark);
  font-size: 17px;
}

@media (max-width: 1199.98px) {
  .adm-dashboard-layout,
  .adm-royalty-layout {
    grid-template-columns: 1fr;
  }

  .adm-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .adm-page-title {
    align-items: stretch;
    flex-direction: column;
  }

  .adm-title-actions {
    justify-content: flex-start;
  }

  .adm-live-card,
  .adm-action-grid,
  .adm-royalty-flow {
    grid-template-columns: 1fr;
  }

  .adm-stat-grid {
    grid-template-columns: 1fr;
  }

  .adm-page-title h1 {
    font-size: 32px;
  }
}
