*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg-body: #121212;
  --bg-card: #181818;
  --bg-panel: #282828;
  --bg-input: #333333;
  --text-primary: #FFFFFF;
  --text-secondary: #B3B3B3;
  --text-muted: #888888;
  --border-color: #282828;
  --accent-color: #fe196e;
  --accent-secondary: #4b7bec;
  --success-color: #27ae60;
  --danger-color: #ff4d4f;
  --white: #ffffff;
  --black: #000000;
}

.light-mode {
  /* Retained for fallback, though unused in dark theme refactor */
  --bg-body: #f5f5f5;
  --bg-card: #ffffff;
  --bg-panel: #ffffff;
  --bg-input: #e0e0e0;
  --text-primary: #121212;
  --text-secondary: #555;
  --text-muted: #777;
  --border-color: #e0e0e0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: var(--bg-body);
  /* Removed radial gradients for better performance */
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
  /* Safe space for nav */
  width: 100%;
  max-width: 100vw;
  overflow-x: auto;
  /* Allow horizontal scroll for sticky headers */
}

/* Mini Loader */
.mini-loader {
  color: var(--accent-color);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.mini-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Header */

.a-to-faqs {
  font-family: "Segoe UI", sans-serif;

  color: var(--text-primary);
  margin: auto;
  user-select: none;
  text-decoration: none;
}

.billing-alert-dot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* margin-left: 6px; */
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--danger-color);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  top: -4px;
  right: -4px;
}


.boost-again-content {

  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);

  /* display: flex; */
  width: 100%;
  /* min-width: 100%; */
  /* align-items: center; */
  margin: 0;
  /* text-align: center; */
  margin: auto;
  margin: 40px auto;
  /* padding: 10px; */
  position: relative;
  margin-bottom: 20px;
}

.boost-again-outer {
  /* max-width: 500px; */
  position: relative;
  margin: 30px auto;
  width: 100%;
  /* min-width: 100%; */
  /* text-align: center; */
  /* padding: 0px; */
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  margin-bottom: 0px;

}

.boost-again-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;

  padding: 0px 20px;
}

.boost-again-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #f5f5f5;
  width: 100%;
}

.boost-again-title i {
  font-size: 18px;
}

.boost-again-lead {
  margin: 0;
  font-size: 13px;
  color: #d0d3e0;
}

.boost-again-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #a7aec5;
}

.boost-again-amount-row {
  margin-top: 4px;
  display: flex;
  justify-content: flex-start;
}

.boost-again-amount-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #252b3b, #3b4460);
}

.boost-again-amount-pill .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #bcc3d8;
}

.boost-again-amount-pill .value {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.boost-again-actions {
  margin-top: 6px;
}

.boost-again-confirm-btn {
  border: none;
  margin-top: 20px;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 15px;
  /* font-weight: 600; */
  /* text-transform: uppercase; */
  cursor: pointer;
  background: var(--success-color);
  color: #121216;
  transition: transform 0.1s ease, box-shadow 0.08s ease, opacity 0.1s ease;
}

.boost-again-confirm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(75, 255, 108, 0.55);
}

.boost-again-confirm-btn:active {
  transform: translateY(0);
}

.boost-again-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  min-height: 18px;
  font-size: 16px;
  color: green;
  padding-bottom: 20px;
}

.boost-again-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

.boost-again-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e8f4a;
  /* green circle */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.boost-again-success-icon span {
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  font-family: system-ui;
}

.boost-again-success-text {
  margin: 0;
  font-size: 16px;
  color: var(--text-primary);
}

.boost-again-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ff4b8a;
  animation: boost-spin 0.7s linear infinite;
  display: none;
}

@keyframes boost-spin {
  to {
    transform: rotate(360deg);
  }
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

h1 img {
  width: 60px;
  border-radius: 50%;
}

h1 span {
  font-size: 12px;
}

.status-bullet {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 12px;
}

/* bullet circle and text */
.status-bullet::before {
  content: attr(data-text);
  /* we’ll override with CSS content */
  position: relative;
  left: -4px;
  top: 0px;
}

.status-bullet::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;

  left: 0;
}

/* statuses */
.status-bullet.running::before {
  content: "running";
  color: green;
}

.status-bullet.running::after {
  background-color: green;
}

.status-bullet.paused::before {
  content: "paused";
  color: orange;
}

.status-bullet.paused::after {
  background-color: orange;
}

.status-bullet.optimizing::before {
  content: "optimizing";
  color: var(--accent-color);
}

.status-bullet.optimizing::after {
  background-color: var(--accent-color);
}

.status-bullet.on-hold::before {
  content: "on hold";
  color: #ff0000;
}

.status-bullet.on-hold::after {
  background-color: #ff0000;
}

.status-bullet.cancelled::before {
  content: "cancelled";
  color: #ff0000;
}

.status-bullet.cancelled::after {
  background-color: #ff0000;
}

.status-bullet.scheduled::before {
  content: "scheduled";
  color: pink;
}

.status-bullet.scheduled::after {
  background-color: pink;
}

.status-bullet.completed::before {
  content: "completed";
  color: grey;
}

.status-bullet.completed::after {
  background-color: grey;
}

.status-bullet.unconfirmed::before {
  content: "unconfirmed";
  color: #ccc;
}

.status-bullet.unconfirmed::after {
  background-color: #ccc;
}

.updated {
  display: flex;
  font-size: 11px;
  text-align: center;
  /* width: 100%; */
  margin-bottom: 20px;
  margin: 20px auto;
  margin-top: 80px;
  background: var(--bg-panel);
  border-radius: 99px;
  color: #8fa6d7;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2a3140;
  padding: 4px 10px;
  position: relative;
  justify-content: center;
}

.refresh-btn {
  position: absolute;
  color: white;
  right: -40px;
  padding: 6px;
  margin: 0px;
  border-radius: 50%;
  display: none;
  cursor: pointer;
  transition: background 0.2s;
}

.refresh-btn i {

  color: white;
  font-size: 20px;
  padding: 0px;
  margin: 0px;
  transition: transform 0.3s ease;
}

.refresh-rotate i {
  color: var(--accent-secondary);
  animation: refresh-spin 0.8s linear infinite;
}

.refresh-btn:hover i {
  color: var(--accent-secondary);
}


@keyframes refresh-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


h2.section-title {
  text-align: center;
  margin-bottom: 15px;
  color: var(--accent-secondary);
}

.global-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-card);

  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Subtle border for glass effect */
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.stat-card h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--accent-secondary);
}

.stat-card p {
  margin: 5px 0 0;
  font-size: 1.1rem;
}

.search-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.chart-container {
  width: 100%;
  height: 250px;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-size: 12px;
}

th {
  background: var(--bg-input);
}

.icon-ticket {
  display: inline-block;
  width: 30px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29.9 18.8'%3E%3Cpath fill='%23FFF' transform='scale(1.2) translate(-2 -1)' d='M27.8,2.4v3.5c-1.7,0.3-3,1.8-3,3.7c0,1.8,1.3,3.4,3,3.7v3.3h-25v-3.2c1.7-0.3,3.1-1.8,3.1-3.7S4.6,6.2,2.8,5.9V2.4H27.8z M28.8,1.4h-27V7C2,7,2.1,6.9,2.3,6.9c1.4,0,2.6,1.2,2.6,2.7s-1.2,2.7-2.6,2.7c-0.2,0-0.3,0-0.5-0.1v5.2h26.9v-5.3c-0.1,0-0.3,0-0.4,0c-1.4,0-2.6-1.2-2.6-2.7s1.2-2.7,2.6-2.7c0.1,0,0.3,0,0.4,0V1.4z'/%3E%3Cpolygon fill='%23FFF' points='18.4,5.6 17.8,6.3 20.5,9 15.8,9 15.8,9.9 20.5,9.9 17.8,12.6 18.5,13.2 21.8,9.9 21.8,9 21.8,9'/%3E%3Cg fill='%23FFF'%3E%3Cpolygon points='11.8,4.4 10.8,4.4 10.8,6.4 11.8,6.4'/%3E%3Cpolygon points='11.8,8.4 10.8,8.4 10.8,10.4 11.8,10.4'/%3E%3Cpolygon points='11.8,12.5 10.8,12.5 10.8,14.5 11.8,14.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.icon-ticket-solid {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23008060' d='M21.2 10.53c.47-.09.8-.5.8-.98V6c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v3.55c0 .48.33.89.8.98.7.14 1.2.76 1.2 1.47s-.5 1.33-1.2 1.47c-.47.09-.8.5-.8.98V18c0 .55.45 1 1 1h13v-1h1v1h4c.55 0 1-.45 1-1v-3.55c0-.48-.33-.89-.8-.98-.7-.14-1.2-.76-1.2-1.47s.5-1.33 1.2-1.47M17 17h-1v-2h1zm0-3h-1v-2h1zm0-3h-1V9h1zm0-3h-1V6h1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

th,
td {
  padding: 6px 6px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.search-bar {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  height: 24px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  position: relative;
  /* overflow: hidden; Removed to allow sticky headers in tables */
}

.event-card {
  background: var(--bg-card);

  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
  /* overflow: hidden; Removed to allow sticky headers in tables */
}

.event-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.event-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.toggle-btn {
  background: none;
  border: none;
  color: var(--accent-secondary);
  font-size: 1.1rem;
  cursor: pointer;
}

.event-content {
  margin-top: 15px;
  display: none;
}

.artist-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #2c2c2c;
  /* Fallback background for transparent images */
  border: 1px solid var(--border-color);
}

.video-button-holder {
  width: 100%;
  text-align: center;
  position: absolute;
  display: none;
  justify-content: center;
  right: -34px;
  bottom: 2px;
}

.video-button {
  background: rgba(75, 123, 236, 0.8);
  /* More solid blue */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  transition: transform 0.2s, background 0.2s;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.artist-avatar-holder {
  position: relative;
}

.artist-avatar-holder.video>.video-button-holder {
  display: flex;
}

.artist-avatar-holder.video>.artist-avatar {
  border: 2px solid rgba(75, 123, 236, 0.6);
  box-shadow: 0 0 12px rgba(75, 123, 236, 0.1);
}

.boosted-pill {
  display: inline-flex;
  padding: 2px 6px;
  background-color: var(--accent-color);
  color: #fff;
  /* font-weight: bold; */
  border-radius: 100px;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  width: 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.boosted-pill.paused {
  background-color: darkorange;
}

/* iOS "Add to Home Screen" overlay */
.ios-a2hs-panel {
  position: fixed;
  inset: 0;
  /* top/right/bottom/left: 0 */
  background: rgba(0, 0, 0, 0.55);
  display: none;
  /* toggled to flex in JS */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  box-sizing: border-box;
}

.ios-a2hs-inner {
  max-width: 340px;
  width: 100%;
  background: #111;
  color: #f5f5f5;
  border-radius: 14px;
  padding: 16px 18px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-size: 14px;
}

.ios-a2hs-inner strong {
  display: block;
  margin-bottom: 6px;
}

.ios-a2hs-inner p {
  margin: 0 0 10px 0;
}

#install-app-btn {

  padding: 0px 10px;
  line-height: 1;
  height: 20px;
  margin-bottom: 0px;
  border-radius: 99px;
}

.boosted-pill.active {
  min-width: 50px;

}

.boosted-pill.passive {
  border: 1px solid var(--accent-color);
  background-color: transparent;
  color: var(--accent-color);
}

.faq-card {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background-color: var(--bg-card);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-section {
  margin: 20px 20px 20px 0px;
}

.progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 12px 0 6px;
}

/* Base progress bar */
.progress-bar {
  position: relative;
  width: 100%;
  height: 10px;
  background: var(--bg-input);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
}

.progress-bar.thin {
  height: 6px;
}

/* Fill colors */
.progress-bar.main .progress-fill {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.1)),
    linear-gradient(90deg, var(--accent-secondary), #3b6bd6);

}

.progress-bar.fast .progress-fill {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.1)),
    linear-gradient(90deg, var(--success-color), #1e8b4b);

}

.progress-bar.volume .progress-fill {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.1)),
    linear-gradient(90deg, var(--accent-color), #c21255);

}

.progress-fill {
  position: relative;
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease-in-out;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  /* Leading edge highlight */
}

/* Pills */
.progress-pill {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 20px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.responsive-split {
  display: flex;
  gap: 20px;
  align-items: stretch;
  /* align children vertically */
  width: 100%;
  box-sizing: border-box;
}

/* Left: flexible, can shrink */
.responsive-split>.split-left {
  flex: 1 1 0%;
  min-width: 0;
  /* CRITICAL: allow shrinking */
  box-sizing: border-box;
}

/* Right: fixed-ish at 30% on desktop */
.responsive-split>.split-right {
  flex: 0 0 40%;
  /* don't grow, don't shrink, base 30% */
  max-width: 40%;
  box-sizing: border-box;
  /* optional minimum so it doesn't collapse on extremely narrow desktops */
  min-width: 200px;
  position: relative;
}


/* 
.video-holder {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 9999;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.video-holder.show {
  display: block; 
  transform: translateY(0);
  opacity: 1;
}

.video-holder .video-js {
  width: 100%;
  height: 100%;
  aspect-ratio: 9/16;
}
*/

/* MOBILE: stack vertically and full width */
@media (max-width: 768px) {
  .event-averages .label {
    width: 120px !important;
  }

  .responsive-split {
    flex-direction: column;
  }

  .responsive-split>.split-left,
  .responsive-split>.split-right {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* Helpful: prevent images/long text from forcing widths */
.responsive-split img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.responsive-split .long-text {
  word-break: break-word;
  /* or overflow-wrap: break-word; */
}

.progress-pill.small {
  font-size: 9px;
  padding: 1px 6px;
}

.dropdown-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}


.invoice-table th {
  text-align: center;
  position: inherit !important;
}

.dropdown-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.dropdown-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.dropdown-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--accent-secondary);
}

.dropdown-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-select:focus {
  outline: none;
  background: #3b3b3b;
}

.dropdown-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.dropdown-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.faq-button {
  width: 100%;
  background: var(--bg-input);
  color: #fff;
  padding: 15px;
  border: none;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-button.alt {
  background: #1f2a21;
  color: #c3d1c4;
}

.faq-content {
  display: none;
  padding: 15px;
  font-size: 14px;
  line-height: 1.6;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.notice-box {
  position: relative;
  background: #1f2a21;
  color: #c3d1c4;
  padding: 20px;
  border-left: 5px solid #009b06;
  display: flex;
  gap: 15px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.notice-icon {
  font-size: 30px;
  color: #009b05;
  font-weight: bold;
  line-height: 1;
  padding: 10px;
  height: 30px;
  width: 30px;
  border: 3px solid green;
  display: flex;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
}

.event-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}



.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-artist {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
  margin-top: 20px;
}

.get-video {
  position: absolute;
  font-size: 40px !important;
}

.restart-txt {
  color: orange;
  font-size: 12px;
  font-weight: initial;
  margin: 12px 0 6px;
}

.restart-txt.optimizing {
  color: var(--accent-color);
}

.overall-progress {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.location-holder {
  margin-top: 10px;
  gap: 4px;
  display: flex;
  align-items: center;
  align-content: center;
  flex-direction: row;
}

.artist-name {
  font-size: 1.2rem;
  margin: 0;
}

.event-meta {
  margin-top: 10px;
  color: var(--text-secondary);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 8px 0 4px;
}

.event-totals,
.event-averages {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 8px 0 4px;
  margin-top: 20px;
}

.event-totals p,
.event-averages p,
.event-meta p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-averages p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0;
}

.event-averages .label {
  display: inline-block;
  width: auto;
  /* adjust to fit your longest label */
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 8px 0 4px;
}

.nw {
  white-space: nowrap;
}

.icon,
.bx,
.bxr,
.bxl {
  font-size: 16px;
  color: var(--accent-secondary);
}

.event-averages p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.venue-name {
  font-size: 12px;
}

.pill {
  display: flex;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  width: 20px;
  align-items: center;
  justify-content: center;
}

.pill-red {
  background-color: #e74c3c;
}

.pill-green {
  background-color: var(--success-color);
}

.event-toggle {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
  width: 100%;
}

.toggle-btn,
.toggle-btn-invoices,
.toggle-btn-boost-again {
  background: transparent;
  color: var(--accent-secondary);
  font-size: 0.80rem;
  font-weight: 500;
  border: 1px solid var(--accent-secondary);
  border-radius: 6px;
  padding: 5px 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  width: 100%;
  position: relative;
}

.toggle-btn-boost-again {
  border: 1px solid var(--success-color);
  color: var(--success-color);
  display: none !important;
}


.toggle-btn-boost-again:disabled {
  border: 1px solid #4b4b4b;
  color: #4b4b4b;

}

.boost-again-confirm-btn:disabled {
  display: none !important;
}

.billing-content {
  margin-top: 20px;

}

.billing-content a {

  color: #4979e8;
}

.invoice-status-paid {
  display: inline-block;
  padding: 2px 6px;
  background-color: #1f934f;
  color: #fff;
  font-weight: bold;
  border-radius: 100px;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;
  width: 34px;
}

.invoice-status-unpaid {
  display: inline-block;
  padding: 2px 6px;
  background-color: #c50505;
  color: #fff;
  font-weight: bold;
  border-radius: 100px;
  font-size: 10px;
  text-align: center;
  white-space: nowrap;

}




.toggle-btn:hover {
  background: rgba(75, 123, 236, 0.1);
}

.toggle-btn:active {
  background: rgba(75, 123, 236, 0.2);
}

.company-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.company-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
}

.company-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.company-details {
  color: var(--text-primary);
  font-size: 12px;
}

.company-name {
  margin: 0;
  font-size: 12px;
  color: var(--text-primary);
  margin-top: 10px;
}

.user-info {
  text-align: right;
  color: #cfcfcf;
  font-size: 12px;
}

.user-title {
  margin: 0 0 5px 0;
  font-size: 1rem;
  color: var(--accent-secondary);
}

.vjs-default-skin.vjs-has-started .vjs-control-bar {
  visibility: hidden;
}

/* Removed old video overlay styles in favor of fullscreen implementation below */

.deviation {
  display: inline-block;
  background: #1a2f2f;
  /* Dark teal solid */
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #79e2f2;
  margin-bottom: 10px;
  border: 1px solid rgba(121, 226, 242, 0.2);
  /* Keep subtle border */
}

.deviation .bx {
  color: #79e2f2;
}

.perf-impacted {
  font-weight: initial;
  font-size: 12px;
  border-radius: 6px;
  padding: 4px 8px;

  color: #c48d47;
  /* position: absolute; */
  margin: 0px;
  margin-top: 4px;
  background: #3d3529;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: space-between;
}

.perf-impacted .bx {
  color: #c48d47;
}

.perf-impacted-update .bx {
  color: #ff0000;
}

.perf-impacted-update {
  font-weight: initial;
  font-size: 13px;
  border-radius: 6px;
  padding: 4px 8px;
  font-weight: bold;
  color: #f10505;
  /* position: absolute; */
  margin: 0px;
  margin-bottom: 20px;
  background: #3a2525;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: space-between;
}

.blur {
  filter: blur(10px);
}

.ticketing-status-bullet {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 12px;
  margin-left: 8px;
}

/* bullet circle and text */
.ticketing-status-bullet::before {
  content: attr(data-text);
  position: relative;
  left: -4px;
  top: 0px;
}

.ticketing-status-bullet::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
}

/* Sub-column alignment for Available */
.avail-val {
  min-width: 30px;
  text-align: right;
  display: inline-block;
}

.ticket-sold-diff {
  min-width: 40px;
  text-align: right;
  display: inline-block;
  font-size: 13px;
  opacity: 0.7;
  margin-left: 4px;
  color: #00deff;
  font-weight: bold;
}

/* statuses */
.ticketing-status-bullet.operational::before {
  color: #4caf50;
}

.ticketing-status-bullet.operational::after {
  background-color: #4caf50;
}

.ticketing-status-bullet.degraded::before {
  color: #ff9800;
}

.ticketing-status-bullet.degraded::after {
  background-color: #ff9800;
}

.ticketing-status-bullet.disabled::before {
  color: #f44336;
}

.ticketing-status-bullet.disabled::after {
  background-color: #f44336;
}

.ticketing-card {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background-color: var(--bg-card);

  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ticketing-card:hover,
.faq-button:hover {
  transform: translateY(-2px);
}

.toggle-btn-boost-again.pending-btn {
  background: #666 !important;
  color: white !important;
  box-shadow: none !important;
  border: 1px solid #555 !important;
}

.toggle-btn-boost-again.pending-btn:hover {
  background: #555 !important;
}

.ticketing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--bg-input);

  transition: background 0.2s;
}

.ticketing-header:hover,
.faq-button:hover {
  background-color: #3a3a3a;
}

.ticketing-content {
  display: none;
  padding: 15px;
  font-size: 14px;
  line-height: 1.5;
  background-color: rgba(30, 30, 30, 0.95);
}

.ticketing-content.expanded {
  display: block;
}

.status-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
  font-size: 12px;
}

/* Optional: make the bullet circle slightly smaller to match FAQ style */
.ticketing-status-bullet::after {
  width: 8px;
  height: 8px;
}

.menu {
  background: var(--bg-body);
  /* Solid body background */
  border-left: 1px solid var(--border-color);
  color: white;
  height: 100vh;
  overflow-y: auto;
  transition: transform 0.3s ease;
  padding: 2rem 1rem;
  padding-top: calc(80px + env(safe-area-inset-top));
  display: flex;
  flex-direction: column;
}

.menu a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  /* margin: 1rem 0; */
  font-weight: 500;
  /* padding-top: 4px; */
  /* margin-bottom: 4px; */
  border-bottom: 1px solid var(--bg-card);
}

.menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  padding-bottom: 10px;
  padding-top: 10px;
  font-weight: 500;
}

.menu a i {
  font-size: 20px;
}

.legal-links {
  margin-top: auto;
  text-align: center;
  padding-top: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
}

.legal-links a {
  display: inline-block !important;
  font-size: 11px !important;
  color: #666 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: 400 !important;
  gap: 0 !important;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

/* Show overlay when active */
.overlay.active {
  opacity: 1;
  visibility: visible;
  display: block !important;
}

/* On desktop, no overlay needed */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 50px; REMOVED fixed height */
  /* min-height: 50px; */
  height: calc(50px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  /* padding-bottom: 4px; REMOVE extra padding that affects height logic */
  padding-bottom: 0px;
  box-sizing: border-box;
  /* Height includes padding-top */
  background: var(--bg-body);
  /* Solid header */
  border-bottom: 1px solid var(--border-color);
  top: 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  top: 0px;
  left: 0px;
  position: fixed;
  width: 100%;
  z-index: 100003;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  margin-left: 10px;
  height: 40px;
}

.logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.burger {
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1001;
  font-size: 24px;
  border-radius: 99px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
}

.burger i {
  transition: transform 0.3s ease;
}

.burger:active i {
  transform: scale(0.9);
}

/* Mobile / Tablet */
@media (max-width: 1199px) {
  body {
    padding: 10px;
    padding-bottom: 80px;
    /* Space for nav */
    /* overflow-x: hidden; Reverted as per user request */
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    position: relative;
  }

  /* html rule removed */
  .menu {
    width: 250px;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    z-index: 1000;
  }

  .menu.open {
    transform: translateX(0);
  }

  .desktop-menu {
    display: none;
  }

  .content {
    padding: 0px;
    width: 100%;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  body {
    display: flex;
    padding: 0px;
  }

  .overlay {
    display: none;
  }

  #burger-btn {
    display: none;
  }

  .menu {
    width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    transform: none !important;
    background-color: var(--bg-body) !important;
    flex-shrink: 0;
    border-right: 1px solid var(--bg-input);
  }

  .content {
    flex: 1;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
  }
}

/* Base container (shared) */
#contact-container {
  display: none;
  position: fixed;
  z-index: 1000;
  z-index: 1000;
  background: rgba(22, 22, 22, 0.96);
  /* High opacity for readability */

  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f1f1;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

/* Extracted Utility Classes */
.table-scroll {
  width: 100%;
  overflow-x: scroll;
}

.billing-scroll {
  width: 100%;
  overflow-x: auto;
}

.artist-info {
  padding-left: 10px;
}

.deviation-content {
  display: flex;
  font-weight: bold;
  gap: 4px;
  align-items: center;
}

.deviation-p {
  line-height: 1.5;
}

.link-soft {
  color: #9fb4ea;
}

.perf-impacted-inner {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 4px;
}

.faq-icon-gray {
  color: #ccc;
}

.section-subtitle {
  margin-top: 50px;
  margin-bottom: 4px;
  color: #aeaeae;
}

.section-desc {
  margin-bottom: 20px;
  font-size: 12px;
  color: #aeaeae;
}

.faq-title {
  margin-top: 50px;
  color: #aeaeae;
}

.contact-close {
  margin-bottom: 20px;
  text-align: center;
}

.artist-info .artist-name {
  font-weight: bold;
}

/* Content inside container */
.contact-content {
  text-align: center;
  padding: 20px;
  padding-top: 80px;
}

.contact-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 1rem auto;
  display: block;
  border: 3px solid #444;
}

.contact-subtitle {
  color: #ccc;
  font-size: 1rem;
  margin: 0.5rem 0 1.5rem;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  gap: 20px;
}

.contact-links>div {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-links a {
  text-decoration: none;
  color: var(--text-secondary);
  margin: 0.3rem 0;
  font-size: 1.1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.contact-links a:hover {
  text-decoration: underline;
}

.close-btn {
  background: var(--border-color);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.close-btn:hover {
  background: #555;
}

/* Desktop: centered overlay */
@media (min-width: 769px) {
  #contact-container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 90%;
    display: none;
  }
}

/* Mobile: slide-in tab from right */
@media (max-width: 768px) {
  #contact-container {
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    display: none;
    transition: right 0.3s ease;
  }

  #contact-container.active {
    right: 0;
    display: block;
  }

  .tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
  }
}

.global-stats {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.stat-card {
  display: flex;
  align-items: center;
  padding: 12px 18px;

}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 22px;
}

.stat-icon i {
  line-height: 1;
}

.stat-text h2 {
  margin: 0;
  font-size: 1.4rem;
}

.stat-text p {
  margin: 2px 0 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Other Concerts Section */
.other-concerts-container {
  margin-top: 30px;
}

.other-concerts-title {
  margin-bottom: 15px;
  padding-left: 15px;
}

/* Ensure the list wrapper doesn't exceed parent width */
.other-concerts-list {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
}

.event-list-item {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.event-list-item:last-child {
  border-bottom: none;
}

.event-thumb {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 99px;
  overflow: hidden;
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-info {
  flex: 1 1 auto;
  /* Grow, shrink, auto basis */
  width: 0;
  /* Force flex item to respect container width */
  min-width: 0;
  /* Double safety for text-overflow */
  padding-right: 10px;
}

.event-info p:first-child {
  margin: 0 0 4px 0;
  color: var(--text-primary);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  max-width: 100%;
}

.event-info p:last-child {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-provider-link {
  font-size: 11px;
  color: var(--accent-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.ticket-provider-link:hover {
  text-decoration: underline;
}


.event-action {
  flex-shrink: 0;
}

.boost-btn.small {
  text-decoration: none;
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  background: #e02e75;
  color: white;
}

.boost-btn.small:hover {
  background: #c21b5f;
}

/* Helper to override hidden state */
.force-visible {
  /* display: inline-block !important;*/
  display: inline-flex !important;
}

/* Sticky Table Headers for Event Details */
.event-content table {
  border-collapse: separate;
  /* Required for border-radius on cells */
  border-spacing: 0;
}

.event-content th {
  position: sticky;
  top: calc(50px + env(safe-area-inset-top));
  /* Offset for fixed .header + notch */
  z-index: 90;
  box-shadow: 0 2px 2px rgb(0 0 0 / 56%);
  text-align: center;
  /* Background is already var(--bg-input) from generic th rule */
}

.event-content th:first-child {
  border-top-left-radius: 99px;
  border-bottom-left-radius: 99px;
  /* padding-left: 20px;  Add padding to keep text away from curve */
}

.event-content th:last-child {
  border-top-right-radius: 99px;
  border-bottom-right-radius: 99px;
  /* padding-right: 20px;*/
}

/* Center status pill in the first column */
.event-content td:first-child {
  text-align: center;
}

.event-content td:first-child .boosted-pill {
  margin: 0 auto;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}


.table-container {
  position: relative;
  width: 100%;
  width: 100%;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-input);
  /* Darker off state */
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--accent-color);
  /* Palko Pink */
}

input:checked+.slider:before {
  transform: translateX(16px);
}



/* Upcoming Events Redesign & Boost Inline Panel */
.event-date-badge {
  display: flex;
  flex-direction: column;
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #2a2a2a;
  text-align: center;
  flex-shrink: 0;
}

.event-date-badge .year {
  background: #533b42;
  color: #bfbfbf;
  font-size: 10px;
  padding: 2px 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.event-date-badge .day-month {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 2px;
}

.event-date-badge .day {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #c7c7c7;
}

.event-date-badge .month {
  font-size: 9px;
  text-transform: uppercase;
  color: #aaa;
  margin-top: 1px;
  font-weight: 600;
}

.boost-now-inline-panel {
  display: none;
  background: #121216;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 20px;
  justify-content: center;
}

.boosted-btn {
  background-color: #e91e632e;
  border-color: var(--accent-color);
  color: #e91e63 !important;
  width: 80px;
}

.toggle-btn-boost-now {
  width: 80px;
}

.artist-name {
  margin-bottom: 4px;
}

.venue-name-sub {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.boost-request-confirm-btn {
  border: none;
  margin-top: 20px;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 15px;
  /* font-weight: 600; */
  /* text-transform: uppercase; */
  cursor: pointer;
  background: var(--success-color);
  color: #121216;
  transition: transform 0.1s ease, box-shadow 0.08s ease, opacity 0.1s ease;

}

.boost-request-confirm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(75, 255, 108, 0.55);
}

.boost-request-confirm-btn:active {
  transform: translateY(0);
}

.boost-request-confirm-btn:disabled {
  display: none !important;
}

/* Interaction Bar Styling */
.event-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

/* Secondary Button (Billing) */
.billing-btn {
  background: transparent;
  border: 1px solid #444;
  color: #aaa;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.billing-btn:hover {
  border-color: #666;
  color: #ddd;
}

/* Primary Action Button (Boost Again) */
.boost-again-btn {

  border: none;
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}

.boost-again-btn:hover {
  transform: translateY(-1px);
}

.boost-again-btn:active {
  transform: translateY(0);
}

/* Central Toggle Button (Show Details) */
.toggle-btn {
  /* Inherits base style but ensure alignment */
  margin: 0 auto;
  /* Center if flex items allow */
  font-weight: 600;
}

/* Mobile Chart Placeholder */

/* Upcoming Events / Other Concerts Styles */
.other-concerts-container {
  margin-top: 30px;
}

.other-concerts-title {
  margin-bottom: 15px;
  padding-left: 15px;
}

.section-subtitle {
  padding: 0 20px;
  margin-top: 30px;
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: #fff;
}

.section-desc {
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.other-concerts-list {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
}

.event-list-item {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.event-list-item:last-child {
  border-bottom: none;
}

.event-thumb {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 99px;
  overflow: hidden;
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-info {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  padding-right: 10px;
}

.event-info p:first-child {
  margin: 0 0 4px 0;
  color: var(--text-primary);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  max-width: 100%;
}

.event-info p:last-child {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-action {
  flex-shrink: 0;
}

.boost-btn.small {
  text-decoration: none;
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  background: #e02e75;
  color: white;
  border: none;
  cursor: pointer;
}

/* Date Badge */
.event-date-badge {
  display: flex;
  flex-direction: column;
  width: 50px;
  height: 50px;
  margin-right: 0px;
  border-radius: 5px;
  overflow: hidden;
  background: #2a2a2a;
  text-align: center;
  flex-shrink: 0;
}

.event-date-badge .year {
  background: #533b42;
  color: #bfbfbf;
  font-size: 10px;
  padding: 2px 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.event-date-badge .day-month {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 2px;
}

.event-date-badge .day {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #c7c7c7;
}

.event-date-badge .month {
  font-size: 9px;
  text-transform: uppercase;
  color: #aaa;
  margin-top: 1px;
  font-weight: 600;
}

/* Event Table Styles - Strict Mobile Fit */
.table-container {
  /* overflow-x: auto; - Removed to restore sticky headers relative to body */
  /* If table overflows, it will force page width. We must ensure it fits. */
  margin-top: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-primary);
  font-size: 11px;
  /* Reduced from 13 */
  table-layout: fixed;
  /* Force equal widths or respect widths */
}

th {
  background: var(--bg-input);
  text-align: left;
  padding: 6px 4px;
  /* drastically reduced */

  white-space: nowrap;
  position: sticky;
  top: calc(50px + env(safe-area-inset-top));
  /* Sticky below header + notch */
  z-index: 5;
  box-shadow: 0 2px 2px rgb(0 0 0 / 56%);
  font-size: 11px;
}

td {
  padding: 6px 4px;
  /* drastically reduced */
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  text-overflow: ellipsis;
}

td.nw {
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

/* Fix for event info text when ticket links are present */
/* Base artist name (Main Cards) - Should wrap */
.artist-name {
  margin: 0 0 4px 0;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  /* white-space: nowrap; REMOVED to allow wrap in cards */
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
}

/* Specific for Upcoming Events List - Should truncate */
.event-info .artist-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.venue-name-sub {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Override overlap */
.toggle-btn,
.toggle-btn-invoices,
.toggle-btn-boost-again {
  background: transparent;
  color: var(--accent-secondary);
  font-size: 0.76rem;
  font-weight: 500;
  border: 1px solid var(--accent-secondary);
  border-radius: 6px;
  padding: 0 5px;
  /* Horizontal padding only */
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  /* Use flex for centering */
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  height: 30px;
  /* Fixed height matches typical 12px font + padding */
  line-height: 1;
}

.toggle-btn i,
.toggle-btn-invoices i,
.toggle-btn-boost-again i {
  font-size: 16px;
  line-height: 1;
  display: block;
  margin-right: 4px;
}

.toggle-btn:disabled,
.toggle-btn-invoices:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(1);
}

.toggle-btn-boost-again {
  border: 1px solid var(--success-color);
  color: var(--success-color);
  /* display: none!important; - Removed for mobile logic where we toggle visibility via JS or force-visible */
}

.toggle-btn-boost-again .bx {
  color: inherit !important;
}

/* Specific class for Boost Now button width */
.toggle-btn-boost-now {
  min-width: 80px;
}

.boosted-btn {
  background-color: #e91e632e;
  border-color: var(--accent-color);
  color: #e91e63 !important;
  min-width: 80px;
}

.pending-btn {
  border-color: #f39c12;
  color: #f39c12;
}

/* Refined Event Info for mobile width */
.event-info {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  padding-right: 10px;
  overflow: hidden;
  /* Ensure no spill */
}

/* Ensure container doesn't overflow */
.other-concerts-list {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
}

/* Fullscreen Video Overlay */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black !important;
  /* Force black opacity */
  z-index: 2147483647 !important;
  /* Max Z-Index */
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  /* Prevent clicks when hidden */
}

.video-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-container-fs {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 100%;
  /* Take full height to center */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.video-container-fs video {
  padding: 10px;
  max-width: 100%;
  border-radius: 20px;
  max-height: 80vh;
  width: 100%;
  height: 100%;
  min-width: 300px;
  min-height: 200px;
  background: black;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  /* border-radius: 8px; */
  object-fit: contain;
}

.video-close-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2147483648;

  /* Match .toggle-btn styling */
  background: #000;
  /* Better visibility over video than transparent */
  color: var(--accent-secondary) !important;
  font-size: 14px;
  /* Slightly larger than 0.8rem for thumb interaction */
  font-weight: 500;
  border: 1px solid var(--accent-secondary);
  border-radius: 6px;
  padding: 8px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto;
  width: auto;
}

.video-close-btn:active {
  background: rgba(75, 123, 236, 0.2);
}


/* --- Settings Overlay --- */
.settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: flex-end;
  /* Mobile: Align right */
  align-items: center;
  z-index: 10005;
  /* Above menu */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.settings-overlay.visible {
  opacity: 1;
  pointer-events: auto;
  z-index: 10010;
}

.settings-panel {
  background: var(--bg-card);
  width: 90%;
  max-width: 400px;
  /* Cap width for mobile too if screen is huge but treated as mobile? */
  height: 100%;
  /* Mobile: Full height */
  border-radius: 16px 0 0 16px;
  /* Mobile: Rounded left only */
  border-radius: 16px 0 0 16px;
  /* Mobile: Rounded left only */
  padding: calc(80px + env(safe-area-inset-top)) 20px 20px 20px;
  border-left: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  /* Mobile: Slide from right */
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.settings-overlay.visible .settings-panel {
  transform: translateX(0);
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  flex-shrink: 0;
}

.settings-header h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.settings-close {
  display: none;
}

@media (min-width: 768px) {
  .settings-overlay.visible .settings-panel.billing-modal {
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
  }
}

.settings-close:hover {
  color: #fff;
}

.settings-body label {
  display: block;
  margin-bottom: 8px;
  color: #aaa;
  font-size: 14px;
}

.settings-body select {
  width: 100%;
  padding: 10px;
  background: #2c2c2c;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.settings-body select:focus {
  border-color: #e91e63;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-body);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2147483647;
  /* Max Z-Index */
  transition: opacity 0.3s ease-out, visibility 0.3s;
  opacity: 1;
  visibility: visible;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-sizing: border-box;
}

.loading-text {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Settings Toggles */
.settings-section-title {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
  /* text-transform: uppercase; Removed for consistency */
  letter-spacing: 1px;
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.settings-label {
  font-size: 16px;
  color: #fff;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--accent-color);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--accent-color);
}

input:checked+.slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

/* Detailed Columns Overrides */
.detailed-columns .boosted-pill {
  width: auto !important;
  min-width: 18px;
  padding: 2px 4px;
}

.detailed-columns th,
.detailed-columns td {
  padding: 6px 2px;
  /* Reduce horizontal padding */
}

/* Specific styling for the date column (2nd column) */
.detailed-columns td:nth-child(2) {
  white-space: nowrap !important;
  overflow: visible;
  text-overflow: clip;
  /* Ensure no ellipsis */
}

/* Fix for Privacy Policy & T&C on Desktop (Burger Menu) */
@media (min-width: 768px) {
  .legal-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    text-align: left !important;
    padding-left: 0 !important;
  }
}


/* Billing Panel Styles */
.billing-group {
  background: var(--bg-card);
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border-color);
}

.billing-group-header {
  background: var(--bg-panel);
  padding: 12px 15px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border-color);
}

.billing-row {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.billing-row:last-child {
  border-bottom: none;
}

.billing-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.billing-link {
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}

.billing-id-static {
  color: #666;
  font-size: 13px;
}

.billing-amount {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.billing-amount.cancelled {
  text-decoration: line-through;
  color: var(--text-muted);
}

.billing-status {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Persona Switcher Styles */
.persona-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.persona-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 10px;
}

.persona-label:first-child {
  margin-top: 0;
}

.persona-select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: background 0.2s, border-color 0.2s;
  appearance: none;
  /* remove default arrow */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 10px auto;
}

.persona-select:focus {
  background: rgba(60, 60, 60, 0.8);
  border-color: var(--accent-secondary);
}

.persona-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ticket-actual-pill {
  position: relative;
  /* Changed from absolute */
  /* Remove absolute offsets */
  margin: 0;
  background: #1a2f2f;
  color: #79e2f2;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  /* improved display */
  align-content: center;
  align-items: center;
  justify-content: center;
}

/* Grid Table Refactor */
.grid-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}

.grid-row {
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  /* padding removed to let cells handle alignment */
}

.grid-header {
  position: sticky;
  top: calc(50px + env(safe-area-inset-top));
  /* Matches .header height */
  left: 0;
  z-index: 10;
  background: var(--bg-input);
  /* Restored Lighter Background */
  font-weight: 600;
  font-size: 11px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  /* Stronger shadow */
  border-radius: 10px;
  /* Restored Rounded Corners */
  margin-bottom: 4px;
  /* Slight gap */
  width: 100%;
  /* Ensure full width */
  box-sizing: border-box;
  /* Include padding/borders */
  padding: 0;
  /* Let cells handle alignment */
}

/* Specific left align/padding for first column (Status) and right padding for last */
.grid-cell:first-child {
  justify-content: flex-start;
  padding-left: 14px;
}

.grid-cell:last-child {
  padding-right: 14px;
}

/* Specific tighter padding for header cells */
.grid-header .grid-cell {
  padding: 6px 4px;
}

.grid-header .grid-cell:first-child {
  padding-left: 14px;
  /* Ensure header matches row start */
}

.grid-header .grid-cell:last-child {
  padding-right: 14px;
  /* Ensure header matches row end */
}

.grid-cell {
  padding: 10px 4px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: var(--text-primary);
}

.grid-cell.text-right {
  justify-content: flex-end;
  text-align: right;
  padding-right: 14px;
  /* Maintain edge padding */
}

.grid-cell.nw {
  white-space: nowrap;
}

.ticket-sold-diff.active {
  font-weight: bold;
  font-size: 1.2em;
  color: #54ebff;
  opacity: 1;
}

#palko-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1e1e1e;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-top: 1px solid #333;
  box-sizing: border-box;
  gap: 12px;
}

#palko-install-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  overflow: hidden;
}

#palko-install-banner .icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

#palko-install-banner .app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#palko-install-banner .icon-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.3) 45%,
      rgba(255, 255, 255, 0) 60%);
  transform: translateX(-100%);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  40% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
}

#palko-install-banner .text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

#palko-install-banner .app-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#palko-install-banner .app-rating {
  font-size: 11px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 2px;
}

#palko-install-banner .install-btn {
  background: #00875f;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#palko-install-banner .close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  margin: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: unset !important;
}

/* Deep Link Flash Animation */
@keyframes flash-highlight {
  0% {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(254, 25, 110, 0.7);
    background-color: rgba(254, 25, 110, 0.15);
  }

  40% {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(254, 25, 110, 0.4);
    background-color: rgba(254, 25, 110, 0.05);
  }

  100% {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background-color: var(--bg-card);
  }
}

.flash-highlight {
  animation: flash-highlight 2s ease-out forwards;
}