/* Recycling Material Code Finder — tool-specific styles.
   Builds on landing.css + tools.css (shared .hs-tool / .hs-input-card etc.). */

.rcf-results { margin-top: 22px; }

.rcf-card {
  background: #fff;
  border: 1px solid var(--line, #e4e0d5);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(11, 59, 47, 0.06);
}

.rcf-card-head {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.rcf-mark {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rcf-mark svg { width: 88px; height: auto; }

.rcf-card-id { flex: 1 1 240px; min-width: 220px; }
.rcf-card-id h2 { margin: 0 0 2px; font-size: 1.5rem; }
.rcf-code { color: #7a8a80; font-weight: 600; }
.rcf-fullname { margin: 0 0 12px; color: #556; font-size: 0.95rem; }

.rcf-grade {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
}
.rcf-grade-good { background: #eef6f0; color: #0b5138; }
.rcf-grade-warn { background: #fff4e6; color: #8a5a11; }
.rcf-grade-label { font-weight: 600; opacity: 0.85; }
.rcf-grade-badge {
  font-weight: 800;
  font-size: 1.05rem;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}
.rcf-grade-verdict { flex: 1 1 100%; font-size: 0.85rem; opacity: 0.9; }

.rcf-juris-h { margin: 26px 0 10px; font-size: 1.1rem; }

.rcf-table-wrap { overflow-x: auto; }
.rcf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.rcf-table th,
.rcf-table td {
  padding: 10px 12px;
  border: 1px solid var(--line, #e4e0d5);
  text-align: left;
  vertical-align: top;
}
.rcf-table th { background: #f4f1e8; font-weight: 700; white-space: nowrap; }
.rcf-td-jur { font-weight: 600; white-space: nowrap; }
.rcf-flag { font-size: 1.1rem; }
.rcf-td-status { margin-top: 6px; }
.rcf-td-note { color: #4a564e; }

.rcf-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.rcf-chip-ok { background: #e3f3e9; color: #16794f; }
.rcf-chip-warn { background: #fbeecf; color: #8a5a11; }
.rcf-chip-na { background: #eee; color: #666; }

.rcf-gate {
  margin-top: 24px;
  padding: 20px;
  border-radius: 14px;
  background: #04342C;
  color: #fff;
}
.rcf-gate h3 { margin: 0 0 12px; font-size: 1.05rem; color: #fff; }
.rcf-gate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.rcf-gate-row input[type="email"] {
  flex: 1 1 220px;
  min-width: 180px;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
}
.rcf-gate .btn { flex: 0 0 auto; }
.rcf-gate .hs-form-msg { color: #d9f3e6; margin-top: 10px; }
.rcf-gate .hs-form-msg.is-error { color: #ffd9d1; }
.rcf-gate .hs-form-msg.is-success { color: #b8f5d6; }

.rcf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.rcf-cta {
  margin-top: 22px;
  padding: 20px;
  border-radius: 14px;
  background: #f4f1e8;
  text-align: center;
}
.rcf-cta p { margin: 0 0 14px; color: #33403a; }

@media (max-width: 560px) {
  .rcf-card-head { gap: 14px; }
  .rcf-mark { width: 72px; }
  .rcf-mark svg { width: 68px; }
  .rcf-card-id h2 { font-size: 1.25rem; }
}
