/* OrbitAvanya Meetings Module CSS */

.meeting-wizard-card {
  background: var(--bg-white, #ffffff);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--line, #e2e8f0);
  padding: 40px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

[data-theme="dark"] .meeting-wizard-card {
  background: #1b263b;
  border-color: #2e3d56;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Step Progress Indicator */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
  padding: 0 10px;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

[data-theme="dark"] .wizard-steps::before {
  background: #2e3d56;
}

.wizard-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.wizard-step__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
}

[data-theme="dark"] .wizard-step__icon {
  background: #1b263b;
  border-color: #2e3d56;
  color: #b0c2d4;
}

.wizard-step__label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}

[data-theme="dark"] .wizard-step__label {
  color: #b0c2d4;
}

/* Step States */
.wizard-step.active .wizard-step__icon {
  border-color: #ef4444;
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.wizard-step.active .wizard-step__label {
  color: #ef4444;
}

.wizard-step.completed .wizard-step__icon {
  border-color: #10b981;
  background: #10b981;
  color: #ffffff;
}

.wizard-step.completed .wizard-step__label {
  color: #10b981;
}

/* Wizard Form Steps */
.wizard-form-step {
  display: none;
}

.wizard-form-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-form-step__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text, #1e293b);
  margin-bottom: 25px;
  border-left: 4px solid #ef4444;
  padding-left: 12px;
}

/* Form Styling overrides */
.single-personal-info select {
  width: 100%;
  height: 50px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 8px;
  padding: 0 15px;
  color: #1e293b;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

[data-theme="dark"] .single-personal-info select {
  background: #2e3d56;
  border-color: #3e506d;
  color: #ffffff;
}

.single-personal-info select:focus {
  border-color: #ef4444;
}

/* Grid meeting types */
.meeting-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.meeting-type-card {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
}

[data-theme="dark"] .meeting-type-card {
  border-color: #2e3d56;
  background: #202b40;
}

.meeting-type-card:hover {
  border-color: #ef4444;
  transform: translateY(-3px);
}

.meeting-type-card.selected {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
}

.meeting-type-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.meeting-type-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #1e293b);
  margin-bottom: 6px;
}

.meeting-type-card__duration {
  font-size: 13px;
  color: #ef4444;
  font-weight: 600;
  margin-bottom: 10px;
}

.meeting-type-card__desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

[data-theme="dark"] .meeting-type-card__desc {
  color: #b0c2d4;
}

/* Scheduler Calendar */
.scheduler-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

@media(max-width: 991px) {
  .scheduler-wrap {
    grid-template-columns: 1fr;
  }
}

.booking-calendar-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  background: #ffffff;
}

[data-theme="dark"] .booking-calendar-card {
  border-color: #2e3d56;
  background: #202b40;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-month-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #1e293b);
}

.calendar-nav-btn {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text, #1e293b);
  transition: all 0.2s;
}

[data-theme="dark"] .calendar-nav-btn {
  border-color: #3e506d;
}

.calendar-nav-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.calendar-weekday {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  padding-bottom: 8px;
}

.calendar-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text, #1e293b);
  transition: all 0.2s;
}

.calendar-day-cell:hover:not(.disabled):not(.empty) {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.calendar-day-cell.selected {
  background: #ef4444 !important;
  color: #ffffff !important;
  font-weight: 700;
}

.calendar-day-cell.today {
  border: 1.5px solid #ef4444;
  font-weight: 700;
}

.calendar-day-cell.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

[data-theme="dark"] .calendar-day-cell.disabled {
  color: #475569;
}

.calendar-day-cell.empty {
  cursor: default;
}

/* Time slots selection */
.booking-slots-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  background: #ffffff;
}

[data-theme="dark"] .booking-slots-card {
  border-color: #2e3d56;
  background: #202b40;
}

.booking-slots-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text, #1e293b);
}

.slots-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 5px;
}

.slot-item-btn {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 5px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

[data-theme="dark"] .slot-item-btn {
  border-color: #3e506d;
  background: #202b40;
  color: #b0c2d4;
}

.slot-item-btn:hover:not(.disabled) {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.slot-item-btn.selected {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

.slot-item-btn.disabled {
  background: #f1f5f9;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

[data-theme="dark"] .slot-item-btn.disabled {
  background: #1b263b;
  color: #475569;
  border-color: #2e3d56;
}

.slots-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 10px;
  color: #64748b;
  font-size: 13px;
}

/* File Upload dragzone */
.dragzone-container {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.3s;
}

[data-theme="dark"] .dragzone-container {
  border-color: #3e506d;
  background: rgba(255, 255, 255, 0.02);
}

.dragzone-container:hover,
.dragzone-container.drag-over {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.02);
}

.dragzone-icon {
  font-size: 36px;
  color: #ef4444;
  margin-bottom: 12px;
}

.dragzone-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1e293b);
  margin-bottom: 6px;
}

.dragzone-hint {
  font-size: 12px;
  color: #64748b;
}

.upload-file-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upload-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

[data-theme="dark"] .upload-file-item {
  background: #2e3d56;
  color: #ffffff;
}

.upload-file-item__remove {
  color: #ef4444;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 15px;
}

/* Summary Review Card */
.summary-review-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.summary-review-group {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 15px;
}

[data-theme="dark"] .summary-review-group {
  border-color: #2e3d56;
}

.summary-review-group:last-child {
  border: none;
}

.summary-review-group__title {
  font-size: 14px;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 10px;
}

.summary-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media(max-width: 575px) {
  .summary-review-grid {
    grid-template-columns: 1fr;
  }
}

.summary-review-item {
  font-size: 13px;
  color: var(--text, #1e293b);
}

.summary-review-item span {
  font-weight: 700;
  color: #64748b;
  display: inline-block;
  min-width: 120px;
}

[data-theme="dark"] .summary-review-item span {
  color: #b0c2d4;
}

/* Wizard actions footer */
.wizard-actions-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

[data-theme="dark"] .wizard-actions-footer {
  border-color: #2e3d56;
}

/* Thank you page styles */
.booking-success-block {
  text-align: center;
  padding: 40px 20px;
}

.booking-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.booking-success-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

[data-theme="dark"] .booking-success-title {
  color: #ffffff;
}

.booking-success-badge-id {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}

/* ── Custom Searchable Dropdown Styling ── */
.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  height: 50px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 8px;
  padding: 0 15px;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

[data-theme="dark"] .custom-select-trigger {
  background: #2e3d56;
  border-color: #3e506d;
  color: #ffffff;
}

.custom-select-trigger:focus,
.custom-select-container.open .custom-select-trigger {
  border-color: #ef4444;
}

.custom-select-trigger-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-dropdown {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 999;
  display: none;
  flex-direction: column;
  max-height: 300px;
  overflow: hidden;
}

[data-theme="dark"] .custom-select-dropdown {
  background: #1b263b;
  border-color: #2e3d56;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.custom-select-container.open .custom-select-dropdown {
  display: flex;
}

.custom-select-search-wrapper {
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .custom-select-search-wrapper {
  border-bottom-color: #2e3d56;
}

.custom-select-search {
  width: 100%;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0 10px;
  outline: none;
  font-size: 14px;
  background: #ffffff;
  color: #1e293b;
}

[data-theme="dark"] .custom-select-search {
  background: #202b40;
  border-color: #2e3d56;
  color: #ffffff;
}

.custom-select-search:focus {
  border-color: #ef4444;
}

.custom-select-options {
  overflow-y: auto;
  max-height: 200px;
  padding: 5px 0;
}

.custom-select-option {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  color: #475569;
  transition: all 0.2s ease;
}

[data-theme="dark"] .custom-select-option {
  color: #b0c2d4;
}

.custom-select-option:hover,
.custom-select-option.highlighted {
  background: #f1f5f9;
  color: #ef4444;
}

[data-theme="dark"] .custom-select-option:hover,
[data-theme="dark"] .custom-select-option.highlighted {
  background: #2e3d56;
  color: #ffffff;
}

.custom-select-option.selected {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-weight: 600;
}

.custom-select-no-results {
  padding: 15px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.custom-select-container.disabled .custom-select-trigger {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  cursor: not-allowed;
  border-color: #e2e8f0 !important;
}

[data-theme="dark"] .custom-select-container.disabled .custom-select-trigger {
  background: #151d2a !important;
  color: #475569 !important;
  border-color: #2e3d56 !important;
}
