/* Certificate Lookup */
.crq-lookup{ max-width: 720px; margin: 0 0 18px; padding: 14px; border:1px solid #e5e5e5; border-radius: 12px; background:#fff; }
.crq-lookup__label{ display:block; font-weight:600; margin-bottom:8px; }
.crq-lookup__row{ display:flex; gap:10px; }
.crq-lookup__row input{ flex:1; padding:10px 12px; border:1px solid #d9d9d9; border-radius:10px; }
.crq-lookup__row button{ padding:10px 14px; border-radius:10px; border:1px solid #d9d9d9; cursor:pointer; }
.crq-lookup__results{ margin-top:12px; }
.crq-lookup__title{ font-weight:600; margin-bottom:6px; }
.crq-lookup__empty{ color:#666; }

/* Results table */
.crq-results-table-wrap{ overflow-x:auto; border:1px solid #eee; border-radius: 12px; background:#fff; }
.crq-results-table{ width:100%; border-collapse: collapse; min-width: 640px; }
.crq-results-table th,
.crq-results-table td{ padding: 10px 12px; border-bottom:1px solid #f0f0f0; text-align:left; font-size: 13px; }
.crq-results-table th{ font-weight: 700; background:#fafafa; }
.crq-results-table tr.crq-row{ cursor:pointer; }
.crq-results-table tr.crq-row:hover{ background:#fcfcfc; }
.crq-results-table td a{ text-decoration:none; }
.crq-results-table td a:hover{ text-decoration: underline; }

/* Certificate Card */
.crq-card{ max-width: 900px; margin: 18px auto; border:1px solid #e6e6e6; border-radius: 16px; overflow:hidden; background:#fff; box-shadow: 0 6px 18px rgba(0,0,0,.04); }
.crq-card__header{ display:flex; justify-content: space-between; gap:16px; padding: 18px; border-bottom:1px solid #eee; align-items:flex-start; }
.crq-card__brand{ display:flex; gap:14px; align-items:flex-start; }
.crq-logo{ width: 88px; height: 88px; object-fit: contain; border:1px solid #eee; border-radius: 12px; padding: 8px; background:#fff; }
.crq-certno{ font-size: 18px; font-weight: 800; letter-spacing:.2px; }
.crq-org{ font-size: 15px; font-weight: 600; margin-top: 2px; }
.crq-address{ font-size: 13px; color:#555; margin-top: 6px; line-height: 1.35; }
.crq-card__qr{ text-align:center; min-width: 140px; }
.crq-qr{ width: 120px; height: 120px; object-fit: contain; border:1px solid #eee; border-radius: 12px; padding: 8px; background:#fff; }
.crq-qr-hint{ font-size:12px; color:#666; margin-top: 6px; }

.crq-card__body{ padding: 18px; }
.crq-grid{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 720px){
  .crq-card__header{ flex-direction: column; }
  .crq-grid{ grid-template-columns: 1fr; }
  .crq-card__qr{ text-align:left; }
}

.crq-item{ padding: 12px; border:1px solid #f0f0f0; border-radius: 12px; background:#fafafa; }
.crq-label{ font-size: 12px; color:#666; margin-bottom: 6px; }
.crq-value{ font-size: 14px; font-weight: 600; color:#111; }

.crq-accreditation{ margin-top: 14px; padding-top: 14px; border-top:1px dashed #eee; }
.crq-accreditation__title{ font-weight: 800; margin-bottom: 10px; }
.crq-accreditation__row{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 14px; }
@media (max-width: 720px){
  .crq-accreditation__row{ grid-template-columns: 1fr; }
}

.crq-card__footer{ padding: 14px 18px; border-top:1px solid #eee; background:#fcfcfc; }
.crq-link{ font-size: 12px; color:#555; word-break: break-all; text-decoration:none; }
.crq-link:hover{ text-decoration: underline; }
