/* Shared decorative UI */
.mini-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.topbar-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(212, 154, 58, 0.16);
  border: 1px solid rgba(231, 185, 101, 0.28);
  color: #ffe3b1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.badge-floating {
  position: absolute;
  top: -18px;
  left: 26px;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f1c46d 0%, var(--accent) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(151, 104, 21, 0.28);
}

/* Buttons */
.cta-button {
  width: 100%;
  margin-top: 6px;
  padding: 18px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(47, 128, 237, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(47, 128, 237, 0.34);
  filter: brightness(1.02);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:disabled {
  cursor: not-allowed;
  opacity: 0.85;
  transform: none;
  filter: none;
}

.secondary-button,
.secondary-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid #d8dee6;
  background: #fff;
  color: #1c2734;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.secondary-button:hover,
.secondary-button-link:hover {
  background: #f8fafc;
}

/* Flash */
.flash-box {
  margin-bottom: 18px;
}

.flash-message {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1f1;
  border: 1px solid #f2c7c7;
  color: #a12b2b;
  font-size: 14px;
}

/* Trust row */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
}

.trust-item {
  font-size: 14px;
  font-weight: 600;
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

/* Inputs / shared form controls */
.email-input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d8dee6;
  background: #fff;
  font-size: 16px;
  line-height: 1.2;
  color: #1f2937;
}

/* Pills / badges */
.source-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212, 154, 58, 0.14);
  color: #9a6820;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.lead-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.12);
  color: #1f6fd8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Shared upload/info blocks */
.upload-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fbf6ea 0%, #f7efdd 100%);
  border: 1px solid #ecdcb8;
  position: relative;
  z-index: 1;
}

.upload-box-simple {
  align-items: center;
}

.upload-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 154, 58, 0.12);
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 700;
}

.upload-content {
  flex: 1;
}

.upload-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #1f2937;
}

.upload-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

input[type="file"] {
  width: 100%;
  font-size: 14px;
  color: #1f2937;
}

/* Shared image block */
.evaluated-image-block {
  margin-bottom: 24px;
}

.evaluated-image-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1c2734;
}

.evaluated-image {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 32, 0.08);
}

/* Shared legal content */
.legal-content {
  max-width: 900px;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #111827;
}

.legal-section p {
  margin: 0 0 12px;
  line-height: 1.7;
}

/* Shared responsive helpers */
@media (max-width: 640px) {
  .mini-kicker {
    margin-bottom: 12px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .badge-floating {
    left: 14px;
    top: -14px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .upload-box {
    flex-direction: column;
    padding: 14px;
  }

  .cta-button {
    margin-top: 10px;
    padding: 15px 16px;
    font-size: 16px;
  }

  .secondary-button,
  .secondary-button-link {
    font-size: 15px;
    padding: 14px 15px;
  }

  .trust-row {
    gap: 8px;
    margin-top: 14px;
  }

  .trust-item {
    font-size: 12px;
  }

  .email-input {
    padding: 12px 12px;
    font-size: 16px;
  }
}