/* Shared security tools UI */
.sc-hero {
  padding: 48px 0 20px;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}
.sc-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.sc-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #10172f;
  letter-spacing: -0.02em;
}
.sc-hero p {
  margin: 0 auto;
  max-width: 720px;
  color: #5c6478;
  font-size: 17px;
  line-height: 1.7;
}
.sc-wrap { padding: 24px 0 64px; background: #f7f8fc; }
.sc-card {
  background: #fff;
  border: 1px solid #e8ebf5;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(17, 24, 47, 0.06);
  box-sizing: border-box;
}
.sc-privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #1b5e20;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}
.sc-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  align-items: start;
}
.sc-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #10172f;
  margin-bottom: 8px;
}
.sc-textarea, .sc-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #18213a;
  border: 2px solid #d8deea;
  border-radius: 12px;
  outline: none;
  background: #fafbff;
  box-sizing: border-box;
  font-family: ui-sans-serif, system-ui, Segoe UI, sans-serif;
}
.sc-textarea { min-height: 140px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.sc-textarea:focus, .sc-input:focus {
  border-color: #E53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.12);
  background: #fff;
}
.sc-sidebar {
  border: 1px solid #e8ebf5;
  border-radius: 14px;
  background: #f7f8fc;
  padding: 14px;
  position: sticky;
  top: 16px;
}
.sc-sidebar h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #10172f;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sc-side-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #e8ebf5;
  font-size: 13px;
}
.sc-side-row span { color: #5c6478; font-weight: 600; }
.sc-side-row b { color: #E53935; font-weight: 800; text-align: right; word-break: break-all; }
.sc-badges {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  color: #2e7d32;
  line-height: 1.8;
}
.sc-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.sc-btn {
  appearance: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  color: #fff !important;
  line-height: 1.2;
  text-decoration: none !important;
  display: inline-block;
}
.sc-btn:hover { opacity: .92; }
.sc-btn:disabled { opacity: .55; cursor: not-allowed; }
.sc-btn-primary { background: linear-gradient(135deg, #ef5350, #c62828); }
.sc-btn-blue { background: #1565c0; }
.sc-btn-gray { background: #455a64; }
.sc-btn-dark { background: #10172f; }
.sc-btn-green { background: #2e7d32; }
.sc-btn-outline {
  background: #fff;
  color: #10172f !important;
  border: 1.5px solid #cfd5e6;
}
.sc-section { margin-top: 18px; }
.sc-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #10172f;
}
.sc-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sc-field { margin-bottom: 12px; }
.sc-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #384057;
  margin-bottom: 6px;
}
.sc-field select,
.sc-field input[type="text"],
.sc-field input[type="number"],
.sc-field input[type="password"],
.sc-field input[type="email"],
.sc-field input[type="url"],
.sc-field input[type="tel"],
.sc-field input[type="color"],
.sc-field input[type="range"],
.sc-field input[type="datetime-local"],
.sc-field textarea {
  width: 100%;
  border: 1.5px solid #d8deea;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #18213a;
  background: #fff;
  box-sizing: border-box;
}
.sc-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 8px;
}
.sc-checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #18213a;
  cursor: pointer;
}
.sc-notice {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #6d4c00;
  font-size: 13px;
  font-weight: 600;
}
.sc-results {
  border: 1px solid #e8ebf5;
  border-radius: 12px;
  background: #fafbff;
  max-height: 420px;
  overflow: auto;
}
.sc-result-text {
  margin: 0;
  padding: 14px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-all;
  color: #18213a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sc-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #10172f;
  min-height: 22px;
}
.sc-status b { color: #E53935; }
.sc-drop-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #5c6478;
  font-weight: 600;
}
.sc-progress { margin-top: 14px; }
.sc-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: #e8ebf5;
  overflow: hidden;
}
.sc-progress-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ef5350, #c62828);
}
.sc-progress-text {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #384057;
}
.sc-meter {
  height: 12px;
  border-radius: 999px;
  background: #e8ebf5;
  overflow: hidden;
  margin: 8px 0;
}
.sc-meter > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width .25s, background .25s;
}
.sc-meter.weak > span { background: #c62828; }
.sc-meter.medium > span { background: #ef6c00; }
.sc-meter.strong > span { background: #2e7d32; }
.sc-meter.very-strong > span { background: #1565c0; }
.sc-match { font-size: 22px; font-weight: 800; padding: 16px; text-align: center; }
.sc-match.ok { color: #2e7d32; }
.sc-match.bad { color: #c62828; }
.sc-qr-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
}
.sc-qr-preview canvas, .sc-qr-preview img { max-width: 100%; }
.sc-qr-label { font-size: 13px; font-weight: 700; color: #10172f; }
.sc-video {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  background: #10172f;
}
@media (max-width: 991px) {
  .sc-layout { grid-template-columns: 1fr; }
  .sc-sidebar { position: static; }
  .sc-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .sc-options-grid { grid-template-columns: 1fr; }
  .sc-btn { width: 100%; text-align: center; }
}
