/* Base styles */
:root {
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --error-color: #ef4444;
  --success-color: #22c55e;
  --text-color: #1f2937;
  --bg-color: #f3f4f6;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

h1 {
  margin: 0 0 2rem;
  font-size: 1.875rem;
  font-weight: 600;
}

/* Form styles */
#verifyFormContainer {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

input[type="text"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Verify Button */
.verify-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.verify-button:hover {
  background-color: var(--primary-hover);
}

/* Status messages */
.status-success,
.status-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
}

.status-success {
  background-color: #dcfce7;
  color: #166534;
}

.status-error {
  background-color: #fee2e2;
  color: #991b1b;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Verification Results */
.verification-details {
  margin-top: 2rem;
  position: relative;
}

.content {
  position: relative;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  min-height: 200px;
}

.logo {
  flex: 1;
  max-width: calc(100% - 220px);
}

.logo img {
  max-width: 200px;
  max-height: 100px;
  object-fit: contain;
  display: block;
}

.qr-code {
  width: 200px;
  flex-shrink: 0;
}

.qr-code img {
  width: 100%;
  height: 100%;
}

.claims-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.5rem;
}

.claims-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.claim-name {
  font-weight: 500;
  width: 30%;
}

.claim-value {
  color: #4b5563;
  word-break: break-all;
  font-size: 0.875em;
}

.hash {
  font-family: monospace;
  font-size: 0.7em;
  color: #6b7280;
  width: 100%;
  padding-left: 1rem;
}

.hash-value {
  word-break: break-all;
  display: block;
}

.verify-time {
  font-family: monospace;
  font-size: 0.7em;
  color: #6b7280;
  width: 100%;
  padding-left: 1rem;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  .container {
    margin: 0;
    padding: 1rem;
    box-shadow: none;
  }

  .header-section {
    min-height: 150px;
  }

  .qr-code {
    width: 150px;
  }

  .claims-table,
  .hash,
  .verify-time {
    width: 100%;
  }
}
