/**
 * AllOfBD Claim Listing Page Styles
 * Executive verification & ownership portal
 * Version: 1.0.0
 */

.aofbd-claim-page {
  background: #f8fafc;
  min-height: 80vh;
  padding: 48px 0 88px;
  color: #1e293b;
}

.aofbd-claim-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.aofbd-claim-hero {
  text-align: center;
  margin-bottom: 40px;
}

.aofbd-claim-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.aofbd-claim-hero__title {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.aofbd-claim-hero__desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
}

/* Target Listing Card (When claiming specific business) */
.aofbd-claim-target {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

@media (max-width: 640px) {
  .aofbd-claim-target {
    flex-direction: column;
    text-align: center;
  }
}

.aofbd-claim-target__thumb {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.aofbd-claim-target__thumb-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.aofbd-claim-target__meta {
  flex-grow: 1;
}

.aofbd-claim-target__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #2563eb;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.aofbd-claim-target__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.aofbd-claim-target__address {
  font-size: 0.875rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.aofbd-claim-target__badge {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  white-space: nowrap;
}

/* Claim Form Card */
.aofbd-claim-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 40px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  margin-bottom: 48px;
}

@media (max-width: 640px) {
  .aofbd-claim-card {
    padding: 24px 20px;
  }
}

.aofbd-claim-card__header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.aofbd-claim-card__header h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.aofbd-claim-card__header p {
  color: #64748b;
  font-size: 0.9375rem;
  margin: 0;
}

/* Form Grid */
.aofbd-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .aofbd-form-row {
    grid-template-columns: 1fr;
  }
}

.aofbd-form-group {
  margin-bottom: 20px;
}

.aofbd-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.aofbd-form-label .req {
  color: #ef4444;
}

.aofbd-form-input,
.aofbd-form-select,
.aofbd-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.aofbd-form-input:focus,
.aofbd-form-select:focus,
.aofbd-form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.aofbd-form-help {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 6px;
}

/* Upload Area */
.aofbd-upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s;
}

.aofbd-upload-box:hover {
  border-color: #2563eb;
}

.aofbd-upload-box input[type="file"] {
  display: block;
  margin: 12px auto 0;
  font-size: 0.875rem;
}

/* Checkbox */
.aofbd-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #475569;
  cursor: pointer;
  line-height: 1.45;
}

.aofbd-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
}

/* Submit Button */
.aofbd-claim-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.aofbd-claim-submit-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* Notice / Success State */
.aofbd-claim-alert {
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.aofbd-claim-alert--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #14532d;
}

.aofbd-claim-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.aofbd-claim-alert h3 {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 6px;
}

.aofbd-claim-alert p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}

/* Search Box when no listing_id is provided */
.aofbd-search-claim-box {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 36px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}

.aofbd-search-claim-input-wrap {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .aofbd-search-claim-input-wrap {
    flex-direction: column;
  }
}

.aofbd-search-claim-input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
}

.aofbd-search-claim-btn {
  padding: 14px 28px;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.aofbd-search-claim-btn:hover {
  background: #1e293b;
}

/* Unverified List Grid */
.aofbd-unverified-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 720px) {
  .aofbd-unverified-grid {
    grid-template-columns: 1fr;
  }
}

.aofbd-unverified-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s ease;
}

.aofbd-unverified-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 8px 16px -4px rgba(15, 23, 42, 0.06);
}

.aofbd-unverified-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.aofbd-unverified-card__meta {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 8px;
}

.aofbd-unverified-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.aofbd-unverified-card__btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Trust Bar */
.aofbd-claim-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 720px) {
  .aofbd-claim-trust {
    grid-template-columns: 1fr;
  }
}

.aofbd-claim-trust-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px;
}

.aofbd-claim-trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.aofbd-claim-trust-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.aofbd-claim-trust-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}
