/* FEED Валидатор — надстройка над шаблоном AppsLand (assets/css/style.css + theme.css) */

/* ----- логотип ----- */

.navbar-brand .logo {
  font-family: 'Quicksand', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 50px;
  white-space: nowrap;
}

.logo-light {
  color: #fff;
}

.logo-color {
  color: #333;
}

.logo-light .lg-hash {
  color: #fff;
}

.logo-color .lg-hash {
  color: #1F65DB;
}

.logo-light .lg-f { color: #ff8a8a; }
.logo-light .lg-e1 { color: #7cf0a0; }
.logo-light .lg-e2 { color: #8fc0ff; }
.logo-light .lg-d { color: #ffc48a; }

.logo-color .lg-f { color: #cc0000; }
.logo-color .lg-e1 { color: #009900; }
.logo-color .lg-e2 { color: #3366cc; }
.logo-color .lg-d { color: #cc6633; }

/* ----- шапка ----- */

.header-texts .lead {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
}

/* ----- панель проверки ----- */

.fv-panel-wrap {
  margin-top: -80px;
}

.fv-panel {
  padding: 8px 30px 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 15px 0 rgba(2, 3, 3, .1);
}

.fv-tabs {
  margin: 0 -30px;
  padding: 0 30px;
  border-bottom: 1px solid #eee;
}

.fv-tabs > li > a,
.fv-tabs > li > a:hover,
.fv-tabs > li > a:focus {
  margin-right: 10px;
  padding: 18px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #666;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.fv-tabs > li.active > a,
.fv-tabs > li.active > a:hover,
.fv-tabs > li.active > a:focus,
.fv-tabs > li > a:hover {
  border: 0;
  border-bottom: 3px solid #1F65DB;
  background: transparent;
  color: #1F65DB;
}

.fv-tab-content {
  padding-top: 26px;
}

.fv-panel label {
  color: #666;
  font-weight: 600;
}

.fv-panel textarea.form-control {
  height: auto;
  min-height: 260px;
}

.fv-panel .form-control:focus {
  border-color: #1F65DB;
}

.fv-panel .col-sm-2 .button {
  width: 100%;
  padding: 0 10px;
}

.fv-features {
  padding-top: 40px;
}

.fv-features .box {
  margin-bottom: 20px;
  padding-bottom: 28px;
}

.fv-features .box h4 {
  margin: 16px 0 8px;
}

.fv-features .box p {
  padding: 0 24px;
  color: #666;
}

/* ----- результаты проверки ----- */

.fv-results-section {
  padding: 20px 0 70px;
  background: #fff;
}

.validator-results {
  max-width: 1000px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}

.result-card {
  margin: 24px 0;
  padding: 26px 28px;
  border-top: 4px solid #1F65DB;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 15px 0 rgba(2, 3, 3, .1);
  font-size: 14px;
  font-weight: 400;
}

.result-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.result-card p,
.result-card li {
  color: #555;
}

.result-card p {
  margin: 0 0 12px;
}

.result-card > :last-child {
  margin-bottom: 0;
}

.result-card a,
.validator-results a {
  color: #1F65DB;
}

.result-card a:hover,
.validator-results a:hover {
  color: #ED355B;
}

.result-valid { border-top-color: #00d578; }
.result-warning { border-top-color: #f5a623; }
.result-info { border-top-color: #1F65DB; }
.result-error { border-top-color: #ED355B; }

.result-badge {
  margin: 4px 0 10px;
}

.result-badge img {
  max-width: 100%;
}

.result-lead {
  color: #333 !important;
  font-size: 18px;
}

.result-sub {
  margin-bottom: 20px !important;
}

.result-banner-body {
  max-width: 760px;
  margin: 0 auto;
}

.result-steps {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: decimal;
}

.result-steps li {
  margin-bottom: 10px;
}

.result-code {
  height: auto;
  margin-top: 6px;
  background: #f7f9fc;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  resize: vertical;
}

.result-url {
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #f7f9fc;
  text-align: center;
}

.result-url code {
  background: transparent;
  color: #1F65DB;
  font-size: 14px;
}

.result-messages > ul,
.feed-report-messages > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-messages > ul > li,
.feed-report-messages > ul > li {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fbfbfb;
}

.result-messages > ul > li > p,
.feed-report-messages > ul > li > p {
  margin: 0 0 8px;
}

.result-messages blockquote,
.feed-report-messages blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
}

.result-messages pre,
.feed-report-messages pre {
  margin: 0;
  overflow-x: auto;
  border-color: #eee;
  background: #fff;
  font-size: 12px;
  white-space: pre-wrap;
}

.result-messages .message,
.feed-report-messages .message {
  background: #fff3b0;
  color: #333;
}

.result-note {
  margin: 8px 0 14px;
  font-weight: 600;
}

.result-source ol.codeListing {
  width: 100%;
  max-height: 560px;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 12px;
}

.validator-results .specialmessage {
  margin: 20px 0;
  padding: 12px 18px;
  border-radius: 8px;
  background: #fbfbfb;
}

.validator-results .specialmessage p {
  margin: 0;
}

.feed-report {
  padding: 0;
}

.feed-report-header h2,
.feed-preview-heading h2 {
  font-size: 26px;
}

.feed-report-section {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 0 15px 0 rgba(2, 3, 3, .1);
}

.feed-report-section h3 {
  margin: 0;
  background: #fbfbfb;
  font-size: 16px;
}

.feed-preview.result-card {
  max-width: none;
  margin: 24px 0;
  padding: 26px 28px;
}

.feed-preview.result-card .feed-preview-heading {
  margin-bottom: 14px;
}

.feed-preview.result-card .feed-preview-title {
  margin: 0;
}

.feed-preview.result-card .feed-preview-grid {
  max-height: 560px;
  padding: 14px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fbfbfb;
}

.feed-preview.result-card .feed-card {
  border: 0;
  box-shadow: 0 0 10px 0 rgba(2, 3, 3, .08);
}

.feed-preview.result-card .feed-card p {
  margin: 0;
}

/* ----- Base64 ----- */

.b64-page {
  padding-bottom: 70px;
}

.b64-error {
  margin: 4px 0 14px;
  padding: 10px 14px;
  border: 1px solid #f3c6cf;
  border-radius: 8px;
  background: #fdeff2;
  color: #b4234a;
  font-size: 14px;
}

.b64-error[hidden] {
  display: none;
}

.b64-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.b64-check {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

.b64-check input {
  margin-right: 6px;
}

.b64-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.b64-actions .button {
  padding: 0 26px;
  cursor: pointer;
}

.b64-actions .b64-secondary {
  color: #1F65DB;
  border: 1px solid #1F65DB;
  line-height: 3;
  background: #fff;
}

.b64-actions .b64-secondary:hover,
.b64-actions .b64-secondary:focus {
  color: #fff;
  background: #1F65DB;
}

.b64-actions .button[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.b64-stats {
  min-height: 20px;
  margin: 14px 0 0;
  color: #979797;
  font-size: 13px;
}

.b64-page textarea.form-control {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  resize: vertical;
}

.b64-actions {
  align-items: center;
}

.b64-options {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.b64-opt {
  min-width: 170px;
}

.b64-opt[hidden],
.b64-input-text[hidden],
.b64-input-file[hidden],
.b64-link[hidden],
.b64-badge[hidden],
.b64-filebox[hidden],
.b64-filebox img[hidden] {
  display: none;
}

.b64-opt-label,
.b64-label-text {
  display: block;
  margin-bottom: 6px;
  color: #666;
  font-size: 13px;
  font-weight: 600;
}

.b64-opt .form-control {
  height: 40px;
  padding: 6px 12px;
  font-size: 14px;
}

.b64-opt-checks .b64-check {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
}

.b64-check code {
  font-size: 12px;
}

.b64-seg {
  display: inline-flex;
  border: 1px solid #d5deea;
  border-radius: 20px;
  overflow: hidden;
}

.b64-seg-btn {
  padding: 8px 22px;
  border: 0;
  background: #fff;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.b64-seg-btn.active {
  background: #1F65DB;
  color: #fff;
}

.b64-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  margin-bottom: 6px;
}

.b64-field-head label {
  margin: 0;
}

.b64-link {
  padding: 0;
  border: 0;
  background: none;
  color: #1F65DB;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.b64-link:hover,
.b64-link:focus {
  color: #ED355B;
}

.b64-badge {
  padding: 2px 10px;
  border-radius: 12px;
  background: #eef3fd;
  color: #1F65DB;
  font-size: 12px;
  font-weight: 700;
}

.b64-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 245px;
  margin: 0;
  padding: 20px;
  border: 2px dashed #c6d3e6;
  border-radius: 8px;
  background: #fbfcfe;
  text-align: center;
  font-weight: 400;
  cursor: pointer;
  transition: all .2s ease;
}

.b64-drop:hover,
.b64-drop.is-over,
.b64-drop:focus-within {
  border-color: #1F65DB;
  background: #f2f6fe;
}

.b64-drop-icon {
  margin-bottom: 10px;
  color: #1F65DB;
  font-size: 30px;
}

.b64-drop-title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.b64-drop-sub {
  margin-top: 4px;
  color: #979797;
  font-size: 13px;
}

.b64-drop-file {
  margin-top: 12px;
  color: #1F65DB;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.b64-filebox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fbfbfb;
}

.b64-filebox img {
  min-width: 48px;
  max-width: 160px;
  max-height: 120px;
  object-fit: contain;
  border: 1px solid #eee;
  background: #fff;
  image-rendering: pixelated;
}

.b64-fileinfo {
  margin: 0;
  font-size: 14px;
}

.b64-fileinfo dt {
  float: left;
  clear: left;
  width: 70px;
  color: #979797;
  font-weight: 600;
}

.b64-fileinfo dd {
  margin: 0 0 2px 70px;
  color: #333;
}

/* ----- пояснения на странице Base64 ----- */

.b64-info .page-card {
  margin-bottom: 24px;
}

.b64-tldr {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: 6px;
  padding: 14px 18px;
  border-left: 4px solid #1F65DB;
  border-radius: 0 8px 8px 0;
  background: #f2f6fe;
  color: #333;
}

.b64-tldr-label {
  color: #1F65DB;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.b64-info .b64-steps {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.b64-steps li {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.b64-steps li:last-child {
  margin-bottom: 0;
}

.b64-step-num {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-image: linear-gradient(293deg, #ED355B 0%, #1F65DB 100%);
  color: #fff;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
}

.b64-steps h3 {
  margin: 2px 0 6px;
  font-size: 17px;
}

.b64-steps p {
  margin: 0;
}

.b64-table-wrap {
  margin-bottom: 14px;
  overflow-x: auto;
}

.b64-table {
  margin-bottom: 0;
  font-size: 14px;
}

.b64-table > thead > tr > th {
  border-bottom: 2px solid #1F65DB;
  color: #283d59;
  font-weight: 700;
  white-space: nowrap;
}

.b64-table > tbody > tr > td {
  border-top: 1px solid #eee;
  color: #555;
}

.b64-cheat > tbody > tr > td:first-child {
  color: #283d59;
  font-weight: 600;
  white-space: nowrap;
}

.b64-examples {
  margin-top: 6px;
}

.b64-example {
  height: calc(100% - 16px);
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fbfbfb;
}

.b64-example h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

/* ----- Open Graph checker and generator ----- */

.og-page {
  padding-bottom: 70px;
}

.og-page .fv-panel {
  margin-bottom: 28px;
}

.og-panel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 20px;
}

.og-panel-heading h2 {
  margin: 0 0 6px;
  color: #283d59;
  font-size: 24px;
}

.og-panel-heading p {
  margin: 0;
  color: #777;
}

.og-panel-heading .b64-link {
  margin-top: 7px;
}

.og-scan-row {
  display: flex;
  gap: 8px;
}

.og-scan-row .form-control {
  min-width: 0;
  flex: 1 1 auto;
  height: 40px;
}

.og-scanner .button {
  height: 40px;
  padding: 0 22px;
  border: 0;
  color: #fff;
  line-height: 40px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.og-privacy,
.og-privacy-note {
  color: #777;
  font-size: 13px;
}

.og-privacy {
  margin: -6px 0 0;
}

.og-message {
  margin-top: 18px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  overflow-wrap: anywhere;
}

.og-message[hidden],
.og-scan-result[hidden] {
  display: none;
}

.og-message-error {
  border-color: #f3c6cf;
  background: #fdeff2;
  color: #a92345;
}

.og-message-loading {
  border-color: #d7e2f4;
  background: #f2f6fe;
  color: #1F65DB;
}

.og-message-success {
  border-color: #b9e7d0;
  background: #effaf4;
  color: #267749;
}

.og-result-summary {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fbfbfb;
}

.og-result-summary > div {
  min-width: 0;
  flex: 1;
}

.og-result-summary h3 {
  margin: 0 0 8px;
  color: #283d59;
  overflow-wrap: anywhere;
}

.og-result-summary p {
  color: #666;
  overflow-wrap: anywhere;
}

.og-result-summary a {
  overflow-wrap: anywhere;
}

.og-result-summary img {
  flex: 0 0 180px;
  width: 180px;
  max-height: 120px;
  object-fit: cover;
  border-radius: 5px;
}

.og-result-summary img[hidden],
.og-preview img[hidden] {
  display: none;
}

.og-scan-result > h3,
.og-extracted h3 {
  margin: 18px 0 10px;
  color: #283d59;
  font-size: 18px;
}

.og-issues {
  margin: 0;
  padding: 0;
  list-style: none;
}

.og-issues li {
  margin: 8px 0;
  padding: 10px 12px;
  border-left: 3px solid #e4a23a;
  border-radius: 0 5px 5px 0;
  background: #fff9ed;
  color: #555;
}

.og-issues .og-issue-error {
  border-left-color: #d94a61;
  background: #fff2f4;
}

.og-issues .og-issue-success {
  border-left-color: #35a66f;
  background: #effaf4;
}

.og-issues code {
  margin-right: 5px;
  color: #1F65DB;
}

.og-extracted dl {
  display: grid;
  grid-template-columns: minmax(115px, 1fr) 3fr;
  margin: 0;
  border-top: 1px solid #eee;
}

.og-extracted dt,
.og-extracted dd {
  margin: 0;
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  overflow-wrap: anywhere;
}

.og-extracted dt {
  color: #555;
}

.og-extracted dd {
  color: #777;
}

.og-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: #666;
  font-size: 13px;
}

.og-field-head label {
  margin: 0;
}

.og-field-head .over-limit {
  color: #c43e57;
}

.og-fields .form-group {
  margin-bottom: 16px;
}

.og-fields .form-control {
  height: 40px;
}

.og-fields select.form-control {
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.5;
}

.og-fields textarea.form-control {
  height: auto;
  min-height: 88px;
  resize: vertical;
}

.og-fields .help-block {
  margin-bottom: 0;
  font-size: 12px;
}

.og-preview-card {
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fbfbfb;
}

.og-network-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 12px 0;
}

.og-network-tabs button {
  padding: 6px 10px;
  border: 1px solid #dce3ed;
  border-radius: 16px;
  background: #fff;
  color: #666;
  font-size: 12px;
  cursor: pointer;
}

.og-network-tabs button.active {
  border-color: #1F65DB;
  background: #1F65DB;
  color: #fff;
}

.og-preview {
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #222;
}

.og-preview img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  background: #f2f4f8;
}

.og-preview-meta {
  padding: 12px 14px;
}

.og-preview-domain {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 11px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.og-preview-meta h3 {
  margin: 0 0 6px;
  color: #222;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.og-preview-meta p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.og-preview-x {
  max-width: 480px;
  margin: 0 auto;
  border-radius: 14px;
}

.og-preview-x img {
  max-height: 260px;
}

.og-preview-linkedin .og-preview-meta {
  padding: 10px 12px;
}

.og-preview-discord {
  border-left: 4px solid #5865f2;
}

.og-preview-discord .og-preview-meta {
  padding: 10px 12px;
}

.og-code-panel {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.og-code-panel pre {
  max-height: 360px;
  margin: 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid #e5eaf1;
  border-radius: 7px;
  background: #f7f9fc;
  color: #283d59;
  font-size: 12px;
  white-space: pre;
  overflow-wrap: normal;
}

.og-copy-message {
  min-height: 18px;
  margin-top: 7px;
  color: #267749;
  font-size: 12px;
}

.og-guide {
  margin-bottom: 28px;
}

.og-guide h2 {
  margin-top: 0;
  color: #283d59;
}

.og-guide h3 {
  margin-top: 24px;
  color: #283d59;
  font-size: 18px;
}

.og-guide ol {
  padding-left: 22px;
}

.og-guide li {
  margin-bottom: 7px;
  color: #555;
}

.og-privacy-note {
  margin: 18px 0 0 !important;
  padding: 12px 14px;
  border-left: 3px solid #1F65DB;
  background: #f2f6fe;
}

@media (max-width: 767px) {
  .og-scan-row {
    flex-direction: column;
  }

  .og-scan-row .button {
    width: 100%;
  }

  .og-result-summary {
    flex-direction: column;
  }

  .og-result-summary img {
    flex: 0 1 auto;
    width: 100%;
    max-height: 220px;
  }

  .og-extracted dl {
    grid-template-columns: minmax(100px, 1fr) 2fr;
  }
}

.b64-example p {
  margin: 0 0 10px;
  font-size: 14px;
}

.b64-ex-label {
  margin: 0 0 3px !important;
  color: #979797 !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.b64-ex-code {
  padding: 8px 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  color: #283d59 !important;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px !important;
  overflow-wrap: anywhere;
}

.b64-faq details {
  border-bottom: 1px solid #eee;
}

.b64-faq details:last-child {
  border-bottom: 0;
}

.b64-faq summary {
  padding: 14px 28px 14px 0;
  position: relative;
  color: #283d59;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.b64-faq summary::-webkit-details-marker {
  display: none;
}

.b64-faq summary:after {
  position: absolute;
  top: 12px;
  right: 4px;
  color: #1F65DB;
  content: "+";
  font-size: 22px;
  font-weight: 400;
}

.b64-faq details[open] > summary:after {
  content: "\2212";
}

.b64-faq details > p {
  margin: 0 0 14px;
}

@media (max-width: 767px) {
  .b64-options {
    gap: 14px;
  }

  .b64-opt {
    flex: 1 1 100%;
  }

  .b64-actions .button {
    padding: 0 18px;
  }

  .b64-steps li {
    gap: 12px;
  }
}

/* ----- внутренние страницы ----- */

.fv-page {
  padding: 60px 0 70px;
}

.page-card {
  margin-bottom: 24px;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 15px 0 rgba(2, 3, 3, .1);
  font-weight: 400;
}

.page-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.page-card h3 {
  margin: 24px 0 12px;
  font-size: 20px;
}

.page-card p,
.page-card li {
  color: #555;
}

.page-card p {
  margin: 0 0 14px;
}

.page-card ul {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}

.page-card ol {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: decimal;
}

.page-card li {
  margin-bottom: 6px;
}

.page-card a {
  color: #1F65DB;
}

.page-card a:hover {
  color: #ED355B;
}

.page-card > :last-child {
  margin-bottom: 0;
}

.page-card section + section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.about-toc {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 15px 0 rgba(2, 3, 3, .1);
  font-weight: 400;
}

.about-toc h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.about-toc .nav > li > a {
  margin: 0;
  padding: 7px 0;
  color: #555;
}

.about-toc .nav > li > a:hover,
.about-toc .nav > li > a:focus {
  background: transparent;
  color: #1F65DB;
}

@media (min-width: 992px) {
  .about-toc {
    position: sticky;
    top: 90px;
  }
}

@media (max-width: 767px) {
  .fv-panel {
    padding: 6px 18px 22px;
  }

  .fv-tabs {
    margin: 0 -18px;
    padding: 0 8px;
  }

  .fv-tabs > li > a {
    margin-right: 0;
    padding: 14px 8px;
    font-size: 13px;
  }

  .navbar-brand .logo {
    font-size: 21px;
  }

  .result-card,
  .page-card {
    padding: 20px 18px;
  }

  .result-card h2,
  .page-card h2 {
    font-size: 22px;
  }
}

/* ----- Генератор favicon ----- */

.fav-page {
  padding-bottom: 70px;
}

.fav-page [hidden] {
  display: none !important;
}

.fav-page .b64-options .form-control {
  width: 100%;
}

.fav-page select.form-control {
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.5;
}

.fav-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 22px;
  margin-top: 16px;
}

.fav-field label {
  display: block;
  margin-bottom: 4px;
  color: #283d59;
  font-size: 13px;
  font-weight: 700;
}

.fav-field input[type="color"] {
  width: 56px;
  height: 36px;
  padding: 2px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.fav-field input[type="range"] {
  width: 170px;
}

.fav-field-check {
  margin-bottom: 8px;
}

.fav-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  background: #f7f9fc;
}

.fav-browser {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 16px 7px 12px;
  border: 1px solid #dfe3ea;
  border-radius: 8px 8px 0 0;
  background: #fff;
  color: #283d59;
  font-size: 13px;
}

.fav-browser canvas {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.fav-sizes,
.fav-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

.fav-sizes figure,
.fav-strip figure {
  margin: 0;
  text-align: center;
}

.fav-sizes canvas,
.fav-strip canvas,
.fav-anim {
  display: block;
  margin: 0 auto;
  background-color: #fff;
  background-image: linear-gradient(45deg, #e9edf3 25%, transparent 25%, transparent 75%, #e9edf3 75%),
    linear-gradient(45deg, #e9edf3 25%, transparent 25%, transparent 75%, #e9edf3 75%);
  background-position: 0 0, 4px 4px;
  background-size: 8px 8px;
}

.fav-sizes figcaption,
.fav-strip figcaption {
  margin-top: 4px;
  color: #7a8699;
  font-size: 11px;
}

.fav-empty {
  margin: 0;
  color: #7a8699;
}

.fav-anim {
  width: 128px;
  height: 128px;
  image-rendering: pixelated;
}

.fav-strip {
  margin: 16px 0;
  gap: 8px;
}

.fav-strip canvas {
  width: 40px;
  height: 40px;
}

@media (max-width: 767px) {
  .fav-preview {
    margin-top: 16px;
  }
}
