/* ===================================================================
   Venue Section - Final styling with header-style toggle
   =================================================================== */

/* Venue Section - Clean minimal container */
.venue-section {
  margin: 1.5rem 0 0 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  overflow: visible;
  position: relative;
  box-shadow: none;
  outline: none;
}

/* Remove any pseudo-elements */
.venue-section::before,
.venue-section::after {
  display: none;
}

/* Collapsible toggle button - larger header style */
.venue-section__toggle {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  position: relative;
  outline: none;
}

.venue-section__toggle:hover {
  color: rgba(255,255,255,0.8);
}

.venue-section__toggle:focus {
  outline: none;
}

.venue-section__toggle-icon {
  font-size: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  color: rgba(255,255,255,0.6);
}

.venue-section.collapsed .venue-section__toggle-icon {
  transform: rotate(-90deg);
}

.venue-section__toggle-text {
  color: #ffffff;
  font-size: 16px;
}

/* Summary View - shown when collapsed */
.venue-section__summary {
  padding: 1rem 0;
  display: none;
}

.venue-summary-line {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.venue-summary-times {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

/* Expanded Content View */
.venue-section__content {
  padding: 1rem 0 0 0;
  display: block;
  position: relative;
}

.venue-section.collapsed .venue-section__content {
  display: none;
}

/* Venue Row Layouts */
.venue-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.venue-row--compact {
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 12px;
}

.venue-row--times {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 600px;
}

/* Venue Field Styling */
.venue-field {
  position: relative;
}

.venue-field--address {
  grid-column: span 2;
}

.venue-field--state {
  max-width: 120px;
}

.venue-field--time {
  max-width: 150px;
}

/* Fix time inputs - ensure they use glass background not white */
.venue-field--time input[type="time"] {
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: all 0.2s ease !important;
}

.venue-field--time input[type="time"]:hover {
  border-color: rgba(255,255,255,0.3) !important;
  background: rgba(255,255,255,0.1) !important;
}

.venue-field--time input[type="time"]:focus {
  border-color: rgba(255,255,255,0.4) !important;
  background: rgba(255,255,255,0.12) !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1) !important;
}

/* Make sure time picker dropdown icons are white */
.venue-field--time input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* Venue Address Textarea */
.venue-address-textarea {
  width: 100%;
  min-height: 70px;
  padding: 12px 44px 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.4;
  resize: vertical;
  transition: all 0.2s ease;
}

.venue-address-textarea:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
}

.venue-address-textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.venue-address-textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

/* Map Button */
.venue-address-map-btn {
  position: absolute;
  right: 10px;
  top: 36px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  outline: none;
}

.venue-address-map-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.venue-address-map-btn:focus {
  outline: none;
}

.venue-address-map-btn svg {
  width: 16px;
  height: 16px;
}

/* Support Bands Section */
.support-bands-section {
  margin-top: 20px;
}

.support-band-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-band-item:hover {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
  transform: translateY(-2px);
}

.support-band-item .field {
  margin: 0;
}

.support-band-remove {
  background: var(--x-bg);
  color: var(--x-color);
  border: 1px solid rgba(255,255,255,0.15);
  width: var(--x-size);
  height: var(--x-size);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: var(--x-font-size);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.support-band-remove:hover {
  background: var(--x-bg-hover);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .venue-row {
    grid-template-columns: 1fr;
  }

  .venue-row--compact {
    grid-template-columns: 1fr;
  }

  .venue-row--times {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .venue-field--address {
    grid-column: span 1;
  }

  .venue-field--state,
  .venue-field--time {
    max-width: none;
  }
}


/* Show summary when collapsed */
.venue-section.collapsed .venue-section__summary {
  display: block !important;
}
