:root {
  --amp-red: #e10600;
  --amp-red-dark: #9f0500;
  --amp-black: #050505;
  --amp-black-soft: #0a0a0a;
  --amp-panel: #101010;
  --amp-panel-2: #151515;
  --amp-line: #292929;
  --amp-text: #f5f5f5;
  --amp-muted: #b9b9b9;
  --amp-muted-2: #777;
}

/* Frontend Contributor Desk */
.amp-hub-wrap {
  position: relative;
  background: radial-gradient(circle at top right, rgba(225,6,0,.13), transparent 28%), linear-gradient(180deg, #090909 0%, #030303 100%);
  color: var(--amp-text);
  padding: clamp(24px, 4vw, 56px);
  margin: 0 auto;
  max-width: 1180px;
  font-family: Arial, Helvetica, sans-serif;
  border: 1px solid #151515;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.amp-hub-wrap * { box-sizing: border-box; }

.amp-hub-hero,
.amp-hub-page-head {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--amp-line);
  border-left: 6px solid var(--amp-red);
  background: linear-gradient(135deg, #111 0%, #050505 62%, #160000 100%);
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 22px;
}

.amp-hub-page-head { min-height: 170px; }

.amp-hub-hero:after,
.amp-hub-page-head:after {
  content: 'AMP';
  position: absolute;
  right: -18px;
  bottom: -42px;
  font-size: clamp(112px, 18vw, 220px);
  font-weight: 900;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.035);
  pointer-events: none;
}

.amp-hub-hero h1,
.amp-hub-page-head h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .94;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .015em;
  max-width: 860px;
}

.amp-hub-page-head h1 { font-size: clamp(30px, 4vw, 52px); }

.amp-hub-hero p,
.amp-hub-page-head p {
  position: relative;
  z-index: 1;
  color: var(--amp-muted);
  margin: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.6;
}

.amp-kicker {
  color: var(--amp-red) !important;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 12px !important;
  margin-bottom: 12px !important;
}

.amp-hub-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  padding: 0;
  margin-bottom: 22px;
}

.amp-hub-btn,
.amp-hub-wrap button.amp-hub-btn,
.amp-hub-wrap a.amp-hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  background: var(--amp-red);
  color: #fff !important;
  border: 1px solid var(--amp-red);
  border-radius: 0;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.amp-hub-btn:after,
.amp-hub-wrap a.amp-hub-btn:after,
.amp-hub-wrap button.amp-hub-btn:after {
  content: '→';
  font-size: 15px;
  line-height: 1;
}

.amp-hub-btn:hover,
.amp-hub-wrap button.amp-hub-btn:hover,
.amp-hub-wrap a.amp-hub-btn:hover {
  background: var(--amp-red-dark);
  border-color: var(--amp-red-dark);
  transform: translateY(-1px);
}

.amp-hub-card,
.amp-hub-form {
  background: linear-gradient(180deg, var(--amp-panel) 0%, #090909 100%);
  border: 1px solid var(--amp-line);
  border-top: 3px solid var(--amp-red);
  padding: clamp(18px, 3vw, 30px);
  margin-bottom: 24px;
}

.amp-hub-card h2,
.amp-hub-form h2 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 14px;
  font-size: clamp(22px, 2.5vw, 32px);
}

.amp-hub-card p,
.amp-hub-card li {
  color: var(--amp-muted);
  line-height: 1.65;
}

.amp-hub-card ul { margin-bottom: 0; }

.amp-hub-warning {
  background: #170000;
  border: 1px solid #420000;
  border-left: 5px solid var(--amp-red);
  color: #fff;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.amp-hub-warning strong { color: #fff; }

.amp-hub-notice {
  background: #071707;
  border: 1px solid #1c5e1a;
  border-left: 5px solid #2d7d2c;
  color: #fff;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.amp-hub-grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.amp-hub-form label {
  display: block;
  color: #fff;
  margin: 16px 0 7px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
}

.amp-hub-form input[type="text"],
.amp-hub-form input[type="email"],
.amp-hub-form input[type="url"],
.amp-hub-form input[type="date"],
.amp-hub-form select,
.amp-hub-form textarea,
.amp-hub-form .amp-combo-input {
  width: 100%;
  background: #050505;
  color: #fff;
  border: 1px solid #383838;
  padding: 12px 13px;
  min-height: 46px;
  font-size: 15px;
  border-radius: 0;
}

.amp-hub-form textarea { min-height: 120px; }

.amp-hub-form input:focus,
.amp-hub-form select:focus,
.amp-hub-form textarea:focus,
.amp-hub-form .amp-combo-input:focus {
  outline: 2px solid rgba(225, 6, 0, .38);
  border-color: var(--amp-red);
}

.amp-hub-form input[readonly],
.amp-hub-form input:disabled {
  opacity: 1;
  background: #111;
  color: #aaa;
}

.amp-hub-form .amp-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--amp-muted);
}

.amp-hub-form .amp-check input { width: auto; }

.amp-field-note {
  margin: 7px 0 10px;
  font-size: 13px;
  color: var(--amp-muted);
}

.amp-field-note a,
.amp-hub-wrap a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--amp-red);
  text-underline-offset: 3px;
}

.amp-hub-form button { margin-top: 18px; }

.amp-hub-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--amp-line);
  background: #080808;
}

.amp-hub-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  background: var(--amp-panel);
}

.amp-hub-table th,
.amp-hub-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--amp-line);
  text-align: left;
  color: var(--amp-muted);
}

.amp-hub-table th {
  color: #fff;
  background: #070707;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.amp-hub-table tbody tr:hover td { background: #121212; }

.amp-status,
.amp-admin-status-pill {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--amp-line);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;
  white-space: nowrap;
}

.amp-status-approved,
.amp-status-covered,
.amp-status-complete { border-color: #0f6b2f; color: #ffffff; background: #0f6b2f; }
.amp-status-denied { border-color: #b42318; color: #ffffff; background: #b42318; }
.amp-status-on-hold { border-color: #8a5a00; color: #ffffff; background: #8a5a00; }
.amp-status-ln-portal { border-color: #174ea6; color: #ffffff; background: #174ea6; }
.amp-status-requesting { border-color: #e10600; color: #ffffff; background: #e10600; }

.amp-guidelines h2 {
  border-top: 1px solid var(--amp-line);
  padding-top: 18px;
  margin-top: 18px;
}

.amp-hub-login { max-width: 680px; }

.amp-combo { position: relative; }

.amp-combo-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 260px;
  overflow-y: auto;
  background: #080808;
  border: 1px solid #383838;
  box-shadow: 0 18px 38px rgba(0,0,0,.58);
}

.amp-combo.is-open .amp-combo-list { display: block; }

.amp-combo-option {
  display: block;
  width: 100%;
  text-align: left;
  background: #080808;
  color: #fff;
  border: 0;
  border-bottom: 1px solid #202020;
  padding: 11px 13px;
  font-size: 14px;
  cursor: pointer;
}

.amp-combo-option:hover,
.amp-combo-option:focus {
  background: #190000;
  color: #fff;
  outline: none;
}

.amp-combo-empty,
.amp-combo.has-no-results .amp-combo-list::after {
  display: block;
  padding: 12px 13px;
  color: var(--amp-muted);
  border-top: 1px solid #202020;
}

.amp-combo.has-no-results .amp-combo-list::after {
  content: 'No matches. Add it first under Add Artist / Venue.';
}

.amp-status-guide {
  font-size: 12px;
  line-height: 1.55;
  color: var(--amp-muted);
  border: 1px solid var(--amp-line);
  border-left: 5px solid var(--amp-red);
  background: #0b0b0b;
  padding: 12px 14px;
  margin: -10px 0 24px;
}

.amp-status-guide span { display: inline-block; margin-right: 12px; }
.amp-status-guide strong { color: #fff; }

@media (max-width: 760px) {
  .amp-hub-wrap { padding: 18px; }
  .amp-hub-grid.two { grid-template-columns: 1fr; }
  .amp-hub-actions { grid-template-columns: 1fr; }
  .amp-hub-btn { width: 100%; }
  .amp-hub-hero,
  .amp-hub-page-head { min-height: 150px; }
}

/* WordPress admin polish */
body.wp-admin .amp-admin-desk {
  margin-top: 18px;
}

body.wp-admin .amp-admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  min-height: 220px;
  padding: 30px;
  border-left: 6px solid #e10600;
  background: linear-gradient(135deg, #111 0%, #050505 65%, #190000 100%);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}

body.wp-admin .amp-admin-hero:after {
  content: 'AMP';
  position: absolute;
  right: -12px;
  bottom: -44px;
  color: rgba(255,255,255,.05);
  font-size: 190px;
  font-weight: 900;
  letter-spacing: -.08em;
}

body.wp-admin .amp-admin-hero > * { position: relative; z-index: 1; }
body.wp-admin .amp-admin-kicker {
  margin: 0 0 8px;
  color: #e10600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: 12px;
}
body.wp-admin .amp-admin-hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: .95;
  margin: 0 0 10px;
  text-transform: uppercase;
}
body.wp-admin .amp-admin-hero p {
  margin: 0;
  color: #cfcfcf;
  max-width: 620px;
  font-size: 15px;
}
body.wp-admin .amp-admin-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
body.wp-admin .amp-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 900;
}
body.wp-admin .amp-admin-btn-primary {
  background: #e10600;
  border-color: #e10600;
}
body.wp-admin .amp-admin-btn:hover {
  color: #fff;
  background: #b80500;
  border-color: #b80500;
}

body.wp-admin .amp-admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 18px 0;
}
body.wp-admin .amp-admin-card {
  display: block;
  background: #fff;
  border: 1px solid #dcdcde;
  border-top: 4px solid #e10600;
  padding: 18px;
  text-decoration: none;
  color: #1d2327;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}
body.wp-admin .amp-admin-card span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  font-weight: 900;
  color: #e10600;
}
body.wp-admin .amp-admin-card strong {
  display: block;
  font-size: 36px;
  color: #111;
  line-height: 1.1;
  margin: 8px 0 4px;
}
body.wp-admin .amp-admin-card em {
  color: #6b6b6b;
  font-style: normal;
}
body.wp-admin .amp-admin-card:hover {
  border-color: #e10600;
  transform: translateY(-1px);
}

body.wp-admin .amp-admin-panel {
  max-width: 1180px;
  background: #fff;
  border: 1px solid #dcdcde;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
body.wp-admin .amp-admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
body.wp-admin .amp-admin-panel h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: .04em;
}
body.wp-admin .amp-admin-panel-head a {
  color: #b80500;
  font-weight: 700;
}
body.wp-admin .amp-admin-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
body.wp-admin .amp-admin-status-card {
  border: 1px solid #e6e6e6;
  background: #fafafa;
  padding: 12px;
}
body.wp-admin .amp-admin-status-card strong {
  display: block;
  font-size: 26px;
  margin-top: 8px;
}

/* Admin list/edit screens */
body.post-type-amp_show_request #titlediv { display: none; }

body.post-type-amp_show_request .amp-combo,
body.post-type-amp_venue .amp-combo,
body.post-type-amp_artist .amp-combo {
  width: 100%;
  max-width: 720px;
}

body.post-type-amp_show_request .amp-combo-input,
body.post-type-amp_venue .amp-combo-input,
body.post-type-amp_artist .amp-combo-input {
  width: 100%;
  max-width: 720px;
  min-height: 40px;
  box-sizing: border-box;
}

body.post-type-amp_show_request .amp-admin-help {
  max-width: 720px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border-left: 4px solid #e10600;
  background: #fff7f7;
  color: #1d2327;
  line-height: 1.45;
}
body.post-type-amp_show_request .amp-admin-help a {
  color: #b80500;
  font-weight: 800;
}
body.post-type-amp_show_request .amp-admin-status-readonly {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #c3c4c7;
  background: #f6f7f7;
  font-weight: 800;
}
body.wp-admin .amp-admin-status-guide {
  max-width: 1180px;
  margin: 8px 0 14px;
  border-left: 5px solid #e10600;
}
body.wp-admin .amp-admin-status-guide p {
  font-size: 12px;
  line-height: 1.55;
  margin: 6px 0;
}
body.wp-admin .amp-admin-status-guide strong { color: #1d2327; }

body.post-type-amp_show_request .wp-list-table,
body.post-type-amp_artist .wp-list-table,
body.post-type-amp_venue .wp-list-table,
body.post-type-amp_review_draft .wp-list-table {
  border: 1px solid #dcdcde;
  box-shadow: 0 12px 28px rgba(0,0,0,.04);
}
body.post-type-amp_show_request .wp-list-table thead th,
body.post-type-amp_artist .wp-list-table thead th,
body.post-type-amp_venue .wp-list-table thead th,
body.post-type-amp_review_draft .wp-list-table thead th {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 11px;
}
body.post-type-amp_show_request .wp-list-table tbody tr:hover,
body.post-type-amp_artist .wp-list-table tbody tr:hover,
body.post-type-amp_venue .wp-list-table tbody tr:hover,
body.post-type-amp_review_draft .wp-list-table tbody tr:hover {
  background: #fff7f7;
}
body.wp-admin .amp-admin-yesno {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
body.wp-admin .amp-admin-yesno.is-yes { background: #e7f7e7; color: #176617; }
body.wp-admin .amp-admin-yesno.is-no { background: #f1f1f1; color: #777; }

body.post-type-amp_show_request .wp-list-table tfoot,
body.post-type-amp_artist .wp-list-table tfoot,
body.post-type-amp_venue .wp-list-table tfoot,
body.post-type-amp_review_draft .wp-list-table tfoot,
body.post-type-amp_show_request .tablenav.bottom,
body.post-type-amp_artist .tablenav.bottom,
body.post-type-amp_venue .tablenav.bottom,
body.post-type-amp_review_draft .tablenav.bottom {
  display: none;
}

@media (max-width: 782px) {
  body.wp-admin .amp-admin-hero {
    display: block;
    min-height: 0;
  }
  body.wp-admin .amp-admin-hero h1 { font-size: 36px; }
  body.wp-admin .amp-admin-hero-actions { margin-top: 18px; }
}


/* Strong readable status badges for WordPress admin lists */
body.wp-admin .amp-admin-status-pill,
body.wp-admin .amp-status {
  min-width: 82px;
  text-align: center;
  border-radius: 2px;
  text-shadow: none;
  box-shadow: none;
  opacity: 1;
}
body.wp-admin .amp-status-approved,
body.wp-admin .amp-status-covered,
body.wp-admin .amp-status-complete {
  background: #0f6b2f;
  border-color: #0f6b2f;
  color: #ffffff;
}
body.wp-admin .amp-status-denied {
  background: #b42318;
  border-color: #b42318;
  color: #ffffff;
}
body.wp-admin .amp-status-on-hold {
  background: #8a5a00;
  border-color: #8a5a00;
  color: #ffffff;
}
body.wp-admin .amp-status-ln-portal {
  background: #174ea6;
  border-color: #174ea6;
  color: #ffffff;
}
body.wp-admin .amp-status-requesting {
  background: #e10600;
  border-color: #e10600;
  color: #ffffff;
}

/* Final readable status badges: dark base with color-coded edge */
body.wp-admin .widefat td .amp-admin-status-pill,
body.wp-admin .widefat td .amp-status,
body.wp-admin .amp-admin-status-pill,
body.wp-admin .amp-status {
  display: inline-block !important;
  min-width: 92px !important;
  padding: 6px 10px 6px 11px !important;
  border-radius: 3px !important;
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #2a2a2a !important;
  border-left-width: 7px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-shadow: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

body.wp-admin .widefat td .amp-status-on-hold,
body.wp-admin .amp-status-on-hold {
  border-left-color: #f59e0b !important;
}

body.wp-admin .widefat td .amp-status-ln-portal,
body.wp-admin .amp-status-ln-portal {
  border-left-color: #2563eb !important;
}

body.wp-admin .widefat td .amp-status-requesting,
body.wp-admin .amp-status-requesting {
  border-left-color: #e10600 !important;
}

body.wp-admin .widefat td .amp-status-approved,
body.wp-admin .amp-status-approved {
  border-left-color: #22c55e !important;
}

body.wp-admin .widefat td .amp-status-denied,
body.wp-admin .amp-status-denied {
  border-left-color: #ef4444 !important;
}

body.wp-admin .widefat td .amp-status-covered,
body.wp-admin .amp-status-covered {
  border-left-color: #14b8a6 !important;
}

body.wp-admin .widefat td .amp-status-complete,
body.wp-admin .amp-status-complete {
  border-left-color: #22c55e !important;
}


/* v1.0 final readable status badges. Keep text high contrast and use color only as an accent. */
body.wp-admin .widefat td .amp-admin-status-pill,
body.wp-admin .widefat td .amp-status,
body.wp-admin .amp-admin-status-pill,
body.wp-admin .amp-status {
  display: inline-block !important;
  min-width: 92px !important;
  padding: 6px 10px !important;
  border-radius: 4px !important;
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  border-left-width: 8px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-shadow: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
body.wp-admin .widefat td .amp-status-on-hold,
body.wp-admin .amp-status-on-hold { border-left-color: #d97706 !important; }
body.wp-admin .widefat td .amp-status-ln-portal,
body.wp-admin .amp-status-ln-portal { border-left-color: #2563eb !important; }
body.wp-admin .widefat td .amp-status-requesting,
body.wp-admin .amp-status-requesting { border-left-color: #e10600 !important; }
body.wp-admin .widefat td .amp-status-approved,
body.wp-admin .amp-status-approved { border-left-color: #16a34a !important; }
body.wp-admin .widefat td .amp-status-denied,
body.wp-admin .amp-status-denied { border-left-color: #dc2626 !important; }
body.wp-admin .widefat td .amp-status-covered,
body.wp-admin .amp-status-covered { border-left-color: #0891b2 !important; }
body.wp-admin .widefat td .amp-status-complete,
body.wp-admin .amp-status-complete { border-left-color: #15803d !important; }
