/* Compact wizard layout styles */

/* Compact header with combined back button, title, and steps */
.compact-wizard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 8px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Make the wizard steps more compact */
.compact-wizard-header .wizard-steps {
  margin: 0;
  padding: 4px 8px;
  flex-grow: 1;
  justify-content: flex-start;
}

.compact-wizard-header h1 {
  font-size: 16px;
  margin: 0;
  white-space: nowrap;
}

.compact-wizard-header .btn-back {
  width: 30px;
  height: 30px;
}

/* Compact step headers */
.compact-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d1d5db;
  background-color: #ffffff;
  border-radius: 4px 4px 0 0;
  padding: 8px 10px;
}

.step-title-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.step-title-group h2 {
  font-size: 16px;
  margin: 0;
  white-space: nowrap;
  color: #000000;
  font-weight: 700;
}

.step-title-group .step-description {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
}

/* Compact form layout */
.compact-form-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.provider-compact {
  width: 30%;
  flex-shrink: 0;
}

.campaign-name-compact {
  flex-grow: 1;
}

/* Audience type selector in header */
.audience-type-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.selector-label {
  font-weight: 600;
  color: #374151;
  font-size: 13px;
  white-space: nowrap;
}

/* Make audience buttons more compact */
.audience-type-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.audience-btn {
  padding: 5px 10px;
  border-width: 1px;
}

.form-group.no-margin {
  margin-bottom: 0;
}

/* Additional styles for the audience preview section */
.contacts-preview-list {
  display: grid;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}

.audience-preview.expanded .contacts-preview-list {
  max-height: none;
}

.audience-preview.expanded {
  display: flex;
  flex-direction: column;
}