/* ====================================
   BART UNIFIED CSS - Mobile-Only Design System
   Complete stylesheet for BART platform
   Filename: bart.css
   Version: 2.1 - Mobile-Only Optimized
   Viewport: 320px-420px (Mobile-Only)
==================================== */

/* ====================================
   1. FONTS & CSS VARIABLES
==================================== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap');

:root {
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color System - Monochromatic with color Accents */
  --white: #ffffff;
  --black: #000000;
  --dk-grey: #333333;
  --lt-grey: #cccccc;
  --lt-lt-grey: #f1f1f1;
  --med-grey: #999999;
  --bg: #000000;
  --text-primary: var(--black);
  --text-secondary: var(--dk-grey);
  --border: #ddd;
  --lt-green: #e8f5e8;
  --lt-blue: #e3f2fd;
  
  /* Accent Colors */
  --accent-red: #cc3333;
  --accent-green: #66cc66;
  --accent-yellow: #ffd700;
  --accent-orange: #ff6633;
  --accent-blue: #3399ff;

  /* Status Colors */
  --success: var(--accent-green);
  --error: var(--accent-red);
  --warning: var(--accent-orange);
  --info: var(--dk-grey);

  /* Live System Colors */
  --live-bg: var(--black);
  --live-text: var(--white);
  --live-border: var(--dk-grey);

  /* Interaction Colors */
  --tip-color: var(--accent-green);
  --message-color: var(--accent-blue);
  --request-color: var(--accent-red);
  --drink-color: var(--accent-orange);

  /* Layout Variables */
  --radius: 18px;
  --live-radius: 18px;
  --shadow: 0 2px 8px rgba(0,0,0,0.05);
  --spacing: 1rem;
  --nav-height: 44px;
  
  /* Dynamic layout proportions */
  --queue-height-ratio: 0.1;
  --feed-height-ratio: 0.9;
  --layout-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================
   2. BASE RESET & TYPOGRAPHY
==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  overflow-y: scroll;
}

body {
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
  padding-bottom: 4rem;
}

/* Body overrides for specific page types */
body.live-page {
  height: 100vh;
  height: var(--actual-vh, 100dvh);
  overflow: hidden;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--live-bg);
  color: var(--dk-grey);
  padding-bottom: 0;
}

body.audience-page {
  background: var(--black);
  padding-bottom: 3rem;
}

body.auth-page {
  margin: 0;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
}

h1 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-title {
  color: var(--white);
  background: var(--accent-red);
  text-align: center;
  padding: 0rem 2rem 0.15rem 1rem;
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

/* Live page typography overrides */
.live-page h1, .live-page h2, .live-page h3, .live-page h4, .live-page h5, .live-page h6 {
  font-family: var(--font-heading);
  font-weight: 400;
}

/* ====================================
   3. LAYOUT CONTAINERS
==================================== */
.container {
  width: 100%;
  max-width: 420px;
  padding: 0.25rem 1rem 1.25rem 1rem;
  margin: 0 auto;
  background: var(--bg);
}

/* Audience page container */
body.audience-page .container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0.5rem 1rem 2rem;
  background: var(--med-grey);
  border-radius: 0 0 16px 16px;
  position: relative;
  text-align: center;
}

.live-page .container {
  height: calc(100vh - var(--nav-height));
  height: calc(var(--actual-vh, 100dvh) - var(--nav-height));
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background: var(--live-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
}

/* Auth page specific styles */
.auth-page-container {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.auth-page-container h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.auth-page-container input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.auth-page-container button {
  width: 100%;
  padding: 0.75rem;
  background: var(--black);
  color: var(--white);
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.auth-page-container button:hover {
  background: var(--dk-grey);
}

.auth-page-container .message {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.auth-page-container .message.error {
  background: #ffe5e5;
  color: var(--error);
}

.auth-page-container .message.success {
  background: #e5ffe5;
  color: var(--success);
}

.auth-page-container a {
  color: var(--black);
  text-decoration: none;
  font-weight: bold;
}

.auth-page-container a:hover {
  text-decoration: underline;
}

/* Card component */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

/* Section spacing */
.section {
  margin-top: 2rem;
}

/* ====================================
   4. FORMS & INPUT ELEMENTS
==================================== */
input:focus {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.form-label .label-hint {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--dk-grey);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  background-color: var(--white);
  height: 44px;
  font-family: var(--font-body);
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--dk-grey);
  outline: none;
  box-shadow: 0 0 0 1px var(--med-grey);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
  height: auto;
}

.form-select {
  background-image: url('/components/icons/arrow_down_icon.svg');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
}

/* Datetime input styling */
input[type="datetime-local"] {
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  padding-right: 2.5rem;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 44px;
  font-size: 0.95rem;
}

input[type="datetime-local"]::-webkit-datetime-edit,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  color: var(--text-primary);
}

/* Form groups */
.form-group {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  text-align: left;
}

/* Input wrappers */
.input-wrapper {
  margin-bottom: 0.75rem;
}

.input-wrapper:last-child {
  margin-bottom: 0;
}

/* ====================================
   5. BUTTONS
==================================== */
.form-button {
  display: block;
  width: 100%;
  background-color: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.2s ease;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-button:hover {
  background-color: var(--dk-grey);
}

.form-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.form-button.delete {
  background-color: var(--error);
}

.form-button.delete:hover {
  background-color: #a80000;
}

/* Button link variant */
.button-link,
.btn-link {
  display: inline-block;
  width: auto;
  background-color: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-bottom:0.5rem;
  transition: background-color 0.2s ease;
  font-family: inherit;
  font-size: inherit;
}

.button-link:hover,
.btn-link:hover {
  background-color: var(--dk-grey);
  color: var(--white);
}

/* Icon buttons */
.icon-btn,
.edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  width: 28px;
  height: 28px;
  color: var(--text-primary);
}

.icon-btn:hover,
.edit-btn:hover {
  background: #f0f0f0;
}

.icon-btn svg,
.edit-btn svg {
  width: 18px;
  height: 18px;
}

/* Form actions container */
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.form-actions .form-button {
  width: 100%;
  margin-top: 0;
}

/* Button group */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.button-group .form-button {
  margin-bottom: 0;
  margin-top: 0;
}

.button-group .form-button:last-child {
  margin-bottom: 0;
}
.live-board-button {
  background-color: var(--black) !important;
  color: var(--white) !important;
}

.live-board-button:hover {
  background-color: #a80000 !important;
}

.btn-confirm-gig {
  display: inline-block;
  width: auto;
  background-color: var(--accent-green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: inherit;
}

.gig-actions .btn-confirm-gig {
  display: block;
  width: 100%;
}

.btn-confirm-gig:hover {
  background-color: #4caf50;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-confirm-gig:active {
  transform: translateY(0);
}


/* ====================================
   6. CHECKBOXES, RADIOS & TOGGLES
==================================== */
.checkbox-row {
  margin-bottom: 1rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--dk-grey);
  border-radius: 3px;
  background-color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.form-checkbox:checked {
  background-color: var(--black);
  border-color: var(--black);
}

.form-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Checkbox group */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Radio styling */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-radio {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--dk-grey);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  background: var(--white);
}

.form-radio:checked {
  border-color: var(--black);
  background: var(--black);
}

.form-radio:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
}

/* Toggle switches */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
}

.toggle-label {
  font-size: 1rem;
  font-weight: 500;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.switch input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  accent-color: initial;
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}

.switch input:focus-visible {
  outline: none;
  box-shadow: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 26px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: var(--lt-green);
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.switch input:focus + .slider,
.switch input:focus-visible + .slider {
  outline: none;
  box-shadow: none;
}

/* ====================================
   7. ALERTS & STATUS MESSAGES
==================================== */
.alert {
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: bold;
  text-align: center;
  font-size: 0.95rem;
  margin: 0 auto 1rem auto;
  width: 100%;
  max-width: 95%;
  box-sizing: border-box;
  background-color: #f0f0f0;
  color: var(--dk-grey);
  border: 1px solid #ccc;
}

.alert-success {
  background-color: #e7f5ec;
  color: var(--success);
  border: 1px solid var(--success);
}

.alert-error {
  background-color: #fcebea;
  color: var(--error);
  border: 1px solid var(--error);
}

.alert-warning {
  background-color: #fff8e1;
  color: #8c6d1f;
  border: 1px solid var(--warning);
}

.modern-alert {
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-body);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
  transition: none; /* No opacity transitions */
  pointer-events: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}

/* Persistent alert styling */
.persistent-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1rem 1.5rem;
  min-width: 320px;
}

.persistent-alert .alert-message {
  flex: 1;
  line-height: 1.4;
}

.alert-close-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  color: var(--text-primary);
}

.alert-close-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.alert-close-btn:active {
  transform: scale(0.95);
}

.alert-close-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* Alert type variations with colored backgrounds */
.modern-alert-success {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}

.modern-alert-error {
  background: #fcebea;
  color: #c62828;
  border-color: var(--error);
}

.modern-alert-warning {
  background: #fff8e1;
  color: #f57c00;
  border-color: var(--warning);
}

.modern-alert-info {
  background: #f5f5f5;
  color: var(--text-primary);
  border-color: var(--info);
}

/* Slide down animation - spring effect */
.modern-alert.slide-down {
  animation: springSlideDown 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Slide up animation - smooth exit */
.modern-alert.slide-up {
  animation: smoothSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Keyframes for slide down with spring effect */
@keyframes springSlideDown {
  0% {
    top: -100px;
    transform: translateX(-50%) scale(0.9);
  }
  50% {
    top: 1.50rem; /* Overshoot position - adjust if needed */
    transform: translateX(-50%) scale(1.02);
  }
  100% {
    top: 1rem; /* FINAL POSITION - Change this value! */
    transform: translateX(-50%) scale(1);
  }
}

/* Keyframes for slide up exit */
@keyframes smoothSlideUp {
  0% {
    top: 1rem; /* Must match the final position above */
    transform: translateX(-50%) scale(1);
  }
  100% {
    top: -100px;
    transform: translateX(-50%) scale(0.95);
  }
}

/* Optional: Add subtle hover effect if user wants to interact */
.modern-alert:hover {
  transform: translateX(-50%) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Ensure alerts appear above everything including live modals */
.modern-alert {
  z-index: 10001;
}

/* Mobile-optimized sizing (since app is mobile-only) */
.modern-alert {
  max-width: 95%;
  min-width: 260px;
  font-size: 1rem; /* CHANGE THIS VALUE to adjust font size */
  padding: 0.875rem 1.25rem;
}

/* Auth message styling */
.auth-message {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.auth-message.error {
  background: #ffe5e5;
  color: var(--error);
}

.auth-message.success {
  background: #e7ffe5;
  color: var(--success);
}

.auth-message.success a {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
}

.auth-message.success a:hover {
  color: var(--dk-grey);
  text-decoration: underline;
}

/* Message status enhancements */
.message-status {
  padding: 0.4rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.message-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.message-status.warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* ====================================
   8. MODAL SYSTEM - UNIFIED
==================================== */

/* Modal backdrop */
.modal-overlay,
.live-interaction-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
}

/* Modal content container */
.modal-content,
.live-modal-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  margin: 0;
}

/* Modal titles */
.modal-title{
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.5rem 0;
  color: var(--black);
  text-align: center;
  letter-spacing: 0.3px;
  text-transform: none;
  padding-right: 0;
}

/* Modal subtitles */
.modal-subtext {
  margin: 0 0 0.5rem 0;
  color: var(--dk-grey);
  text-align: center;
  font-size: 0.75rem;
  line-height: 0.5;
}

/* Modal forms */
.modal-form.compact {
  gap: 0.15rem;
}

.modal-form.compact .form-group {
  margin-bottom: 0.25rem;
}

.modal-form.compact .form-input {
  margin-bottom: 0.25rem;
  height: 44px;
}

.modal-form.compact .form-button {
  margin-top: 0.5rem;
}

/* Modal form elements */
.modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
}

.modal-form .form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--dk-grey);
  letter-spacing: 0.2px;
  margin: 0;
}

.modal-form .form-input {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--dk-grey);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.modal-form .form-input:focus {
  outline: none;
  border-color: var(--dk-grey);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.modal-form .form-button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 0.5rem;
}

.modal-form .form-button:hover {
  background: var(--dk-grey);
  transform: translateY(-1px);
}

.modal-form .form-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Authentication modal elements */
.auth-switch {
  text-align: center;
  margin: 1rem 0 0 0;
  font-size: 0.75rem;
  color: var(--dk-grey);
}

.auth-switch a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.auth-switch a:hover {
  border-bottom-color: var(--black);
}

/* Enhanced auth modal fixes for live pages */
body.live-page #registerModal.modal-overlay,
body.live-page #loginModal.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.75) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 20000 !important;
  padding: 1.5rem !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

body.live-page #registerModal .modal-content,
body.live-page #loginModal .modal-content {
  background: var(--white) !important;
  border-radius: 16px !important;
  max-width: 420px !important;
  width: 100% !important;
  max-height: 75vh !important;
  overflow-y: auto !important;
  position: relative !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  padding: 2rem !important;
  margin: 0 !important;
  transform: none !important;
}

/* ====================================
   9. LIVE INTERACTION MODALS
==================================== */
.live-interaction-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.live-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideUp 0.3s ease-out;
}

.modal-close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #e0e0e0;
  transform: scale(1.05);
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
  color: #666;
}

/* Payment modal enhancements */
.payment-modal-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.payment-modal-header h3 {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.current-balance {
  background: var(--lt-lt-grey);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem;
  margin: 0 0 1.5rem 0;
  text-align: center;
  transition: all 0.3s ease;
}

.current-balance.highlight {
  background: #ffe5e5;
  border-color: var(--error);
  animation: balanceShake 0.5s ease-in-out;
}

.current-balance span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.tip-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-tip-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.quick-tip-btn {
  padding: 0.75rem 0.5rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
}

.quick-tip-btn:hover {
  border-color: var(--accent-green);
  background: var(--accent-green);
  transform: translateY(-1px);
}

.quick-tip-btn.selected,
.quick-tip-btn:active {
  border-color: var(--accent-green);
  background: var(--accent-green);
  color: var(--white);
  transform: translateY(0);
}

.custom-tip-section,
.tip-message-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.custom-tip-section label,
.tip-message-section label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-heading);
}

.amount-input-group,
.message-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 0.75rem;
  font-weight: 600;
  color: var(--dk-grey);
  z-index: 1;
  font-family: var(--font-heading);
}

.amount-input-group input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s ease;
  background: var(--white);
  font-family: var(--font-body);
}

.message-input-group input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 0.75rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  background: var(--white);
  font-family: var(--font-body);
}

.amount-input-group input:focus,
.message-input-group input:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--dk-grey);
}

.amount-input-group input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.message-input-group input::placeholder {
  color: #bbb;
  font-style: italic;
  opacity: 0.7;
}

.message-input-group .char-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  color: var(--med-grey);
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 3px;
  border-radius: 2px;
  pointer-events: none;
  font-family: var(--font-body);
}

.message-input-group .char-counter.warning {
  color: var(--warning);
  font-weight: 600;
}

.message-input-group .char-counter.error {
  color: var(--error);
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.submit-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover:not(:disabled) {
  background: var(--dk-grey);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.cancel-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--dk-grey);
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cancel-btn:hover {
  border-color: var(--dk-grey);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.payment-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  font-family: var(--font-body);
}

.payment-status.success {
  background: #e7f5ec;
  color: var(--success);
  border: 1px solid var(--success);
}

.payment-status.error {
  background: #fcebea;
  color: var(--error);
  border: 1px solid var(--error);
}

/* ====================================
   10. NAVIGATION COMPONENTS
==================================== */
.nav-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* Artist navigation logo (on dark background) */
.artist-nav-center .nav-logo {
  filter: brightness(0) invert(1);
}

/* Audience navigation logo (on dark background) */
.audience-nav-brand .nav-logo {
  filter: brightness(0) invert(1);
}

/* Hover effect for all logos */
.nav-logo:hover {
  opacity: 1;
}

/* Artist Top Navigation */
.artist-nav-wrapper {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 1010;
}

.nav-spacer {
  width: 36px;
  height: 36px;
  margin-left: 0;
  padding: 0.25rem;
  box-sizing: border-box;
  flex-shrink: 0;
}

.artist-nav {
  max-width: 420px;
  margin: 0 auto;
  padding: 0.25rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.artist-nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  z-index: 2;
  margin-left: 1rem;
  padding: 0.25rem;
  border-radius: 4px;
  background: transparent;
  border: none;
  outline: none;
}

.artist-nav .nav-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.artist-nav .nav-link:first-child {
  margin-left: 0;
}

.artist-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.artist-nav .nav-link svg {
  width: 28px;
  height: 28px;
  color: var(--white);
  stroke: var(--white);
}

.artist-nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 1px;
  z-index: 1;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Logo container - maintains identical layout in both live and non-live states */
.artist-nav-center .nav-logo-container {
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

/* When live, make the logo container clickable with hover effect */
.artist-nav-center .nav-logo-container.live-clickable {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.artist-nav-center .nav-logo-container.live-clickable:hover {
    opacity: 0.8;
}

/* Maintain existing logo styling regardless of clickable state */
.artist-nav-center .nav-logo-container .nav-logo {
    filter: brightness(0) invert(1);
}

.artist-nav-center .nav-logo-container .nav-logo-fallback {
    color: var(--white);
}

/* Position dot relative to the nav container instead */
.live-dot {
  position: absolute;
  left: calc(50% + 55px);
  top: 25%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: 2;
}

.artist-nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Audience Navigation System */
.audience-nav-container {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
}

.audience-nav-inner {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

.audience-nav {
  background: var(--black);
  padding: 0.25rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.audience-nav-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-icon-link {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  padding: 0.25rem;
  border-radius: 4px;
}

.nav-icon-link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.nav-icon-link svg,
.nav-icon-link .icon {
  width: 24px;
  height: 24px;
  color: var(--white);
  stroke: var(--white);
}

.audience-nav-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 1px;
  z-index: 1;
  opacity: 0.9;
}

.audience-nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audience-nickname {
  color: #ccc;
  font-size: 0.75rem;
  font-family: var(--font-heading);
}

/* Return to Live Show Bar */
.return-to-live-bar {
  background: #d4edda;
  color: var(--text-primary);
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
  text-align: center;
  font-weight: 500;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  border-bottom: 1px solid #c3e6cb;
}

.return-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.return-text {
  font-weight: 600;
  flex-grow: 1;
  text-align: center;
  font-size: 0.85rem;
  min-width: 0;
}

.return-btn {
  background: var(--white);
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background-color 0.2s ease;
  border: 1px solid #ccc;
  flex-shrink: 0;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

.return-btn:hover {
  background: #f8f9fa;
}

.dismiss-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.dismiss-btn:hover {
  color: var(--text-primary);
}

/* Artist Profile Dropdown */
.user-dropdown-container {
  position: relative;
  display: inline-block;
}

.user-dropdown-container .nav-link {
  background: transparent;
  border: none;
  outline: none;
  position: relative;
}

.profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.profile-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.profile-icon {
  width: 28px;
  height: 28px;
  fill: var(--white);
  transition: fill 0.2s ease;
}

.profile-icon.guest {
  opacity: 0.7;
}

.profile-btn .icon,
.profile-btn svg {
  width: 28px;
  height: 28px;
  color: var(--white);
  stroke: var(--white);
  fill: none;
}

.profile-btn:hover .icon,
.profile-btn:hover svg {
  color: var(--white);
  stroke: var(--white);
}

.profile-icon.logged-in {
  opacity: 1;
  fill: var(--white);
}

.status-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid var(--black);
}

/* Dropdown Menu */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

.dropdown-header {
  padding: 1rem;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
}

.dropdown-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.dropdown-role {
  font-size: 0.8rem;
  color: var(--dk-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-size: 0.9rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.dropdown-item:hover {
  background: #f8f9fa;
}

.dropdown-icon {
  width: 18px;
  height: 18px;
  stroke: var(--dk-grey);
  fill: none;
  flex-shrink: 0;
}

.dropdown-item:hover .dropdown-icon {
  stroke: var(--text-primary);
}

/* Fixed bottom tab bar */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  padding: 0.5rem 0;
  z-index: 1000;
}

.tab-bar a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  text-align: center;
}

.tab-bar a.active {
  color: var(--med-grey);
}

.tab-bar svg {
  display: block;
  margin: 0 auto 4px;
}

/* Live page navigation */
.nav-bars-container {
  flex-shrink: 0;
  position: relative;
  top: auto;
}

/* ====================================
   11. TOGGLE SECTIONS
==================================== */
.toggle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
}

.toggle-header .toggle-title {
  flex-grow: 1;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.toggle-content {
  background-color: #f5f5f5;
  padding: 1rem;
  margin-top: 0.75rem;
  border-radius: var(--radius);
}

.toggle-section-content {
  text-align: left;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.toggle-section-content .form-label {
  text-align: left;
  display: block;
}

.toggle-section-content .input-wrapper {
  text-align: left;
}

.toggle-section-content .form-group {
  text-align: left;
}

.toggle-section-content form {
  text-align: left;
  padding: 1rem 0;
}

.toggle-arrow {
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  color: var(--text-primary);
  cursor: pointer;
}

.toggle-arrow svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
}

.toggle-arrow.rotated {
  transform: rotate(90deg);
}

.toggle-section {
  margin-bottom: 1.5rem;
}

.toggle-section:last-child {
  margin-bottom: 0;
}

/* ====================================
   12. CARDS & CONTENT COMPONENTS
==================================== */

/* Gig item cards */
.gig-item {
  position: relative;
  border: 1px solid var(--border);
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--white);
  transition: box-shadow 0.2s ease;
}

.gig-item.special-border {
  border-color: var(--dk-grey);
  padding: 1rem;
  margin: 1rem 0 1rem 0;
}

.gig-item:nth-child(even) {
  background: #f9f9f9;
}

.gig-item:nth-child(odd) {
  background: var(--white);
}

.gig-item:hover {
  box-shadow: var(--shadow);
}

.gig-item-past {
  opacity: 0.8;
}

.gig-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.gig-main-info {
  flex: 1;
  min-width: 0;
}

.gig-header{
  margin-bottom: 0.4rem;
}

.gig-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  font-family: var(--font-heading);
  text-align: center;
}

.gig-datetime {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0;
  text-align: center;
}

.gig-venue {
  color: var(--dk-grey);
  margin-top: 0;
  text-align: center;
}

.gig-address {
  color: var(--dk-grey);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

.address-link {
  color: inherit;
  text-decoration: none;
}

.address-link:hover {
  text-decoration: underline;
}

.gig-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.gig-btn {
  background: transparent;
  color: var(--text-primary);
  padding: 0.4rem;
  text-align: center;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  text-decoration: none;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gig-btn:hover {
  background: #f0f0f0;
}

.gig-btn:focus {
  outline: none;
  box-shadow: none;
}

.gig-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.gig-details {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.gig-notes,
.internal-notes {
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 0.75rem;
  text-align: left;
}

.gig-notes-display,
.internal-notes {
  color: var(--dk-grey);
  font-size: 0.85rem;
  font-weight: 400;
  text-align: center;
}

.gig-notes {
  color: var(--text-primary);
}

.internal-notes {
  color: var(--accent-red);
}

.gig-notes strong,
.internal-notes strong {
  text-align: left;
  display: block;
  margin-bottom: 0rem;
}

.note-content {
  white-space: pre-wrap;
  margin-top: 0.25rem;
}

.gig-band-members {
  margin-top: 0.75rem;
}

.gig-band-members ul {
  margin-left: 1.25rem;
  margin-top: 0.25rem;
}

.gig-band-members li {
  margin-bottom: 0.25rem;
}

.calendar-btn-container {
  text-align: center;
  margin-top: 0.75rem;
}

.gig-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1rem auto;
  width: 70%;
}

/* Live item cards */
.live-item-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: var(--white);
}

.live-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.live-item-title {
  font-weight: 600;
  flex: 1;
  color: var(--text-primary);
}

.live-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Band member cards */
.band-member {
  border: 1px solid var(--border);
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--white);
}

.band-member h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.band-member-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.band-member-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Band member photo styling for artist management interface */
.member-info-with-photo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.member-info-with-photo .member-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.member-info-with-photo .member-photo:hover {
  border-color: #ddd;
  transform: scale(1.05);
}

.member-details {
  flex: 1;
  min-width: 0;
}

/* Audience-facing band member cards */
.audience-band-members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
}

.audience-band-member-card {
  background: var(--white);
  border: 1px var(--border);
  border-color: var(--dk-grey);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-height: 260px;
  margin: 0 auto 1rem auto;
  box-sizing: border-box;
}

.audience-band-member-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.audience-band-member-card .member-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.75rem auto;
  flex-shrink: 0;
  position: relative;
}

.audience-band-member-card .member-photo img,
.member-photo-thumb {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
}

.audience-band-member-card .member-photo img:hover,
.member-photo-thumb:hover {
  border-color: #ddd;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.audience-band-member-card .member-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.audience-band-member-card .member-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  min-height: 1.4rem;
}

.substitute-badge {
  font-weight: 400;
  color: #666;
  font-size: 0.85rem;
  background: #f5f5f5;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

.audience-band-member-card .member-instrument {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dk-grey);
  margin-bottom: 0.75rem;
  min-height: 1.2rem;
}

.audience-band-member-card .member-bio {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Merch cards */
.merch-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.merch-card {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.merch-card:hover {
  background-color:var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.merch-card .merch-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
}

.merch-image-container {
  flex-shrink: 0;
}

.merch-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  background: var(--white);
}

.merch-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--dk-grey);
  background: #f5f5f5;
}

.merch-details {
  flex: 1;
  min-width: 0;
}

.merch-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.merch-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.merch-availability {
  font-size: 0.85rem;
  color: var(--dk-grey);
}

.availability-text {
  font-style: italic;
}

/* Merchandise grid */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.merch-tile {
  max-width: 200px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.merch-tile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.merch-tile-info {
  font-size: 0.9rem;
  color: var(--dk-grey);
}

.merch-tile-name {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.merch-tile-price {
  color: var(--success);
  font-weight: 500;
}

/* Song cards */
.song-card {
  border: 1px solid var(--border);
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--white);
}

.song-card .song-details {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Group cards */
.group-card {
  border: 1px solid var(--border);
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--white);
}

.group-card .group-title-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
}

.group-title-edit {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.group-songs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.song-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.song-row:last-child {
  border-bottom: none;
}

.song-actions .form-button {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  margin-top: 0;
}

/* ====================================
   13. ARTIST PROFILE COMPONENTS
==================================== */
.profile-banner {
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  margin: 0 0 0.5rem;
}

.profile-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.banner-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  padding: 0.2rem;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  box-sizing: border-box;
}

.banner-artist-name {
  font-size: 1.65rem;
  font-weight: 400;
}

.banner-artist-details {
  font-size: 0.9rem;
  font-weight: 400;
  color: #eee;
  margin-top: 0.20rem;
}

.favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.favorite-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}

.favorite-btn:active {
  transform: scale(0.95);
}

.heart-icon {
  width: 28px;
  height: 28px;
  color: var(--white);
  transition: all 0.2s ease;
}

.favorite-btn[data-favorited="true"] .heart-icon {
  color: var(--accent-red);
}

.favorite-btn[data-favorited="false"] .heart-icon {
  color: var(--white);
}

.bio-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.bio-preview-full {
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--dk-grey);
  text-align: justify;
  line-height: 1.4em;
  margin-bottom: 0;
}

.social-links-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  color: #444;
  font-size: 2rem;
  transition: opacity 0.2s ease;
}

.social-link:hover {
  opacity: 0.7;
}

.genres-container {
  margin: 2rem;
  text-align: center;
}

.tag {
  display: inline-block;
  background: var(--lt-lt-grey);
  color: var(--dk-grey);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  margin: 0.2rem;
}

/* Upcoming shows */
.upcoming-shows-box {
  border: none;
  padding: 0.5rem;
}

.calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f1f1;
  color: var(--dk-grey);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #ccc;
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.calendar-btn:hover {
  background: #e5e5e5;
}

.badge-live {
  display: inline-block;
  background: var(--error);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 5px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Badges */
.badge-original {
  background: #e8f5e8;
  color: var(--dk-grey);
}

.badge-cover {
  background: #e3f2fd;
  color: var(--dk-grey);
}

/* ====================================
   14. LIVE INTERFACE COMPONENTS
==================================== */

/* Live board wrapper */
.live-board-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0.5rem 0 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

body.live-page .live-board-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0.5rem 0 0;
  min-height: 0;
  overflow: hidden;
}

body.live-page .live-interaction-container {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0 1rem;
  z-index: 100;
  width: calc(100% - 1rem);
  max-width: none;
  justify-content: center;
}

.live-feed-list,
.artist-live-feed-list {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 4rem;
  margin-top: 0;
}

.live-board-title {
  flex-shrink: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  color: var(--live-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Artist live feed panel */
.artist-live-feed-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  min-height: 0;
  margin: 0;
}

.artist-live-content-wrapper {
  height: calc(100vh - var(--nav-height));
  height: calc(var(--actual-vh, 100dvh) - var(--nav-height));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.artist-live-content-wrapper .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.main-content-container {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.5rem 0 0.5rem;
}

/* Live feed list */
.live-feed-list,
.artist-live-feed-list {
  flex: 1;
  overflow-y: auto;
  height: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  position: relative;
  border: 1px solid var(--live-border);
  border-radius: var(--live-radius);
  background: var(--black);
  padding: 0.75rem 0.75rem 4rem 0.75rem;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #555 #2a2a2a;
}

.live-feed-list::-webkit-scrollbar,
.artist-live-feed-list::-webkit-scrollbar {
  width: 8px;
}

.live-feed-list::-webkit-scrollbar-track,
.artist-live-feed-list::-webkit-scrollbar-track {
  background: #2a2a2a;
  border-radius: 4px;
}

.live-feed-list::-webkit-scrollbar-thumb,
.artist-live-feed-list::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.live-feed-list::-webkit-scrollbar-thumb:hover,
.artist-live-feed-list::-webkit-scrollbar-thumb:hover {
  background: #666;
}

.live-feed-list:empty::after,
.artist-live-feed-list:empty::after {
  content: "Waiting for live interactions...";
  display: block;
  text-align: center;
  color: var(--med-grey);
  font-style: italic;
  padding: 2rem;
  margin-top: 2rem;
}

/* Live events */
.live-event {
  padding: 0.5rem 0.5rem;
  margin-bottom: 0.4rem;
  background: var(--dk-grey);
  border-radius: 10px;
  text-align: left;
  transition: all 0.2s ease;
  position: relative;
  color: var(--dk-grey);
}

.live-event:hover {
  background: var(--med-grey);
  transform: translateY(-1px);
}

.event-content {
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--lt-grey);
  margin-bottom: 0.15rem;
}

.event-timestamp {
  font-size: 0.7rem;
  color: var(--lt-grey);
  text-align: right;
}

/* Event type colors */
.live-event[data-type="tip"] {
  border-left: 5px solid var(--tip-color);
}

.live-event[data-type="message"] {
  border-left: 5px solid var(--message-color);
}

.live-event[data-type="request"] {
  border-left: 5px solid var(--request-color);
}

.live-event[data-type="reaction"] {
  border-left: 5px solid var(--warning);
}

.live-event.fade-in {
  animation: fadeInHighlight 0.4s ease-out;
}

/* Event actions */
.event-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  justify-content: flex-end;
}

.icon-reply-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--black);
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0;
  padding: 0;
}

.icon-reply-btn:hover {
  border-color: none;
  color: var(--dk-grey);
  transform: translateY(-1px);
}

.icon-reply-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.icon-reply-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.icon-reply-btn.thanks {
  border-color: var(--tip-color);
  color: var(--tip-color);
}

.icon-reply-btn.thanks:hover {
  background: var(--tip-color);
  color: var(--white);
}

.icon-reply-btn.thumbs-up {
  border-color: var(--info);
  color: var(--info);
}

.icon-reply-btn.thumbs-up:hover {
  background: var(--info);
  color: var(--white);
}

.icon-reply-btn.music {
  border-color: var(--request-color);
  color: var(--request-color);
}

.icon-reply-btn.music:hover {
  background: var(--request-color);
  color: var(--white);
}

.icon-reply-btn.custom {
  border-color: var(--med-grey);
  color: var(--med-grey);
}

.icon-reply-btn.custom:hover {
  background: var(--med-grey);
  color: var(--white);
}

/* Artist response styling */
.artist-response {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
}

.artist-response-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.artist-response-content {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--lt-grey);
}

.artist-response-content strong {
  color: var(--white);
  font-weight: 600;
}

/* Artist response events */
.live-event[data-type="response"] {
  background: var(--dk-grey);
  border-left: none;
  padding: 0.5rem 0.5rem;
}

.live-event[data-type="response"]::before {
  display: none;
}

.live-event[data-type="response"] .event-timestamp {
  font-size: 0.7rem;
  color: var(--lt-grey);
  text-align: right;
}

/* Live interaction buttons */
.live-interaction-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  flex-shrink: 0;
  position: relative;
}

.live-interaction-container::-webkit-scrollbar {
  display: none;
}

/* Dynamic button sizing based on count */
.live-interaction-container[data-button-count="1"] .live-interaction-btn,
.live-interaction-container[data-button-count="2"] .live-interaction-btn {
  --button-size: 56px;
}

.live-interaction-container[data-button-count="3"] .live-interaction-btn {
  --button-size: 52px;
}

.live-interaction-container[data-button-count="4"] .live-interaction-btn {
  --button-size: 48px;
}

.live-interaction-container[data-button-count="5"] .live-interaction-btn {
  --button-size: 44px;
}

.live-interaction-container[data-button-count="6"] .live-interaction-btn,
.live-interaction-container[data-button-count="7"] .live-interaction-btn {
  --button-size: 44px;
}

.live-interaction-btn {
  width: var(--button-size, 44px);
  height: var(--button-size, 44px);
  border-radius: 50%;
  background: #444;
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.live-interaction-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.live-interaction-btn:active::before {
  width: 120%;
  height: 120%;
}

.live-interaction-btn:hover {
  background: #555;
}

.live-interaction-btn:active {
  transform: translateY(0);
}

.live-interaction-btn .icon {
  width: calc(var(--button-size, 50px) * 0.45);
  height: calc(var(--button-size, 50px) * 0.45);
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.live-interaction-btn:hover .icon {
  transform: scale(1.1);
}

/* Button variants */
.live-interaction-btn[data-interaction="message"] {
  background: var(--message-color);
}

.live-interaction-btn[data-interaction="message"]:hover {
  background: var(--dk-grey);
}

.live-interaction-btn[data-interaction="tip"] {
  background: var(--tip-color);
}

.live-interaction-btn[data-interaction="tip"]:hover {
  background: #388e3c;
}

.live-interaction-btn[data-interaction="request"] {
  background: var(--request-color);
}

.live-interaction-btn[data-interaction="request"]:hover {
  background: #d32f2f;
}

.live-interaction-btn[data-interaction="drink"] {
  background: var(--drink-color);
}

.live-interaction-btn[data-interaction="drink"]:hover {
  background: #7b1fa2;
}

.live-interaction-btn[data-interaction="action"] {
  background: var(--warning);
}

.live-interaction-btn[data-interaction="action"]:hover {
  background: #f57c00;
}

.live-interaction-btn[data-interaction="merch"] {
  background: #795548;
}

.live-interaction-btn[data-interaction="merch"]:hover {
  background: #5d4037;
}

.live-interaction-btn[data-interaction="poll"] {
  background: #607d8b;
}

.live-interaction-btn[data-interaction="poll"]:hover {
  background: #455a64;
}

/* Live mode controls */
.live-mode-card {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.live-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0;
}

.live-toggle {
  width: 60px;
  height: 32px;
  background: #ccc;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.live-toggle::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--white);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.live-toggle.active::before {
  left: 31px;
}

.live-toggle:hover {
  opacity: 0.8;
}

.live-toggle.active {
  background-color: var(--lt-green);
}

.live-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.live-toggle.disabled:hover {
  transform: none;
  opacity: 0.5;
}

.live-status {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-controls {
  background: #fff8f8;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  border: 1px solid #ffe6e6;
}

.live-controls h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.live-controls-subtitle {
  font-size: 0.9rem;
  color: var(--dk-grey);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.live-button-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 300px;
  margin: 0 auto;
}

.live-button-stack .form-button {
  background: var(--live-accent);
  border: 2px solid var(--live-accent);
  color: var(--white);
  font-weight: 600;
  transition: all 0.2s ease;
}

.live-button-stack .form-button:hover {
  background: #cc0000;
  border-color: #cc0000;
  transform: translateY(-1px);
}

/* Message input system */
.live-message-block {
  margin: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.message-input-container {
  position: relative;
  flex-grow: 1;
  flex-shrink: 1;
  margin-right: 0.25rem;
  min-width: 0;
}

#live-message-form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

.live-message-block #message-input {
  width: 100%;
  padding: 0.5rem 3rem 0.5rem 0.75rem;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-sizing: border-box;
  resize: none;
  transition: border-color 0.2s;
  background-color: var(--white);
  margin-bottom: 0;
  -webkit-appearance: none;
  -webkit-border-radius: var(--radius);
  min-height: 44px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

#message-input:focus {
  outline: none;
  border-color: var(--dk-grey);
  box-shadow: 0 0 0 1px var(--med-grey);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

#message-input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.message-input-container .char-counter {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  font-size: 0.65rem;
  color: var(--med-grey);
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 3px;
  border-radius: 2px;
  pointer-events: none;
}

.message-submit-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-submit-btn:hover:not(:disabled) {
  background: var(--dk-grey);
}

.message-submit-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.message-submit-btn .send-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.message-submit-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-submit-btn.loading {
  opacity: 0.6;
  position: relative;
}

.message-submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.message-submit-btn.loading .btn-icon {
  opacity: 0.3;
}

/* Song request modal enhancements */
.song-request-block {
  margin: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.song-request-block .message-input-container {
  position: relative;
  margin-bottom: 1rem;
}

.song-request-block #request-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 0.75rem;
  font-size: 16px;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  box-sizing: border-box;
  resize: none;
  transition: border-color 0.2s;
  background-color: var(--white);
  margin-bottom: 0;
  -webkit-appearance: none;
  -webkit-border-radius: var(--radius);
  min-height: 44px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.song-request-block #request-input:focus {
  outline: none;
  border-color: var(--dk-grey);
  box-shadow: 0 0 0 1px var(--med-grey);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.song-request-block #request-input::placeholder {
  color: #bbb;
  font-style: italic;
  opacity: 0.7;
}

.song-request-block .char-counter {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  font-size: 0.65rem;
  color: var(--med-grey);
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 3px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 5;
}

.song-request-block .char-counter.warning {
  color: var(--warning);
  font-weight: 600;
}

.song-request-block .char-counter.error {
  color: var(--error);
  font-weight: 600;
}

/* Live board overlay (guest state) */
.guest-center-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.85);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  max-width: 300px;
  width: 90%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.guest-center-overlay h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
}

.guest-center-overlay p {
  margin: 0 0 1.25rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ccc;
}

.guest-overlay-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guest-overlay-btn {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.guest-overlay-btn.primary {
  background: var(--white);
  color: var(--black);
}

.guest-overlay-btn.primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.guest-overlay-btn.secondary {
  background: transparent;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.guest-overlay-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.guest-overlay-dismiss {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #ccc;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.guest-overlay-dismiss:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Guest overlay positioned absolutely over the live board */
.guest-overlay-absolute {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
}

/* Make sure the live board wrapper is positioned relative for the absolute overlay */
.live-board-wrapper {
  position: relative;
}

.guest-prompt {
  background: var(--black);
  padding: 0.50rem;
  border-radius: 8px;
  border: 1px solid var(--white);
}

.guest-prompt p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--white);
}

.guest-prompt p:first-child {
  font-weight: 600;
  color: var(--white);
}

/* ====================================
   15. ARTIST STATS & ACTION BUTTONS
==================================== */

/* Artist stats panel */
.artist-stats-panel {
  flex-shrink: 0;
  background: var(--black);
  border-radius: 12px;
  padding: 0.50rem;
  margin: 0 0 0.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.stats-card {
  background: var(--dk-grey);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
}

/* Stats filter button styling */
.stats-filter-btn {
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.stats-filter-btn:hover {
  background: var(--med-grey);
  transform: translateY(-1px);
}

.stats-filter-btn:active {
  transform: translateY(0);
}

/* Active states for each filter type */
.stats-filter-btn.active[data-filter="tip"] {
  background: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(102, 204, 102, 0.3);
}

.stats-filter-btn.active[data-filter="tip"] h4,
.stats-filter-btn.active[data-filter="tip"] .stats-number,
.stats-filter-btn.active[data-filter="tip"] #tips-amount,
.stats-filter-btn.active[data-filter="tip"] .tips-count-number {
  color: var(--white) !important;
}

.stats-filter-btn.active[data-filter="request"] {
  background: var(--accent-red);
  box-shadow: 0 0 0 2px rgba(204, 51, 51, 0.3);
}

.stats-filter-btn.active[data-filter="request"] h4,
.stats-filter-btn.active[data-filter="request"] .stats-number,
.stats-filter-btn.active[data-filter="request"] #requests-count {
  color: var(--white) !important;
}

.stats-filter-btn.active[data-filter="message"] {
  background: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(51, 153, 255, 0.3);
}

.stats-filter-btn.active[data-filter="message"] h4,
.stats-filter-btn.active[data-filter="message"] .stats-number,
.stats-filter-btn.active[data-filter="message"] #messages-count {
  color: var(--white) !important;
}

/* Ensure nested elements don't interfere with button clicks */
.stats-filter-btn * {
  pointer-events: none;
}

.stats-card h4 {
  margin: 0;
  color: var(--lt-grey);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
  margin-right: 0.25rem;
  line-height: 1;
}

.stats-number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--success);
  display: flex;
  align-items: center;
  line-height: 1;
}

#tips-amount {
  color: var(--accent-green);
}

.tips-count-number {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lt-grey);
  line-height: 1;
  margin-right: 0.25rem;
}

#requests-count {
  color: var(--accent-red);
}

#messages-count {
  color: var(--accent-blue);
}

.stats-label {
  display: none;
}

/* Single floating action button for artist */
.floating-action-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1100;
  overflow: hidden;
}

.floating-action-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.floating-action-btn:active::before {
  width: 120%;
  height: 120%;
}

.floating-action-btn:hover {
  background: var(--dk-grey);
  border-color: var(--white);
  transform: scale(1.05);
}

.floating-action-btn:active {
  transform: scale(0.95);
  border-color: var(--white);
}

.floating-action-btn .icon {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  transition: transform 0.2s ease;
  z-index: 1;
  position: relative;
}

.floating-action-btn:hover .icon {
  transform: scale(1.1);
}

/* ====================================
   16. IMAGE GALLERY & MEDIA
==================================== */

/* Image gallery grid */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1rem;
}

.img-slot {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f2f2;
  border: 2px dashed #bbb;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-slot input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.img-slot span {
  position: absolute;
  font-size: 13px;
  color: #777;
}

.img-slot a {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  padding: 3px 6px;
  text-decoration: none;
  z-index: 2;
}

#gallery-data {
  display: none;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

/* Gallery modal */
.modal-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-bg.show {
  display: flex;
  opacity: 1;
}

#imgModal .modal-content,
#memberPhotoModal .modal-content {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}

#imgModal .image-wrapper,
#memberPhotoModal .image-wrapper {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#modalImg,
#memberModalImg {
  transition: opacity 0.2s ease;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#modalImg[src=""], #modalImg:not([src]),
#memberModalImg[src=""], #memberModalImg:not([src]) {
  opacity: 0;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.arrow-left {
  left: 1rem;
}

.arrow-right {
  right: 1rem;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  background: none;
  color: var(--white);
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-btn:hover,
.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.image-wrapper {
  position: relative;
  z-index: 1;
}

/* Enhanced close button for member photos */
#memberPhotoModal .close-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.8) !important;
  color: var(--white);
  border: none !important;
  cursor: pointer;
  z-index: 1001;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  transition: all 0.2s ease;
}

#memberPhotoModal .close-btn:hover {
  background: rgba(0, 0, 0, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: scale(1.1);
}

/* Member photo upload styling */
.member-photo-upload {
  margin: 1rem 0;
}

.member-photo-upload .gallery-grid {
  justify-content: flex-start;
  margin-bottom: 0;
}

.member-photo-upload .img-slot {
  width: 80px;
  height: 80px;
}

.member-photo-upload .img-slot img {
  border-radius: 50%;
  object-fit: cover;
}

/* ====================================
   17. DASHBOARD COMPONENTS
==================================== */

/* Dashboard artist name title */
.dashboard-artist-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
}

/* Dashboard quick info section */
.dashboard-quick-info {
    margin-bottom: 1rem;
}

.dashboard-info-card {
    background: var(--lt-lt-grey);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.dashboard-info-card h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}

.dashboard-info-card .value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dashboard-info-card .subtext {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.dashboard-next-gig-card {
    text-align: left;
}

.dashboard-next-gig-card h3 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.dashboard-next-gig-card {
    text-align: center;
}

.next-gig-single-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.next-gig-info-line {
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}


.countdown-display.showtime {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: var(--white) !important;
    cursor: pointer;
}

.countdown-display.showtime .countdown-time,
.countdown-display.showtime .countdown-label {
    color: var(--white) !important;
}

.countdown-display {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.5rem;
    width: 100%;
}

.countdown-time {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.countdown-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

/* Dashboard navigation section */
.dashboard-navigation {
    margin-top: 0.75rem;
}

.dashboard-nav-card {
    background: var(--lt-lt-grey);
    border-radius: var(--radius);
    padding: 1rem;
}

.dashboard-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
}

.dashboard-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: var(--text-primary);
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.2s ease;
}

.dashboard-nav-button:hover {
    transform: translateY(-2px);
}

.dashboard-nav-button .icon-circle {
    width: 65px;
    height: 65px;
    background: var(--dk-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.dashboard-nav-button:hover .icon-circle {
    background: var(--dk-grey);
}

.dashboard-nav-button .icon {
    width: 28px;
    height: 28px;
    color: var(--white);
    stroke: var(--white);
}

.dashboard-nav-button .label {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* Dashboard utility classes */
.earnings-highlight {
    color: #2e7d32;
}

.no-stripe-warning {
    color: #d32f2f;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}

.dashboard-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}

.dashboard-button:hover {
  opacity: 0.7;
}

.dashboard-button img {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.button-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-primary);
}

/* ====================================
   18. SPECIAL PAGE LAYOUTS
==================================== */

/* QR Code page */
.qr-container {
  position: relative;
}

.qr-wrapper {
  text-align: center;
  padding: 2rem 1rem;
}

.qr-image {
  width: 100%;
  max-width: 360px;
  height: auto;
  background: var(--white);
  display: block;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.qr-headline {
  margin-bottom: 1.5rem;
  text-align: center;
}

.qr-subtext {
  font-size: 0.95rem;
  color: var(--dk-grey);
  margin-bottom: 0.25rem;
}

.qr-artist {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.qr-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.qr-actions a {
  width: 100%;
  margin: 0;
  display: block;
  text-align: center;
}

/* Add gig inline/floating */
.add-gig-inline {
  display: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: right;
}

.add-gig-inline a {
  background: var(--black);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.add-gig-inline a:hover {
  background: var(--dk-grey);
}

.add-gig-floating {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--accent-red);
  color: var(--white);
  font-size: 1.5rem;
  border-radius: 50%;
  text-align: center;
  line-height: 3rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  z-index: 99;
  transition: background-color 0.2s ease;
}

.add-gig-floating:hover {
  background: var(--dk-grey);
}

/* Gig form specific */
.gig-form-card {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.close-button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--text-primary);
  transition: background-color 0.2s ease, opacity 0.2s ease;
  z-index: 10;
}

.close-button:hover {
  background-color: #f0f0f0;
  opacity: 0.8;
}

.close-button svg {
  width: 32px;
  height: 32px;
}

.info-button {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--dk-grey);
  transition: background-color 0.2s ease, color 0.2s ease;
  z-index: 10;
}

.info-button:hover {
  background-color: #f0f0f0;
  color: var(--text-primary);
}

.info-button svg {
  width: 20px;
  height: 20px;
}

.edit-indicator {
  color: var(--accent-red);
  font-size: 0.9rem;
  font-weight: normal;
  font-family: var(--font-body);
}

.field-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--dk-grey);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.venue-section {
  margin: 1.5rem 0;
}

.manual-fields {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.section-heading {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.section-heading:first-of-type {
  margin-top: 1.5rem;
}

.band-members-section {
  display: flex;
  flex-direction: column;
  gap: 0.50rem;
  margin-bottom: 1.5rem;
}

.band-member-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}

.band-member-option:hover {
  background-color: #f9f9f9;
}

.band-member-option .checkbox-label {
  margin-bottom: 0;
  cursor: pointer;
  flex: 1;
}

/* Contact form */
.contact-form {
  max-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.contact-form label {
  display: block;
  margin: 0.8rem 0 0.3rem;
  font-weight: 500;
  text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  background: var(--white);
}

.contact-form .button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--dk-grey);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.contact-form .button:hover {
  background: var(--black);
}

/* ====================================
   19. SEARCH & AUTOCOMPLETE
==================================== */
.search-results {
  margin-top: 0.5rem;
}

.search-result {
  padding: 8px 12px;
  margin-bottom: 4px;
  background-color: #f9f9f9;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-result:hover {
  background-color: #e9e9e9;
}

.search-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  background: var(--white);
  gap: 1rem;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #f9f9f9;
}

.search-result-item .form-select {
  margin-bottom: 0;
  min-width: 140px;
  flex-shrink: 0;
}

#search-results {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

#search-results:empty {
  display: none;
}

#venue_autocomplete {
  position: relative;
  z-index: 1000;
}

/* ====================================
   20. NOTIFICATION SYSTEM
==================================== */

/* Notification options */
.notif-option {
  margin-bottom: 1.5rem;
}

.notif-option .form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.notif-checkboxes {
  display: flex;
  gap: 1.5rem;
  margin-left: 0.5rem;
}

.notif-option .checkbox-row {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Toast notification */
.toast {
  visibility: hidden;
  min-width: 220px;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s ease, bottom 0.4s ease;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 4.5rem;
}

/* ====================================
   21. SPINNER & LOADING
==================================== */
.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--black);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ====================================
   22. ICONS & UTILITIES
==================================== */
.icon {
  width: 28px;
  height: 28px;
  stroke: var(--black);
  cursor: pointer;
  transition: opacity 0.2s ease;
  vertical-align: middle;
}

.icon-filled {
  width: 28px;
  height: 28px;
  fill: var(--black);
  cursor: pointer;
  vertical-align: middle;
}

.size-6 {
  width: 24px;
  height: 24px;
}

/* Section labels */
.section-label {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Empty states */
.gigs-empty-state {
  text-align: center;
  margin: 3rem 0;
  color: var(--dk-grey);
}

.gigs-empty-state p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Toggle past */
.toggle-past {
  text-align: center;
  margin-top: 2rem;
}

.past-gigs-toggle {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  width: 100%;
  display: block;
  transition: background-color 0.2s ease;
}

.past-gigs-toggle:hover {
  background: var(--dk-grey);
}

/* Rename buttons */
.rename-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.rename-buttons .form-button {
  flex: 1;
  margin-top: 0;
}

/* Edit forms */
.edit-form-hidden {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.edit-form-visible {
  display: block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.edit-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* Gig schedule */
.gig-schedule {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Expandable member card functionality */
.expandable-member-card {
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.expandable-member-card:hover {
  background-color: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.expandable-member-card.expanded {
  background-color: #f5f5f5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.expandable-member-card::after {
  content: "▼";
  position: absolute;
  top: 0.45rem;
  right: 1rem;
  font-size: 0.8rem;
  color: var(--dk-grey);
  opacity: 0.6;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.expandable-member-card.expanded::after {
  content: "▲";
}

.expandable-member-card .band-member-actions {
  display: none;
}

.expandable-member-card .form-actions {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.expandable-member-card form {
  pointer-events: auto;
}

.expandable-member-card form * {
  pointer-events: auto;
}

.expandable-member-card input,
.expandable-member-card textarea,
.expandable-member-card button,
.expandable-member-card label {
  cursor: auto;
}

/* Gig actions */
.gig-actions {
  margin-top: 1rem;
  text-align: center;
}

.gig-actions .btn-link {
  display: block;
  width: 100%;
}

/* Fade effects
.fade-out {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}*/

/* ====================================
   23. COMPLETE SONG QUEUE MANAGEMENT STYLES
==================================== */

/* Unified Queue Containers */
.song-queue-container,
.audience-queue-section {
  background: var(--black);
  border-radius: 8px;
  padding: 0.5rem;
  margin: 0 0 0.75rem 0;
  border: 1px solid var(--dk-grey);
}

/* Queue Header */
.queue-header,
.audience-queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--dk-grey);
}

/* Queue Title */
.queue-title,
.audience-queue-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Queue Stats */
.queue-stats,
.audience-queue-stats {
  font-size: 0.8rem;
  color: var(--lt-grey);
  font-family: var(--font-body);
}

.queue-stats span,
.audience-queue-stats span {
  color: var(--white);
  font-weight: 600;
}

/* Queue List Containers */
.song-queue-list,
.audience-queue-list {
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 #2a2a2a;
}

.song-queue-list::-webkit-scrollbar,
.audience-queue-list::-webkit-scrollbar {
  width: 6px;
}

.song-queue-list::-webkit-scrollbar-track,
.audience-queue-list::-webkit-scrollbar-track {
  background: #2a2a2a;
  border-radius: 3px;
}

.song-queue-list::-webkit-scrollbar-thumb,
.audience-queue-list::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

.song-queue-list::-webkit-scrollbar-thumb:hover,
.audience-queue-list::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Empty Queue State */
.queue-empty,
.audience-queue-empty {
  text-align: center;
  color: var(--lt-grey);
  font-style: italic;
  padding: 1.5rem;
  font-size: 0.9rem;
  background: var(--dk-grey);
  border-radius: 6px;
  border: 1px solid #555;
}

/* Compact Queue Item Cards */
.queue-item,
.audience-queue-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  background: var(--dk-grey);
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
  min-height: auto;
}

.queue-item:hover,
.audience-queue-item:hover {
  background: var(--med-grey);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.queue-item:last-child,
.audience-queue-item:last-child {
  margin-bottom: 0;
}

/* Position Number */
.queue-position,
.audience-queue-position {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

/* Song Info Container */
.queue-song-info,
.audience-queue-song-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Song Title */
.queue-song-title,
.audience-queue-song-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Song Artist */
.queue-song-artist,
.audience-queue-song-artist {
  font-size: 0.8rem;
  color: var(--lt-grey);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Song Metadata */
.queue-song-meta,
.audience-queue-meta {
  font-size: 0.7rem;
  color: var(--lt-grey);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  margin: 0;
}

.audience-queue-requester {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}
.queue-song-title-row,
.audience-queue-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-start; /* Changed from space-between to flex-start */
  flex-wrap: nowrap;
}

.queue-song-title-row .queue-song-title,
.audience-queue-title-row .audience-queue-song-title {
  flex: 0 1 auto; /* Changed from flex: 1 to allow natural width */
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-song-title-row .queue-badge,
.audience-queue-title-row .audience-queue-badge {
  flex-shrink: 0;
  margin-left: 0; /* Removed auto margin */
  font-size: 0.55rem;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  white-space: nowrap;
}


/* Juice Amounts & Badges */
.juice-amount,
.audience-queue-juice {
  background: var(--black);
  color: var(--accent-green);
  padding: .15rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  min-width: 50px; /* Minimum width to maintain spacing */
  text-align: center;
  flex-shrink: 0;
  margin-right: 1rem;
}

.queue-actions {
  display: flex;
  justify-content: flex-end; /* Align everything to the right */
  align-items: center;
  flex-shrink: 0;
  width: 120px; /* Fixed width container */
}

.audience-queue-actions {
  display: flex;
  justify-content: flex-end; /* Align everything to the right */
  align-items: center;
  flex-shrink: 0;
  width: 120px; /* Fixed width container */
}

.queue-actions .remove-btn {
  margin-right: 0; /* Ensure button aligns to right edge */
}

/* Remove the order properties since we're using flex-end */
.queue-actions .juice-amount,
.queue-actions .remove-btn,
.audience-queue-actions .audience-queue-juice,
.audience-queue-actions .audience-juice-btn {
  order: unset;
}


/* Badges */
.queue-badge,
.audience-queue-badge {
  background: #666;
  color: var(--lt-grey);
  padding: 0.07rem 0.35rem;
  border-radius: 0px;
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.queue-badge.original,
.audience-queue-badge.original {
  background: var(--black);
  color: var(--white);
}

.queue-badge.cover,
.audience-queue-badge.cover {
  background: var(--black);
  color: var(--white);
}

/* Recent Juicers */
.recent-juicers {
  font-size: 0.65rem;
  color: #999;
  margin-top: 0.15rem;
  font-style: italic;
}

/* Action Buttons */

/* AUDIENCE SIDE: Circular Juice Button */
.audience-queue-actions {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.audience-juice-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-green);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  padding: 0;
  margin: 0;
  position: relative;
}

.audience-juice-btn:hover {
  background: #4caf50;
  transform: scale(1.1);
}

.audience-juice-btn:active {
  transform: scale(0.95);
}

/* Dollar sign icon for juice button */
.audience-juice-btn::before {
  content: "$";
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Hide any text content in juice button */
.audience-juice-btn * {
  display: none;
}

/* ARTIST SIDE: Inline Action Buttons */
.queue-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
  align-items: center;
}

.queue-action-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--lt-grey);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.queue-action-btn:hover {
  background: var(--black);
  color: var(--white);
  transform: scale(1.1);
}

.play-btn {
  color: var(--accent-green);
}

.play-btn:hover {
  background: var(--accent-green);
  color: var(--white);
}

.skip-btn {
  color: var(--accent-orange);
}

.skip-btn:hover {
  background: var(--accent-orange);
  color: var(--white);
}

.remove-btn {
  background: var(--accent-red);
  color: var(--white);
}

.remove-btn:hover {
  background: var(--accent-red);
  color: var(--white);
}

/* Request Action Buttons */
.request-actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.5rem;
  justify-content: center;
  align-items: center;
}

.request-action-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.accept-btn {
  background: var(--accent-green);
  color: var(--white);
}

.accept-btn:hover:not(:disabled) {
  background: #4caf50;
  transform: translateY(-1px);
}

.reject-btn {
  background: var(--accent-red);
  color: var(--white);
}

.reject-btn:hover:not(:disabled) {
  background: #f44336;
  transform: translateY(-1px);
}

.request-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.request-action-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

/* Request Status */
.request-status {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-accepted {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.status-rejected {
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Juice Modal Styling */
.juice-song-modal .live-modal-content {
  max-width: 420px;
}

.juice-song-info {
  background: var(--lt-lt-grey);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  text-align: center;
}

.juice-song-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.juice-song-artist {
  color: var(--dk-grey);
  margin-bottom: 0.5rem;
}

.juice-current-position {
  font-size: 0.9rem;
  color: var(--dk-grey);
}

.juice-current-total {
  color: var(--accent-green);
  font-weight: 600;
}

.juice-tip-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.juice-quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.juice-quick-btn {
  padding: 0.6rem 0.4rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
}

.juice-quick-btn:hover {
  border-color: var(--accent-green);
  background: var(--accent-green);
  color: var(--white);
  transform: translateY(-1px);
}

.juice-quick-btn.selected {
  border-color: var(--accent-green);
  background: var(--accent-green);
  color: var(--white);
}

.juice-custom-amount {
  position: relative;
}

.juice-custom-amount .currency-symbol {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--dk-grey);
  z-index: 1;
}

.juice-custom-amount input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s ease;
  background: var(--white);
}

.juice-custom-amount input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green);
}

.juice-message-input {
  position: relative;
}

.juice-message-input input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 0.75rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  background: var(--white);
}

.juice-message-input input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green);
}

.juice-message-input .char-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  color: var(--med-grey);
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 3px;
  border-radius: 2px;
  pointer-events: none;
}

.juice-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.juice-submit-btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
  background: var(--accent-green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.juice-submit-btn:hover:not(:disabled) {
  background: #4caf50;
  transform: translateY(-1px);
}

.juice-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ====================================
   24. DYNAMIC LIVE LAYOUT SYSTEM
==================================== */

/* Main live content wrapper */
.live-content-wrapper {
  height: calc(100vh - var(--nav-height));
  height: calc(var(--actual-vh, 100dvh) - var(--nav-height));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--live-bg);
  position: relative;
}

/* Dynamic layout container */
.dynamic-live-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 0.5rem;
  gap: 0.5rem;
  transition: var(--layout-transition);
}

/* Dynamic queue section */
.dynamic-queue-section {
  height: calc(var(--queue-height-ratio) * 100%);
  min-height: 60px;
  max-height: 75%;
  display: flex;
  flex-direction: column;
  background: var(--black);
  border-radius: 8px;
  border: 1px solid var(--dk-grey);
  overflow: hidden;
  transition: var(--layout-transition);
  flex-shrink: 0;
}

.dynamic-queue-stats {
  font-size: 0.75rem;
  color: var(--lt-grey);
  font-family: var(--font-body);
}

.dynamic-queue-stats span {
  color: var(--white);
  font-weight: 600;
}

/* Queue content */
.dynamic-queue-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #555 #2a2a2a;
}

.dynamic-queue-content::-webkit-scrollbar {
  width: 6px;
}

.dynamic-queue-content::-webkit-scrollbar-track {
  background: #2a2a2a;
  border-radius: 3px;
}

.dynamic-queue-content::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

/* Dynamic live feed section */
.dynamic-feed-section {
  height: calc(var(--feed-height-ratio) * 100%);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  background: var(--black);
  border-radius: 8px;
  border: 1px solid var(--dk-grey);
  overflow: hidden;
  transition: var(--layout-transition);
  flex: 1;
  min-height: 0;
}

.dynamic-feed-header {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--dk-grey);
  background: var(--black);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Feed content */
.dynamic-feed-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem;
  padding-bottom: 4rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #555 #2a2a2a;
}

.dynamic-feed-content::-webkit-scrollbar {
  width: 8px;
}

.dynamic-feed-content::-webkit-scrollbar-track {
  background: #2a2a2a;
  border-radius: 4px;
}

.dynamic-feed-content::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.dynamic-feed-content::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Empty feed state */
.dynamic-feed-content:empty::after {
  content: "Waiting for live interactions...";
  display: block;
  text-align: center;
  color: var(--med-grey);
  font-style: italic;
  padding: 2rem;
  margin-top: 2rem;
}

/* Visual feedback during transitions */
.dynamic-live-container.transitioning {
  pointer-events: none;
}

.dynamic-live-container.transitioning * {
  cursor: wait;
}

/* Size-based styling adjustments - REMOVED BORDER CHANGES */
.dynamic-queue-section[data-queue-size="0"],
.dynamic-queue-section[data-queue-size="1"],
.dynamic-queue-section[data-queue-size="2"],
.dynamic-queue-section[data-queue-size="3"],
.dynamic-queue-section[data-queue-size="4"],
.dynamic-queue-section[data-queue-size="5"],
.dynamic-queue-section[data-queue-size="6"],
.dynamic-queue-section[data-queue-size="7"] {
  border: 1px solid var(--dk-grey);
  box-shadow: none;
}

/* Feed visual priority - REMOVED BORDER CHANGES */
.dynamic-feed-section {
  border: 1px solid var(--dk-grey);
  box-shadow: none;
}

/* Override existing live page containers */
body.live-page .container {
  padding: 0;
  max-width: 100%;
}

/* Hide old layout elements when using dynamic system */
.dynamic-live-container ~ .song-queue-container,
.dynamic-live-container ~ .audience-queue-section,
.dynamic-live-container ~ .live-board-wrapper,
.dynamic-live-container ~ .artist-live-feed-panel {
  display: none;
}

/* Enhanced live header styling */
.enhanced-live-header {
    background: var(--black);
    padding: 0;
    border-radius: 8px;
    text-align: center;
    flex-shrink: 0;
}

.enhanced-live-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    font-weight: 400;
}

.audience-live-header {
    text-align: center;
}

.audience-live-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.artist-name-subtitle {
    display: inline;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--lt-grey);
    margin-top: 0.15rem;
    margin-left: 0.25rem;
}

.gig-info {
    color: var(--lt-grey);
    font-size: 0.8rem;
    margin: 0 0 0.75rem 0;
}

/* Compact artist stats panel */
.enhanced-live-header .artist-stats-panel {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.enhanced-live-header .stats-grid {
    gap: 0.25rem;
}

.enhanced-live-header .stats-card {
    padding: 0.3rem 0.5rem;
    min-height: 28px;
    font-size: 0.8rem;
}

.enhanced-live-header .stats-card h4 {
    font-size: 0.65rem;
    margin-right: 0.15rem;
}

.enhanced-live-header .stats-number {
    font-size: 0.8rem;
}

/* ====================================
   25. ACCORDION LAYOUT SYSTEM CSS
==================================== */

/* Clickable Header System */
.dynamic-queue-header,
.dynamic-feed-header {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--dk-grey);
  background: var(--black);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
  position: relative;
}

/* Hover effects for entire headers */
.dynamic-queue-header:hover,
.dynamic-feed-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Active/pressed state */
.dynamic-queue-header:active,
.dynamic-feed-header:active {
  background: rgba(255, 255, 255, 0.1);
}

/* Prevent text selection during clicks */
.dynamic-queue-header *,
.dynamic-feed-header * {
  pointer-events: none;
  user-select: none;
}

/* Triangle Icon System */
.layout-control-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-family: monospace;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* Icon states */
.layout-control-btn[data-section-state="open"] {
  color: var(--white);
  transform: rotate(0deg);
}

.layout-control-btn[data-section-state="closed"] {
  color: var(--lt-grey);
  transform: rotate(0deg);
}

/* Icon hover effects (via parent header hover) */
.dynamic-queue-header:hover .layout-control-btn,
.dynamic-feed-header:hover .layout-control-btn {
  color: var(--white);
}

/* Section State Styling */

/* Open section styling */
.dynamic-queue-section.section-open,
.dynamic-feed-section.section-open {
  /* Full functionality */
}

.dynamic-queue-section.section-open .dynamic-queue-content,
.dynamic-feed-section.section-open .dynamic-feed-content {
  opacity: 1;
  visibility: visible;
  height: auto;
  pointer-events: auto;
  transform: scaleY(1);
  transform-origin: top;
  transition: all 0.3s ease;
}

/* Closed section styling */
.dynamic-queue-section.section-closed,
.dynamic-feed-section.section-closed {
  /* Header only */
}

.dynamic-queue-section.section-closed .dynamic-queue-content,
.dynamic-feed-section.section-closed .dynamic-feed-content {
  opacity: 0;
  visibility: hidden;
  height: 0;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.3s ease;
}

/* Layout State Containers */

/* Feed-focused state (default) */
.dynamic-live-container.layout-state-feed-open .dynamic-queue-section {
  min-height: 60px;
  max-height: 60px;
}

.dynamic-live-container.layout-state-feed-open .dynamic-feed-section {
  flex: 1;
  min-height: 200px;
}

/* Queue-focused state */
.dynamic-live-container.layout-state-queue-open .dynamic-queue-section {
  flex: 1;
  min-height: 200px;
}

.dynamic-live-container.layout-state-queue-open .dynamic-feed-section {
  min-height: 60px;
  max-height: 60px;
}

/* Header Visual Enhancements */

/* Closed section header dimming */
.section-closed .dynamic-queue-header,
.section-closed .dynamic-feed-header {
  background: rgba(0, 0, 0, 0.8);
}

.section-closed .dynamic-queue-title,
.section-closed .dynamic-feed-title {
  opacity: 0.7;
}

.section-closed .section-stats {
  opacity: 0.5;
}

/* Open section header emphasis */
.section-open .dynamic-queue-header,
.section-open .dynamic-feed-header {
  background: var(--black);
}

.section-open .dynamic-queue-title,
.section-open .dynamic-feed-title {
  opacity: 1;
}

.section-open .section-stats {
  opacity: 1;
}

/* Transition and Animation System */

/* Content transitions */
.dynamic-queue-content,
.dynamic-feed-content {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon transitions */
.layout-control-btn {
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Visual Feedback During Transitions */

/* Disable interactions during transitions */
.dynamic-live-container.transitioning {
  pointer-events: none;
}

.dynamic-live-container.transitioning .dynamic-queue-header,
.dynamic-live-container.transitioning .dynamic-feed-header {
  cursor: wait;
}

/* Transition loading indicator */
.dynamic-live-container.transitioning::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 1s linear infinite;
  z-index: 1000;
  opacity: 0.7;
}

/* Accessibility Enhancements */

/* Focus styles for keyboard navigation */
.dynamic-queue-header:focus,
.dynamic-feed-header:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Make headers focusable for keyboard users */
.dynamic-queue-header,
.dynamic-feed-header {
  tabindex: 0;
}

/* Keyboard activation */
.dynamic-queue-header:focus:active,
.dynamic-feed-header:focus:active {
  background: rgba(255, 255, 255, 0.1);
}

/* Hover effects for entire headers - REMOVED PULSE ANIMATION */
.dynamic-queue-header:hover,
.dynamic-feed-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Stop animation during transitions */
.dynamic-live-container.transitioning .dynamic-queue-header,
.dynamic-live-container.transitioning .dynamic-feed-header {
  background: var(--black);
}

/* Three-Column Layout Components */

/* Left section: Control icons */
.section-controls {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center section: Title */
.section-title-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

/* Right section: Stats */
.section-stats {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: var(--lt-lt-grey);
  font-family: var(--font-body);
  white-space: nowrap;
}

.section-stats span {
  color: var(--white);
  font-weight: 600;
}

/* Title styling */
.dynamic-queue-title,
.dynamic-feed-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

/* ====================================
   26. INTERACTION ENHANCEMENTS
==================================== */

/* Clickable interaction cards */
.clickable-interaction {
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.clickable-interaction:hover {
  background: var(--med-grey);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.clickable-interaction:active {
  transform: translateY(0);
}

/* Add subtle indicator that card is clickable */
.clickable-interaction::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.clickable-interaction:hover::after {
  opacity: 1;
}

/* Modal quick replies section */
.modal-quick-replies {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.quick-reply-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dk-grey);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.quick-reply-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-reply-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}

.quick-reply-btn:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

.quick-reply-btn:active {
  transform: translateY(0);
}

/* Reply context styling */
.reply-context {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  border-left: 3px solid var(--accent-blue);
}

.reply-context strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* Adjust form group spacing when quick replies are present */
.modal-quick-replies + form .form-group:first-child {
  margin-top: 0;
}

/* Custom reply form adjustments */
#customReplyForm .form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Reply indicator styling */
.reply-indicator {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

/* Show indicator with animation */
.clickable-interaction.replied .reply-indicator {
  opacity: 1;
  transform: scale(1);
}

/* Adjust the subtle click indicator since we now have the reply indicator */
.clickable-interaction::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Hide the click indicator when replied */
.clickable-interaction.replied::after {
  display: none;
}

.clickable-interaction:hover::after {
  opacity: 1;
}

/* Ensure reply indicator appears above other content */
.live-event {
  position: relative;
  overflow: visible;
}

/* Add a subtle pulse animation when reply indicator first appears */
@keyframes replyPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.reply-indicator.just-replied {
  animation: replyPulse 0.6s ease-out;
}

/* ====================================
   27. BROADCAST FORM STYLING
==================================== */

/* Broadcast form horizontal layout */
#broadcastForm {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

#broadcastForm .message-input-container {
  position: relative;
  flex-grow: 1;
  flex-shrink: 1;
  margin-right: 0.25rem;
  min-width: 0;
}

#broadcastForm #broadcast-message {
  width: 100%;
  padding: 0.5rem 3rem 0.5rem 0.75rem;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-sizing: border-box;
  resize: none;
  transition: border-color 0.2s;
  background-color: var(--white);
  margin-bottom: 0;
  -webkit-appearance: none;
  -webkit-border-radius: var(--radius);
  min-height: 44px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

#broadcastForm #broadcast-message:focus {
  outline: none;
  border-color: var(--dk-grey);
  box-shadow: 0 0 0 1px var(--med-grey);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

#broadcastForm .char-counter {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  font-size: 0.65rem;
  color: var(--med-grey);
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 3px;
  border-radius: 2px;
  pointer-events: none;
}

#broadcast-submit {
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#broadcast-submit:hover:not(:disabled) {
  background: var(--dk-grey);
}

#broadcast-submit:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

#broadcast-submit .send-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

#broadcast-submit .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====================================
   28. ANIMATIONS & KEYFRAMES
==================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px); 
  }
  to { 
    opacity: 1;
    transform: translateY(0); 
  }
}

@keyframes fadeInHighlight {
  0% {
    opacity: 0;
    background: #e3f2fd;
    transform: translateY(3px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  }
  100% {
    opacity: 1;
    background: var(--white);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.25; }
  100% { opacity: 1; }
}

@keyframes balanceShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ====================================
   29. UTILITY CLASSES
==================================== */
.hidden {
  display: none;
}

.archived-feature {
  display: none;
}

/* iOS fixes */
.modal-open {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.live-interaction-modal input,
.live-interaction-modal textarea {
  font-size: 16px;
  transform: translateZ(0);
}

/* Remove webkit appearance for consistency */
input[type="text"],
input[type="datetime-local"],
input[type="email"],
input[type="password"],
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font: inherit;
  color: var(--text-primary);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  width: 100%;
  margin-bottom: 0rem;
  box-sizing: border-box;
}

select::-ms-expand {
  display: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(150, 150, 150, 0.2);
  border-color: var(--med-grey);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="range"]:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(150, 150, 150, 0.2);
  border-color: #aaa;
}


/* Request status indicators for audience */
.request-status-pending,
.request-status-accepted,
.request-status-rejected {
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.request-status-pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.request-status-accepted {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.request-status-rejected {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ====================================
   EMPTY STATE STYLES
   Add this CSS to your main bart.css file
   ==================================== */

.empty-feed-message {
    transition: opacity 0.3s ease;
    opacity: 1;
}

.empty-feed-message[style*="display: none"] {
    opacity: 0;
}

/* Ensure consistent styling for empty states across both queue and feed */
.queue-empty,
.audience-queue-empty,
.empty-feed-message {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--med-grey, #666);
    font-style: italic;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .queue-empty,
    .audience-queue-empty,
    .empty-feed-message {
        color: var(--med-grey, #999);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .empty-feed-message {
        padding: 1.5rem 0.5rem;
        margin: 0.5rem 0;
    }
    
    .empty-feed-message div {
        padding: 1.5rem 0.5rem !important;
        margin-top: 0.5rem !important;
    }
}

/* Ensure empty message doesn't interfere with live events */
.live-feed-list .empty-feed-message {
    position: relative;
    z-index: 1;
}

.live-feed-list .live-event {
    position: relative;
    z-index: 2;
}

/* Artist-specific empty message styling */
.artist-live-feed-list .empty-feed-message {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Audience-specific empty message styling */
.live-feed-list .empty-feed-message {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
}


/* ====================================
   MOBILE-OPTIMIZED HEADER FILTER BUTTONS
   Add this to bart.css
   ==================================== */

/* Container for filter buttons in header - Mobile optimized */
.header-filter-buttons {
    display: flex;
    gap: 0.2rem;
    align-items: center;
    flex-shrink: 0;
    /* Ensure buttons fit in mobile header */
    max-width: 140px;
}

/* Individual filter button - Mobile-first design */
.header-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem 0.4rem;
    border-radius: 8px;
    border: 1.5px solid;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    /* Mobile touch target minimum */
    min-height: 28px;
    min-width: 36px;
    /* Prevent event bubbling to parent header */
    pointer-events: auto;
    /* Optimize for mobile touch */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Prevent header click when clicking filter buttons */
.header-filter-btn * {
    pointer-events: none;
}

/* Filter button icon - Mobile optimized */
.header-filter-btn .filter-icon {
    width: 11px;
    height: 11px;
    stroke-width: 2.8;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Filter button count - Mobile optimized */
.header-filter-btn .filter-count {
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    transition: all 0.2s ease;
    min-width: 12px;
    text-align: center;
}

/* Message button colors - Mobile optimized */
.header-filter-btn[data-filter="message"] {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.header-filter-btn[data-filter="message"] .filter-icon {
    stroke: var(--accent-blue);
}

.header-filter-btn[data-filter="message"]:active {
    background: rgba(51, 153, 255, 0.15);
    transform: scale(0.98);
}

.header-filter-btn[data-filter="message"].active {
    background: var(--accent-blue);
    color: var(--white);
    border-color: var(--accent-blue);
    box-shadow: 0 2px 4px rgba(51, 153, 255, 0.3);
}

.header-filter-btn[data-filter="message"].active .filter-icon {
    stroke: var(--white);
}

/* Request button colors - Mobile optimized */
.header-filter-btn[data-filter="request"] {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.header-filter-btn[data-filter="request"] .filter-icon {
    stroke: var(--accent-red);
}

.header-filter-btn[data-filter="request"]:active {
    background: rgba(204, 51, 51, 0.15);
    transform: scale(0.98);
}

.header-filter-btn[data-filter="request"].active {
    background: var(--accent-red);
    color: var(--white);
    border-color: var(--accent-red);
    box-shadow: 0 2px 4px rgba(204, 51, 51, 0.3);
}

.header-filter-btn[data-filter="request"].active .filter-icon {
    stroke: var(--white);
}

/* Tip button colors - Mobile optimized */
.header-filter-btn[data-filter="tip"] {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.header-filter-btn[data-filter="tip"] .filter-icon {
    stroke: var(--accent-green);
}

.header-filter-btn[data-filter="tip"]:active {
    background: rgba(102, 204, 102, 0.15);
    transform: scale(0.98);
}

.header-filter-btn[data-filter="tip"].active {
    background: var(--accent-green);
    color: var(--white);
    border-color: var(--accent-green);
    box-shadow: 0 2px 4px rgba(102, 204, 102, 0.3);
}

.header-filter-btn[data-filter="tip"].active .filter-icon {
    stroke: var(--white);
}

/* Ensure header click area excludes filter buttons */
.dynamic-feed-header {
    position: relative;
}

.dynamic-feed-header .section-stats {
    pointer-events: none; /* Allow header clicks to pass through */
}

.dynamic-feed-header .section-stats .header-filter-buttons {
    pointer-events: auto; /* But enable clicks on filter buttons */
}

/* Ultra-small mobile screens (320px) */
@media (max-width: 340px) {
    .header-filter-buttons {
        gap: 0.15rem;
        max-width: 120px;
    }
    
    .header-filter-btn {
        padding: 0.25rem 0.35rem;
        min-width: 32px;
        min-height: 26px;
    }
    
    .header-filter-btn .filter-icon {
        width: 10px;
        height: 10px;
    }
    
    .header-filter-btn .filter-count {
        font-size: 0.6rem;
    }
}

/* Juice interactions should have green border like tips */
.live-event--juice {
  border-left: 4px solid var(--accent-green);
}

/* Alternative if you want to use the same class as tips */
.live-event--juice,
.live-event--tip {
  border-left: 4px solid var(--accent-green);
}


/* Style juice amount in the text */
.live-event--juice .event-content strong {
  color: var(--accent-green);
}

/* Style juice amount in the text */
.live-event--juice .event-content strong {
  color: var(--accent-green);
}

/* ====================================
   USERNAME COLORING BY INTERACTION TYPE
   ==================================== */

/* Color usernames based on interaction type */
.live-event--tip .event-content strong,
.live-event--juice .event-content strong {
  color: var(--accent-green);
}

.live-event--message .event-content strong {
  color: var(--accent-blue);
}

.live-event--request .event-content strong {
  color: var(--accent-red);
}

.live-event--drink .event-content strong {
  color: var(--accent-orange);
}

/* Ensure artist responses maintain white color */
.live-event--response .event-content strong,
.artist-response-content strong {
  color: var(--white) !important;
}

/* ====================================
   ENHANCED INTERACTION MODAL SYSTEM - MOBILE-ONLY OPTIMIZED
   Add this section to the bottom of bart.css
   ==================================== */

/* Mobile Modal Constraints */
.live-interaction-modal .live-modal-content {
  max-height: 85vh;
  height: auto;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Song Request Modal - Mobile Optimized */
.song-request-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 70vh;
  min-height: 300px;
}

/* Modal Loading States */
.songs-loading {
  text-align: center;
  padding: 1rem;
  color: var(--text-secondary);
}

.songs-loading .spinner-container {
  margin-bottom: 0.5rem;
}

.songs-loading .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--black);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

/* Request Limit Status - Compact for Mobile */
.request-limit-status {
  margin: 0 0 0.75rem 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.request-status-good {
  background: var(--success);
  color: var(--white);
}

.request-status-limit {
  background: var(--warning);
  color: var(--white);
}

.request-status-blocked {
  background: var(--error);
  color: var(--white);
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.status-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Limit Reached Content - Mobile Compact */
.limit-reached-content h4 {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: inherit;
  font-family: var(--font-heading);
  font-weight: 600;
}

.limit-reached-content p {
  margin: 0.15rem 0;
  font-size: 0.75rem;
  line-height: 1.3;
}

/* Section Titles - Mobile Optimized */
.songs-section-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

/* Artist Songs Section - Scrollable Container */
.artist-songs-section {
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.artist-songs-list {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

/* Song Items - Touch Optimized */
.song-item {
  padding: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.song-item:last-child {
  border-bottom: none;
}

.song-item:active {
  background: #e9ecef;
}

.song-item.selected {
  background: var(--black);
  color: var(--white);
}

.song-item-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f8f8f8 !important;
}

.song-item-disabled .song-title,
.song-item-disabled .song-artist {
  color: #999 !important;
}

/* Song Item Content */
.song-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: inherit;
  line-height: 1.2;
}

.song-artist {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

.song-item.selected .song-artist {
  color: #ccc;
}

.song-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 0.25rem;
  width: fit-content;
}

.song-badge.original {
  background: var(--success);
  color: var(--white);
}

.song-badge.cover {
  background: var(--dk-grey);
  color: var(--white);
}

.song-item.selected .song-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ccc;
}

/* Already Requested Indicator */
.song-already-requested {
  font-size: 0.7rem;
  color: var(--error);
  font-weight: 500;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Dynamic Submit Button Container */
.dynamic-submit-container {
  margin-top: 1rem;
  flex-shrink: 0;
}

.dynamic-submit-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-height: 44px;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
}

.dynamic-submit-btn.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dynamic-submit-btn:active:not(:disabled) {
  background: var(--dk-grey);
  transform: translateY(1px);
}

.dynamic-submit-btn:disabled {
  background: var(--border);
  color: var(--text-secondary);
  cursor: not-allowed;
  transform: none;
}

/* Request Divider */
.request-divider {
  display: flex;
  align-items: center;
  margin: 0.75rem 0;
  gap: 0.75rem;
  flex-shrink: 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

/* Custom Request Section */
.custom-request-section {
  flex-shrink: 0;
}

.song-request-block {
  margin: 0;
}

/* Mobile Scrollbar Styling */
.artist-songs-list::-webkit-scrollbar {
  width: 4px;
}

.artist-songs-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.artist-songs-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.artist-songs-list::-webkit-scrollbar-thumb:active {
  background: var(--dk-grey);
}

/* No Songs Message */
.no-songs-message {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.9rem;
}

/* JUICE MODAL STYLES - NO EMOJIS */
.juice-song-modal .live-modal-content {
  max-width: 390px;
}

.juice-song-info {
  background: var(--lt-lt-grey);
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: center;
}

.juice-song-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.juice-song-artist {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.juice-current-position {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.juice-current-total {
  color: var(--success);
  font-weight: 600;
}

/* Juice Form */
.juice-tip-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.juice-quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.juice-quick-btn {
  padding: 0.6rem 0.4rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  min-height: 44px;
}

.juice-quick-btn:active,
.juice-quick-btn.selected {
  border-color: var(--success);
  background: var(--success);
  color: var(--white);
}

/* Juice Custom Amount */
.juice-custom-amount {
  position: relative;
}

.juice-custom-amount .currency-symbol {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--text-secondary);
  z-index: 1;
}

.juice-custom-amount input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s ease;
  background: var(--white);
  min-height: 44px;
}

.juice-custom-amount input:focus {
  outline: none;
  border-color: var(--success);
  box-shadow: 0 0 0 1px var(--success);
}

/* Juice Message Input */
.juice-message-input {
  position: relative;
}

.juice-message-input input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  background: var(--white);
  min-height: 44px;
}

.juice-message-input input:focus {
  outline: none;
  border-color: var(--success);
  box-shadow: 0 0 0 1px var(--success);
}

.juice-message-input .char-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 3px;
  border-radius: 2px;
  pointer-events: none;
}

/* Juice Actions */
.juice-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.juice-submit-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--success);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-height: 44px;
}

.juice-submit-btn:active:not(:disabled) {
  background: #4caf50;
  transform: translateY(1px);
}

.juice-submit-btn:disabled {
  background: var(--border);
  color: var(--text-secondary);
  cursor: not-allowed;
  transform: none;
}

/* Pending Requests List - Mobile Optimized */
.pending-requests-list {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.pending-requests-list h5 {
  font-size: 0.8rem;
  margin: 0 0 0.4rem 0;
  color: inherit;
  font-weight: 600;
  font-family: var(--font-heading);
}

.pending-requests-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pending-requests-list li {
  padding: 0.15rem 0;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.time-ago {
  font-size: 0.7rem;
  opacity: 0.7;
  font-style: italic;
}

/* ====================================
   Reminders TIMING INPUT FIELDS - MOBILE OPTIMIZED
   Add this section to bart.css
   ==================================== */

/* Timing input row container */
.timing-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Ultra-compact number input for 2-digit values */
.timing-number-input {
  width: 40px !important; /* Much smaller - just fits 2 digits */
  min-width: 40px;
  max-width: 40px;
  padding: 0.3rem 0.2rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  text-align: center !important;
  background: var(--white) !important;
  margin-bottom: 0 !important;
  height: 28px !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  
  /* Remove spinner arrows on mobile for cleaner look */
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}

/* Remove number input spinners completely */
.timing-number-input::-webkit-outer-spin-button,
.timing-number-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.timing-number-input::-moz-inner-spin-button,
.timing-number-input::-moz-outer-spin-button {
  -moz-appearance: none;
  margin: 0;
}

/* Focus state for timing inputs */
.timing-number-input:focus {
  border-color: var(--dk-grey) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) !important;
  background: #fafafa !important;
}

/* Timing label next to input */
.timing-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
  line-height: 1.2;
  flex: 1;
}

/* Label hint styling within timing labels */
.timing-label .label-hint {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--dk-grey);
}

/* Ensure timing inputs work well on very small screens */
@media (max-width: 340px) {
  .timing-number-input {
    width: 35px !important;
    min-width: 35px;
    max-width: 35px;
    font-size: 0.85rem !important;
    padding: 0.25rem 0.15rem !important;
  }
  
  .timing-input-row {
    gap: 0.4rem;
  }
  
  .timing-label {
    font-size: 0.9rem;
  }
}

/* ===== TENTATIVE GIG STYLES ===== */

/* Gig status badges */
.gig-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 8px;
}

.gig-status-badge.tentative {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.gig-status-badge.definite {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Tentative gig card styling */
.tentative-gig-card {
    border-left: 4px solid #ffd700;
    background: #fefefe;
}

/* Confirm gig button */
.confirm-gig-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    transition: background-color 0.2s ease;
}

.confirm-gig-btn:hover {
    background: #218838;
}

/* Section description text */
.section-description {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 1rem;
    font-style: italic;
}

/* ===== AVAILABILITY RESPONSE STYLES ===== */

.availability-responses {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--lt-lt-grey);
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.availability-responses strong {
    display: block;
    text-align: center;
    margin-bottom: 8px;
}

.response-grid {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.response-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.response-item.available {
    background: #d4edda;
    border-color: #c3e6cb;
}

.response-item.unavailable {
    background: #f8d7da;
    border-color: #f5c6cb;
}

.response-item.no-response {
    background: #fff3cd;
    border-color: #ffeaa7;
}

.member-name {
    font-weight: 500;
    color: #212529;
}

.response-status {
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.no-responses {
    color: #6c757d;
    font-style: italic;
    margin: 0;
    text-align: center;
    padding: 1rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .gig-status-badge {
        font-size: 10px;
        padding: 1px 6px;
        margin-left: 4px;
    }
    
    .confirm-gig-btn {
        font-size: 11px;
        padding: 4px 8px;
        margin-left: 4px;
        margin-top: 4px;
    }
    
    .response-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .response-status {
        align-self: flex-end;
    }
}

/* ====================================
   ARTIST SONGS PAGE STYLES
   ==================================== */

/* Song Stats Container */
.song-stats-container {
    text-align: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f9f9f9;
    border-radius: 12px;
}

.song-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    font-size: 0.85rem;
}

/* Clickable Song Stats */
.song-stat-filter {
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.song-stat-filter:hover {
    background: #f0f0f0;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    color: #333;
}

.stat-number-secondary {
    color: #666;
}

.stat-label {
    color: #666;
}

/* Active filter states */
.filter-active-covers {
    background: #e3f2fd !important;
}

.filter-active-originals {
    background: #e8f5e8 !important;
}

/* Song Search */
.song-search-container {
    margin-bottom: 1rem;
    position: relative;
}

.song-search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 3rem;
    border: 1px solid #ddd;
    border-radius: 18px;
    font-size: 0.95rem;
    background: white;
    box-sizing: border-box;
}

.song-search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #999;
    pointer-events: none;
}

/* Song Card Content */
.song-card-content {
    flex: 1;
}

.song-card-title {
    margin-bottom: 0.25rem;
}

.song-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--med-grey)
}

.song-type-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Delete Song Form */
.delete-song-form {
    margin-top: 0.75rem;
}

/* Add Song Section */
.add-song-section {
    margin-bottom: 1.5rem;
}

/* Empty State */
.empty-state-subtext {
    font-size: 0.9rem;
    color: #666;
}

/* ====================================
   GIG ACTION BUTTONS - MOBILE-FIRST DESIGN
   Add this section to bart.css
   ==================================== */

/* Action buttons container - replaces old calendar-btn-container */
.gig-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
}

/* Base gig action button styling */
.gig-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    min-height: 44px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

.gig-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gig-action-btn:active {
    transform: translateY(0);
}

.gig-action-btn svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Calendar button - neutral styling */
.calendar-btn {
    background: var(--med-grey);
    color: var(--white);
    border: none;
}

.calendar-btn:hover {
    background: #e5e5e5;
    color: var(--text-primary);
}

/* Free show badge */
.ticket-btn-free {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
    cursor: default;
}

.ticket-btn-free:hover {
    transform: none;
    box-shadow: none;
}

/* External ticket button */
.ticket-btn-external {
    background: var(--dk-grey);
    color: var(--white);
    border: none;
}

.ticket-btn-external:hover {
    background: #2980b9;
    border-color: #2980b9;
}

/* BART ticket button */
.ticket-btn-bart {
    background: var(--dk-grey);
    color: var(--white);
    border: none;
}

.ticket-btn-bart:hover {
    background: var(--dk-grey);
    border-color: var(--dk-grey);
}

/* Unavailable/sold out buttons */
.ticket-btn-unavailable,
.ticket-btn-sold-out {
    background: #f8f8f8;
    color: var(--med-grey);
    border: 1px solid #ddd;
    cursor: not-allowed;
    opacity: 0.7;
}

.ticket-btn-unavailable:hover,
.ticket-btn-sold-out:hover {
    transform: none;
    box-shadow: none;
    background: #f8f8f8;
}

/* Sold out specific styling */
.ticket-btn-sold-out {
    background: #ffe5e5;
    color: var(--accent-red);
    border-color: var(--accent-red);
}

    .show-status-badge {
        display: inline-block;
        padding: 0.25rem 0.5rem;
        border-radius: 0.375rem;
        font-size: 0.75rem;
        font-weight: 500;
        margin-left: 0.5rem;
    }
    
    .show-status-live {
        background: var(--accent-red);
        color: white;
    }
    
    .show-status-soon {
        background: var(--accent-red);
        color: white;
    }
    
    .show-status-today {
        background: var(--accent-red);
        color: white;
    }
    
    .show-status-upcoming {
        background: var(--accent-red);
        color: white;
    }
    
    .show-status-ended {
        background: var(--accent-red);
        color: white;
    }
    
    .show-status-wrapping-up {
        background: var(--accent-red);
        color: white;
    }

/* Mobile optimization for very small screens */
@media (max-width: 340px) {
    .gig-action-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .gig-action-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Large mobile screens - side by side buttons */
@media (min-width: 400px) {
    .gig-action-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .gig-action-btn {
        flex: 1;
        min-width: 0;
    }
}

/* ====================================
   TICKET PURCHASE MODAL STYLES
   ==================================== */

.ticket-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    box-sizing: border-box;
}

.ticket-modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ticket-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.ticket-modal-close:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.ticket-modal-close svg {
    width: 16px;
    height: 16px;
    color: #666;
}

.ticket-gig-info {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.ticket-gig-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.ticket-gig-venue {
    color: var(--dk-grey);
    margin-bottom: 0.25rem;
}

.ticket-gig-date {
    color: var(--med-grey);
    font-size: 0.9rem;
}

.ticket-types-list {
    margin-bottom: 1.5rem;
}

.ticket-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
}

.ticket-type-item:hover {
    border-color: var(--black);
    background: #f8f8f8;
}

.ticket-type-item.selected {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.ticket-type-item.sold-out {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f5f5f5;
}

.ticket-type-item.sold-out:hover {
    border-color: #e5e5e5;
    background: #f5f5f5;
}

.ticket-type-info {
    flex: 1;
}

.ticket-type-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.ticket-type-availability {
    font-size: 0.8rem;
    opacity: 0.8;
}

.ticket-type-item.selected .ticket-type-availability {
    color: #ccc;
}

.ticket-type-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ticket-type-item.selected .ticket-type-price {
    color: var(--white);
}

.ticket-quantity-section {
    margin-bottom: 1.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quantity-btn:hover:not(:disabled) {
    background: var(--black);
    color: var(--white);
}

.quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.quantity-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 3rem;
    text-align: center;
}

.ticket-summary {
    background: var(--lt-lt-grey);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.summary-row:last-child {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    font-weight: 600;
}

.summary-label {
    color: var(--dk-grey);
}

.summary-value {
    font-weight: 600;
    color: var(--text-primary);
}

.ticket-purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-height: 44px;
    margin-bottom: 0.5rem;
}

.purchase-btn:hover:not(:disabled) {
    background: var(--dk-grey);
    transform: translateY(-1px);
}

.purchase-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ====================================
   HORIZONTAL BAND MEMBER CARDS
   ==================================== */

/* Band members carousel container */
.band-members-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.band-members-carousel::-webkit-scrollbar {
    display: none;
}

/* Individual band member card */
.band-member-card {
    position: relative;
    width: 140px;
    height: 180px;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.band-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Member photo fills entire card */
.band-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for members without photos */
.band-member-photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--med-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.7;
}

/* Name overlay at bottom of card */
.band-member-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem 0.75rem 0.75rem;
    color: var(--white);
}

.band-member-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.substitute-indicator {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Add space only to the first item in each carousel */
.gallery-carousel .gallery-thumb-card:first-child,
.band-members-carousel .band-member-card:first-child,
.merch-carousel .merch-card:first-child {
  margin-left: 1rem;
}

/* Responsive adjustments */
@media (max-width: 340px) {
    .band-member-card {
        width: 120px;
        height: 160px;
    }
    
    .band-members-carousel {
        gap: 0.75rem;
    }
}

/* Smart sizing based on member count */
.band-members-carousel[data-member-count="1"] .band-member-card,
.band-members-carousel[data-member-count="2"] .band-member-card {
    width: calc(50% - 0.5rem);
    max-width: 180px;
}

/* ====================================
   BAND MEMBER MODAL STYLES
   ==================================== */

.band-member-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.band-member-modal-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 1rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.band-member-modal-photo-placeholder {
    width: 120px;
    height: 120px;
    background: var(--med-grey);
    border-radius: 8px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.band-member-modal-photo-placeholder .placeholder-icon {
    font-size: 2.5rem;
    color: var(--white);
    opacity: 0.7;
}

.band-member-modal-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-family: var(--font-heading);
}

.substitute-badge-modal {
    display: inline-block;
    background: var(--warning);
    color: var(--white);
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.band-member-modal-section {
    margin-bottom: 1.5rem;
    text-align: left;
}

.band-member-modal-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.band-member-modal-section p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
}

/* ====================================
   HORIZONTAL GALLERY CAROUSEL  
   ==================================== */

/* Gallery carousel container */
.gallery-carousel {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-carousel::-webkit-scrollbar {
    display: none;
}

/* Individual gallery thumbnail card */
.gallery-thumb-card {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.gallery-thumb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Gallery thumbnail image fills card */
.gallery-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 340px) {
    .gallery-thumb-card {
        width: 85px;
        height: 85px;
    }
    
    .gallery-carousel {
        gap: 0.5rem;
    }
}

/* Smart sizing based on image count */
.gallery-carousel[data-image-count="1"] .gallery-thumb-card {
    width: 120px;
    height: 120px;
}

.gallery-carousel[data-image-count="2"] .gallery-thumb-card {
    width: calc(50% - 0.375rem);
    height: 120px;
    max-width: 150px;
}

/* ====================================
   GALLERY MODAL STYLES
   ==================================== */

/* Adjust modal content for gallery images */
.gallery-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.gallery-modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

#galleryModalImg {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile adjustments for gallery modal */
@media (max-width: 768px) {
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 85vh;
        padding: 0.5rem;
    }
    
    #galleryModalImg {
        max-height: 60vh;
    }
}

/* ====================================
   HORIZONTAL MERCH CAROUSEL  
   ==================================== */

/* Merch carousel container */
.merch-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.merch-carousel::-webkit-scrollbar {
    display: none;
}

/* Individual merch card */
.merch-card {
    width: 175px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--dk-grey);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.merch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Merch image container */
.merch-image-container {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.merch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Merch card info section */
.merch-card-info {
    padding: 0.75rem;
    text-align: center;
}

.merch-card-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-card-price {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.merch-availability-badge {
    font-size: 0.7rem;
    background: var(--accent-red);
    color: var(--white);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}


/* Smart sizing based on merch count */
.merch-carousel[data-merch-count="1"] .merch-card {
    width: calc(100% - 1rem);
    max-width: 200px;
}

.merch-carousel[data-merch-count="2"] .merch-card {
    width: calc(50% - 0.5rem);
    max-width: 180px;
}

/* ====================================
   ARTIST PAGE LAYOUT SYSTEM
==================================== */

/* Artist Page Container */
.artist-page-container {
  padding-bottom: 3rem;
  max-width: none;
  margin: 0;
  background: var(--med-grey);
}

/* Layout System */
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.contained-section {
  max-width: 768px;
  margin: 1rem auto;
  padding: 0 1rem;
  background: var(--med-grey);
  position: relative;
  text-align: center;
}

/* Sticky Live Indicator */
.sticky-live-indicator {
  position: sticky;
  top: var(--nav-height, 44px);
  background: var(--accent-red);
  color: var(--white);
  padding: 0.75rem;
  text-align: center;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.live-indicator-button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: 100%;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s ease;
}

.live-indicator-button:hover {
  opacity: 0.9;
}

/* Shared Section Titles */
.artist-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dk-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  margin: 2rem 0 0 1rem;
}

/* Full-width carousel containers */
.full-width-carousel {
  padding: 0;
  margin: 1rem 0;
}

/* Ensure carousels work in full-width context */
.full-width-section .gallery-carousel,
.full-width-section .band-members-carousel,
.full-width-section .merch-carousel {
  margin: 0;
}

/* Profile banner adjustments for full-width */
.full-width-section .profile-banner {
  margin: 0;
  border-radius: 0;
}

/* Override audience page container for artist pages */
body.audience-page .artist-page-container {
  max-width: none;
  margin: 0;
  padding-bottom: 3rem;
  background: var(--med-grey);
  border-radius: 0;
}