/* components.css */

/* 1️⃣ Card */
.card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.card p {
  max-width: 60ch;
}

.card h1 {
  font-size: 1.75rem;
  line-height: 1.3;
}

.card h2 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* 2️⃣ Button (CTA حقيقي) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1e40af;
}

/* 3️⃣ Form */
.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2563eb;
}

/* 4️⃣ Header (علوي) */
.header {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.header-title {
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
}

.header-tagline {
  font-size: 0.85rem;
  color: #6b7280;
}

.header-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: #6b7280;
  font-size: 0.9rem;
}

.header-email {
  opacity: 0.9;
}

.header-logout {
  color: #374151;
}

.header-logout:hover {
  text-decoration: underline;
}

/* 5️⃣ Utilities */
.text-muted {
  color: #6b7280;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

/* Ad input (dashboard textarea) */
.ad-input {
  min-height: 180px;
  resize: vertical;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.75rem;
}

.dashboard-form {
  max-width: 760px;
}

/* Legal disclaimer */
.legal-disclaimer {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

.page-start {
  margin-top: 0.2rem;
}

/* New CSS block */
.new-feature {
  background-color: #f0f4f8;
  border: 1px solid #d1d9e6;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  color: #33475b;
}

/* Scan history items */
.scan-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.scan-item:last-child {
  border-bottom: none;
}

.scan-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.scan-id {
  color: #6b7280;
  font-weight: 500;
}

.scan-score {
  color: #6b7280;
}

.scan-link {
  font-weight: 500;
}
.regulatory-feed {
  margin-top: 40px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  font-size: 13px;
  color: #444;
}

.regulatory-feed h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.regulatory-feed ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.regulatory-feed li {
  margin-bottom: 6px;
}

.regulatory-feed .date {
  color: #888;
  margin-right: 6px;
}

.regulatory-feed .source {
  font-weight: 600;
  margin-right: 6px;
}
.scan-more {
  margin-top: 8px;
  font-size: 0.85rem;
}