.verification-verified {
  @include status-card(#22c55e, #f0fdf4, #dcfce7);
}

.verification-ineligible {
  @include status-card(#ef4444, #fef2f2, #fee2e2);
}

.verification-needs-action {
  @include status-card(#f59e0b, #fffbeb, #fef3c7);
}

.status-indicator {
  margin-bottom: $space-5;

  .status-badge {
    display: inline-flex;
    align-items: center;
    gap: $space-1;
    padding: 0.375rem 0.875rem;
    border-radius: $radius-xl;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: $space-3;
    
    &.pending {
      background: var(--info-bg);
      color: var(--info-fg-strong);
      border: 1px solid var(--info-border);
    }

    &.verified {
      background: var(--success-bg);
      color: var(--success-fg-strong);
      border: 1px solid var(--success-border);
    }

    &.rejected {
      background: var(--warning-bg);
      color: var(--warning-fg-strong);
      border: 1px solid var(--warning-border);
    }

    &.none {
      background: var(--surface-2);
      color: var(--text-muted-strong);
      border: 1px solid var(--surface-2-border);
    }
  }

  h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 $space-1;
    line-height: 1.3;
    color: var(--text-strong);
  }

  p {
    color: var(--text-muted-strong);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
  }
}

.status-content {
  margin-top: $space-4;

  p {
    margin: 0 0 $space-2;
    line-height: 1.6;
    font-size: 0.95rem;
    
    &:last-child {
      margin-bottom: 0;
    }

    strong {
      font-weight: 600;
    }
  }

  .meta {
    padding-top: $space-3;
    margin-top: $space-3;
    border-top: 1px solid var(--pico-muted-border-color);
    color: var(--text-muted-strong);
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

.rejection-info {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: $radius-md;
  padding: 0.875rem $space-3;
  margin-top: $space-2;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--warning-fg);

  strong {
    color: var(--warning-fg-strong);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
  }
}

.status-actions {
  margin-top: $space-5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: $space-3;

  a[role="button"] {
    font-weight: 500;
    width: auto !important;
    margin: 0 !important;
  }

  p {
    margin: 0;
    color: var(--text-muted-strong);
    font-size: 0.875rem;
    line-height: 1.5;

    a {
      font-weight: 500;
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
  }
}

.privacy-section {
  background: var(--surface-2);
  border-color: var(--surface-2-border);

  p {
    margin: 0 0 $space-2;
    font-size: 0.875rem;
    line-height: 1.6;
    
    &:last-child {
      margin-bottom: 0;
    }
  }
}

.resubmission-alert {
    @include alert-box(var(--warning-bg), var(--warning-border), var(--warning-fg-strong));
    li {
      margin-bottom: $space-1; color: var(--warning-fg); line-height: 1.5;
      &:last-child { margin-bottom: 0; }
      strong { font-weight: 500; color: var(--warning-fg-strong); }
      small { display: block; margin-top: 0.25rem; font-size: 0.875rem; }
    }
}

.error-alert {
    @include alert-box(var(--error-bg), var(--error-border), var(--error-fg-strong));
    ul { color: var(--error-fg); }
}

.requirement-group {
    margin-bottom: $space-5;

    &:last-child {
      margin-bottom: 0;
    }

    strong {
      font-weight: 600;
      font-size: 0.95rem;
      display: block;
      margin-bottom: $space-1;
      color: var(--text-strong);
    }

    ul {
      margin: 0;
      padding-left: $space-4;
      color: var(--text-muted-strong);
      font-size: 0.95rem;
      line-height: 1.6;

      li {
        margin-bottom: 0.25rem;

        &:last-child {
          margin-bottom: 0;
        }

        em {
          font-style: italic;
        }

        a {
          font-weight: 500;
          text-decoration: none;

          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
}

.upload-field {
    margin-top: $space-5;

    label {
      font-weight: 500;
      font-size: 0.95rem;
      margin-bottom: $space-1;
      display: block;
    }

    select, input[type="file"], input[type="text"] {
      margin-bottom: 0;
    }

    small {
      display: block;
      color: var(--text-muted-strong);
      font-size: 0.875rem;
      margin-top: $space-1;
      line-height: 1.5;
    }
}

.photo-tips {
    @include alert-box(var(--info-bg), var(--info-border), var(--info-fg-strong));
    margin-top: $space-5; margin-bottom: 0;
    h4 { font-weight: 600; font-size: 0.95rem; }
    ul { color: var(--info-fg); font-size: 0.875rem; line-height: 1.6; }
    li { margin-bottom: 0.25rem; &:last-child { margin-bottom: 0; } }
}

.uploading-state {
    text-align: center;
    padding: $space-6;
    background: var(--surface-2);
    border: 1px solid var(--surface-2-border);
    border-radius: $radius-lg;
    margin-top: $space-5;

    p {
      font-weight: 600;
      margin-bottom: $space-3;
      font-size: 0.95rem;
    }

    img {
      image-rendering: pixelated;
      max-width: 80px;
    }
}

.form-actions {
    display: flex;
    gap: $space-2;
    margin-top: $space-6;

    input[type="submit"], button {
      font-weight: 500;

      &.opacity-50 {
        opacity: 0.5;
      }

      &.cursor-not-allowed {
        cursor: not-allowed;
      }
    }
}
