/* Vendor & Session Booking Portal Stylesheet */
/* AI Cyber Summit 2026 | Tech Titan */

.booking-hero {
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.15), transparent 40%),
              linear-gradient(180deg, #0b132b 0%, #1c2541 100%);
  color: #fff;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  position: relative;
}

.booking-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: #00f2fe;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.booking-hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.booking-hero-title span {
  color: #00f2fe;
  background: linear-gradient(90deg, #00f2fe, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.booking-hero-subtitle {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* Day Filter Selector Bar */
.day-selector-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 1.5rem;
}

.day-filter-btn {
  background: #111c38;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.day-filter-btn span.day-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
}

.day-filter-btn span.day-slots-hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

.day-filter-btn:hover {
  border-color: #00f2fe;
  color: #fff;
  transform: translateY(-2px);
}

.day-filter-btn.active {
  background: linear-gradient(135deg, #0066ff 0%, #00f2fe 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.day-filter-btn.active span.day-slots-hint {
  color: rgba(255, 255, 255, 0.9);
}

/* Vendor Grid Layout */
.vendor-grid-section {
  padding: 4rem 1.5rem;
  background-color: #080e21;
  min-height: 60vh;
}

.vendor-grid-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

/* Vendor Card Component */
.vendor-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vendor-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.12);
  transform: translateY(-4px);
}

.vendor-card.card-full {
  opacity: 0.85;
  border-color: rgba(239, 68, 68, 0.3);
}

.vendor-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.vendor-logo-wrapper {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 10px;
  padding: 10px 18px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vendor-card-logo {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Slot Badges */
.slot-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-available {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-full {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Vendor Content */
.vendor-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 4px;
}

.vendor-category {
  font-size: 0.82rem;
  color: #00f2fe;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vendor-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vendor-session-preview {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid #0066ff;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.session-preview-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.slots-preview-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slot-preview-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.slot-preview-item.slot-available {
  border-left: 2px solid #10b981;
}

.slot-preview-item.slot-taken {
  border-left: 2px solid #ef4444;
  opacity: 0.6;
}

.slot-time {
  color: #f8fafc;
  font-weight: 600;
}

.slot-status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.slot-available .slot-status-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.slot-taken .slot-status-pill {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.vendor-speaker-preview {
  font-size: 0.83rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.vendor-speaker-preview .speaker-label {
  color: #64748b;
  font-weight: 600;
}

/* Card Button */
.btn-book-vendor {
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-book-vendor:hover {
  background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
  transform: translateY(-1px);
}

.btn-book-vendor.btn-full {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: none;
}

.btn-book-vendor.btn-full:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: none;
}

/* Modal Windows & Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 8, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0f172a;
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  padding: 32px;
  position: relative;
  transform: scale(0.95);
  transition: all 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.modal-header-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 4px;
}

.modal-header-sub {
  font-size: 0.85rem;
  color: #00f2fe;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.92rem;
  transition: border-color 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: #00f2fe;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.radio-group-days {
  display: flex;
  gap: 16px;
}

.radio-day-option {
  flex: 1;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
}

.radio-day-option input {
  accent-color: #0066ff;
}

.modal-footer-btns {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Session Full Warning Dialog Specifics */
.modal-warning-card {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.25);
  text-align: center;
}

.warning-icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid rgba(239, 68, 68, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
}

.warning-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  color: #ef4444;
  margin-bottom: 12px;
}

.warning-message {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-warning-ok {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* Success Toast */
.success-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0f172a;
  border: 1px solid #10b981;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 16px 24px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.success-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .vendor-grid-container {
    grid-template-columns: 1fr;
  }
  .day-selector-wrapper {
    flex-direction: column;
  }
}
