/* Technolease CI Pack — UI Styles */

/* Primary button — Vivid Red */
.btn-primary {
  background: #D62128;
  color: white;
  transition: all 0.2s;
}
.btn-primary:hover:not(:disabled) {
  background: #e8373e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(214, 33, 40, 0.35);
}
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Secondary button */
.btn-secondary {
  background: transparent;
  color: rgba(246, 246, 246, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}
.btn-secondary:hover {
  color: #f6f6f6;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Step Indicator */
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
  flex-shrink: 0;
}
.step-dot.active {
  background: #D62128;
  color: white;
  border-color: #D62128;
}
.step-dot.done {
  background: #1FA7A2;
  color: white;
  border-color: #1FA7A2;
}
.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

/* Image Cards */
.image-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s;
  aspect-ratio: 1;
}
.image-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.image-card.selected {
  border-color: #1FA7A2;
  box-shadow: 0 0 0 2px rgba(31, 167, 162, 0.25);
}
.image-card.is-logo {
  border-color: #D62128;
  box-shadow: 0 0 0 2px rgba(214, 33, 40, 0.25);
}
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Check badge — Teal */
.image-card .check-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1FA7A2;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
}
.image-card.selected .check-badge {
  display: flex;
}

/* Logo button */
.image-card .logo-btn {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 3px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.75);
  color: rgba(246, 246, 246, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: all 0.2s;
  cursor: pointer;
}
.image-card:hover .logo-btn,
.image-card.is-logo .logo-btn {
  opacity: 1;
}
.image-card.is-logo .logo-btn {
  background: #D62128;
  color: white;
  border-color: #D62128;
}

/* Favicon badge */
.favicon-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #D62128;
  color: white;
}

/* Aspect ratio label */
.aspect-label {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 6px;
  border-radius: 2px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.6);
  color: rgba(246, 246, 246, 0.4);
}
.image-card .favicon-badge ~ .aspect-label {
  top: 32px;
}

/* Teal button — Save to Airtable */
.btn-teal {
  background: #1FA7A2;
  color: white;
  transition: all 0.2s;
}
.btn-teal:hover:not(:disabled) {
  background: #25b8b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(31, 167, 162, 0.35);
}
.btn-teal:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Feature row */
.feature-row .remove-feature-btn {
  line-height: 1;
  font-size: 1.25rem;
}

/* Content preview box */
.content-preview-box {
  white-space: pre-wrap;
  word-break: break-word;
}
.content-preview-box::-webkit-scrollbar {
  width: 6px;
}
.content-preview-box::-webkit-scrollbar-track {
  background: transparent;
}
.content-preview-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.content-preview-box::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
