/* Contacts Wizard Styles
 * Used by: app/views/campaigns/wizard/contacts.html.erb
 * Step-specific styles (shared wizard styles in wizard.css)
 */

/* Container - extends wizard-card for header, but uses own body layout */
.contacts-wizard-container {
  max-width: 1328px;
  min-height: 680px;
}

/* Body - Two column layout */
.contacts-wizard-body {
  display: flex;
  background: #fafafa;
  min-height: 680px;
}

/* Left panel */
.contacts-wizard-left {
  flex: 0 0 720px;
  padding: 40px 24px;
  background: #fff;
  border: 1px solid #eceff0;
  border-radius: 42px;
  margin: 16px;
}

/* Headline */
.contacts-wizard-headline {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 40px;
}

.contacts-wizard-headline h1 {
  font-size: 26px;
  font-weight: 600;
  color: #000b14;
  line-height: 1.35;
  margin-bottom: 12px;
}

.contacts-wizard-headline p {
  font-size: 15px;
  font-weight: 500;
  color: #858a8e;
  line-height: 1.6;
}

/* Options container */
.contacts-wizard-options {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Option group (card + hint) */
.contacts-option-group {
  display: flex;
  flex-direction: column;
}

/* Option card */
.contacts-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #eceff0;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
}

.contacts-option-card:hover {
  border-color: #d6d8d9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contacts-option-card--dashed {
  background: #fafafa;
  border: 1px dashed #d6d8d9;
}

.contacts-option-card--dashed:hover {
  border-color: #858a8e;
}

/* Icon wrapper */
.contacts-option-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid #eceff0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-option-icon {
  width: 38px;
  height: 38px;
  background: #eceff0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000b14;
}

.contacts-option-icon svg {
  width: 18px;
  height: 18px;
}

/* Content */
.contacts-option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contacts-option-title {
  font-size: 15px;
  font-weight: 600;
  color: #000b14;
  line-height: 1.35;
}

.contacts-option-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #858a8e;
  line-height: 1.4;
}

/* Button (for select card) */
.contacts-option-button {
  flex-shrink: 0;
  padding: 12px 24px;
  background: #000b14;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: background 0.15s ease;
}

.contacts-option-card:hover .contacts-option-button {
  background: #1a1a1a;
}

/* Hint */
.contacts-option-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 16px 16px;
  background: #fafafa;
  border: 1px solid #eceff0;
  border-top: none;
  border-radius: 0 0 16px 16px;
  margin-top: -16px;
}

.contacts-option-hint svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contacts-option-hint--white {
  background: #fff;
}

.contacts-option-hint span {
  font-size: 13px;
  font-weight: 500;
  color: #52595f;
  line-height: 1.4;
}

/* Submit button */
.contacts-wizard-submit {
  padding: 14px 40px;
  background: #000b14;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.contacts-wizard-submit:hover {
  background: #1a1a1a;
}

.contacts-wizard-submit--disabled,
.contacts-wizard-submit:disabled {
  background: #eceff0;
  color: #858a8e;
  cursor: not-allowed;
}

.contacts-wizard-submit--disabled:hover,
.contacts-wizard-submit:disabled:hover {
  background: #eceff0;
}

/* Right panel */
.contacts-wizard-right {
  flex: 1;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* Testimonial card */
.contacts-wizard-testimonial {
  background: #fff;
  border: 1px solid #eceff0;
  border-radius: 16px;
  padding: 24px;
  width: 320px;
}

.contacts-testimonial-stars {
  display: flex;
  gap: 2px;
  color: #d6d8d9;
  margin-bottom: 20px;
}

.contacts-testimonial-stars svg {
  width: 20px;
  height: 20px;
}

.contacts-testimonial-quote {
  font-size: 15px;
  font-weight: 500;
  color: #858a8e;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contacts-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contacts-testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: #000b14;
}

.contacts-testimonial-company {
  font-size: 13px;
  font-weight: 500;
  color: #858a8e;
}

/* Disabled state for CRM option */
.contacts-option-group--disabled {
  background-color: rgba(17, 167, 119, 0.10);
  border-radius: 17px;
  padding: 1px;
  position: relative;
  pointer-events: none;
}

.contacts-option-group__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 17px;
  z-index: 1;
}

/* Coming Soon badge */
.contacts-option-badge--coming-soon {
  display: inline-block;
  padding: 2px 8px;
  background-color: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .contacts-wizard-body {
    flex-direction: column;
  }

  .contacts-wizard-left {
    flex: none;
    width: auto;
  }

  .contacts-wizard-right {
    padding: 24px;
  }
}
