/* Styles for the advertiser dashboard enhancements and campaign wizard */

/* Overlay modal for creating campaigns */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  position: relative;
  background: #101418;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 600px;
  color: #fff;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Close button */
.close-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Wizard steps */
.wizard-step {
  margin-top: 8px;
}

.wizard-step.hidden {
  display: none;
}

/* Inputs and selects within modal */
#campaignWizardModal input,
#campaignWizardModal select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0f1318;
  color: #fff;
}

#campaignWizardModal pre {
  background: #0f1318;
  padding: 12px;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
}