/* ============================================================
   Image Alt Text Checker  –  #iatcTool
   Prefix: iatc
   ============================================================ */

#iatcTool {
  --iatc-green:   #16a34a;
  --iatc-red:     #ef4444;
  --iatc-orange:  #d97706;
  --iatc-blue:    var(--blue-100);
  --iatc-mono:    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

#iatcTool.tool-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--berry-black-60-opacity10);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(10, 5, 35, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#iatcTool [hidden] { display: none !important; }

#iatcTool *,
#iatcTool *::before,
#iatcTool *::after { box-sizing: border-box; }

/* ---- Section title ---- */
#iatcTool .section-title {
  font-weight: 700;
  color: var(--berry-black-60);
  margin: 2px 0 10px;
  font-size: 18px;
}

/* ---- URL input row ---- */
#iatcTool .iatc-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

#iatcTool #urlInput {
  flex: 1 1 0;
  border-radius: 12px;
  border: 1px solid var(--berry-black-60-opacity33);
  background: var(--white);
  padding: 0 14px;
  font-size: 16px;
  height: 50px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  color: var(--berry-black-60);
  min-width: 0;
}

#iatcTool #urlInput:focus {
  border-color: rgba(0, 106, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 106, 255, 0.12);
}

@media (max-width: 600px) {
  /* Reduce tool-shell inner padding on mobile */
  #iatcTool.tool-shell {
    padding: 16px 14px;
    border-radius: 14px;
  }
}

/* ---- Buttons ---- */
#iatcTool .tool-btn {
  width: auto;
  flex-shrink: 0;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  gap: 10px;
  white-space: nowrap;
  border: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.00)), var(--turquoise-specialdark);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(10, 5, 35, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#iatcTool .tool-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.96) saturate(1.05);
  box-shadow: 0 20px 38px rgba(10, 5, 35, 0.18);
}

#iatcTool .tool-btn:active {
  transform: translateY(0);
  filter: brightness(0.94) saturate(1.05);
}

#iatcTool .tool-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 184, 222, 0.20), 0 20px 38px rgba(10, 5, 35, 0.18);
}

#iatcTool .tool-btn .icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#iatcTool .tool-btn .icon svg { display: block; width: 18px; height: 18px; }

#iatcTool .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

#iatcTool .btn:active { transform: translateY(1px); }

#iatcTool .btn-success {
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: var(--iatc-green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(10, 5, 35, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  font-size: 14px;
}

#iatcTool .btn-success:hover {
  transform: translateY(-1px);
  filter: brightness(0.96) saturate(1.05);
  box-shadow: 0 12px 28px rgba(10, 5, 35, 0.16);
}

#iatcTool .btn-success .icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#iatcTool .btn-success .icon svg { display: block; width: 16px; height: 16px; }

#iatcTool .btn[disabled],
#iatcTool button[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

/* ---- Progress ---- */
#iatcTool .progress {
  margin-top: 14px;
  border: 1px solid var(--berry-black-60-opacity10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 14px 16px;
}

#iatcTool .progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: var(--berry-black-60-opacity80, #555);
  font-weight: 600;
}

#iatcTool .progress-spin svg {
  width: 22px;
  height: 22px;
  display: block;
  animation: iatc-spin 0.85s linear infinite;
  color: var(--turquoise-specialdark, #00b8de);
}

@keyframes iatc-spin {
  to { transform: rotate(360deg); }
}

/* ---- Filter tabs bar ---- */
#iatcTool .iatc-tabs-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--berry-black-60-opacity10);
}

#iatcTool .iatc-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

#iatcTool .iatc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--berry-black-60-opacity10);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  color: var(--berry-black-60);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

#iatcTool .iatc-tab.active {
  background: var(--berry-black-60, #1a0a35);
  color: #fff;
  border-color: var(--berry-black-60, #1a0a35);
}

#iatcTool .iatc-tab:hover:not(.active) {
  background: rgba(10, 5, 35, 0.06);
  border-color: rgba(10, 5, 35, 0.18);
}

#iatcTool .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(10, 5, 35, 0.09);
  color: inherit;
}

#iatcTool .iatc-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.22);
}

/* ---- Toolbar ---- */
#iatcTool .iatc-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  /* Pre-allocate width = Show-html btn (~110px) + gap (8px) + search icon+expanded input (~210px).
     This means the toolbar NEVER changes size when the search expands, so the tabs row
     never reflows or wraps to a new line. */
  min-width: 330px;
  overflow: hidden;
}

#iatcTool .iatc-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--berry-black-60-opacity10);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  color: var(--berry-black-60);
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

#iatcTool .iatc-icon-btn:hover {
  background: rgba(10, 5, 35, 0.05);
  border-color: rgba(10, 5, 35, 0.18);
}

#iatcTool .iatc-icon-btn[aria-pressed="true"] {
  background: rgba(0, 106, 255, 0.1);
  border-color: rgba(0, 106, 255, 0.35);
  color: var(--iatc-blue, #006aff);
}

#iatcTool .iatc-icon-btn svg {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}

/* Search label behaves as a toggle that reveals the input */
#iatcTool label.iatc-icon-btn {
  cursor: pointer;
}

#iatcTool #searchInput {
  width: 0;
  border: 0;
  padding: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--berry-black-60);
  transition: width 0.25s ease;
  overflow: hidden;
}

#iatcTool label.iatc-icon-btn:focus-within #searchInput,
#iatcTool #searchInput:not(:placeholder-shown) {
  width: 160px;
  padding: 0 4px;
}

@media (max-width: 640px) {
  /* On mobile let the toolbar wrap below the tabs */
  #iatcTool .iatc-toolbar {
    flex: 1 1 100%;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 6px;
    overflow: hidden;
  }
  #iatcTool label.iatc-icon-btn:focus-within #searchInput,
  #iatcTool #searchInput:not(:placeholder-shown) { width: 120px; }
}

/* ---- Download button in toolbar ---- */
#iatcTool .iatc-dl-btn {
  height: 36px;
  font-size: 13px;
  padding: 0 14px;
  border-radius: 999px;
}

/* ---- Card list ---- */
#iatcTool .iatc-card-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--berry-black-60-opacity10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
}

#iatcTool .iatc-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--berry-black-60-opacity10);
  align-items: start;
  transition: background 0.12s;
}

#iatcTool .iatc-card:last-child { border-bottom: 0; }
#iatcTool .iatc-card:hover { background: rgba(10, 5, 35, 0.02); }

#iatcTool .iatc-card[data-status="alt-missing"] { border-left: 3px solid var(--iatc-red); }
#iatcTool .iatc-card[data-status="warning"]     { border-left: 3px solid var(--iatc-orange); }
#iatcTool .iatc-card[data-status="success"]     { border-left: 3px solid var(--iatc-green); }
#iatcTool .iatc-card[data-status="decorative"]  { border-left: 3px solid #94a3b8; }

/* ---- Thumbnail ---- */
#iatcTool .iatc-thumb {
  width: 80px;
  height: 60px;
  overflow: hidden;
  border: 1px solid var(--berry-black-60-opacity10);
  background: rgba(10, 5, 35, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#iatcTool .iatc-thumb img {
  max-width: calc(100% - 8px);
  max-height: calc(100% - 8px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

#iatcTool .iatc-thumb .iatc-thumb-placeholder {
  width: 28px;
  height: 28px;
  color: var(--berry-black-60-opacity60, #999);
}

#iatcTool .iatc-thumb .iatc-thumb-placeholder svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Broken / missing image placeholder via CSS */
#iatcTool .iatc-thumb[data-broken="1"] {
  background: rgba(10, 5, 35, 0.04);
}

#iatcTool .iatc-thumb[data-broken="1"]::after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='3' width='18' height='18' rx='3' stroke='%23aaa' stroke-width='1.5'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5' stroke='%23aaa' stroke-width='1.5'/%3E%3Cpath d='M3 16l5-5 4 4 3-3 6 6' stroke='%23aaa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ---- Card info ---- */
#iatcTool .iatc-card-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

#iatcTool .iatc-alt-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

#iatcTool .iatc-alt-label {
  font-size: 12px;
  color: var(--berry-black-60-opacity60, #888);
  flex-shrink: 0;
}

#iatcTool .iatc-alt-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--berry-black-60);
  overflow-wrap: anywhere;
  word-break: break-word;
}

#iatcTool .iatc-alt-value.is-missing {
  color: var(--iatc-red);
  font-style: italic;
}

#iatcTool .iatc-alt-value.is-decorative {
  color: #92400e;
  font-style: italic;
}

#iatcTool .iatc-src-link {
  font-size: 13px;
  color: var(--iatc-blue, #006aff);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-all;
  display: block;
  line-height: 1.4;
}

#iatcTool .iatc-src-link:hover { text-decoration: underline; }

/* Decorative verify hint */
#iatcTool .iatc-decorative-hint {
  margin: 5px 0 0;
  font-size: 11.5px;
  color: #92400e;
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.20);
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1.45;
}

/* Raw HTML snippet */
#iatcTool .iatc-html-snippet {
  margin-top: 6px;
  border: 1px solid var(--berry-black-60-opacity10);
  border-radius: 8px;
  background: rgba(10, 5, 35, 0.03);
  padding: 8px 10px;
  font-family: var(--iatc-mono);
  font-size: 12px;
  color: var(--berry-black-60);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
  /* Snippet is a direct grid child — spans all columns so it fills the full card width */
  grid-column: 1 / -1;
}

/* ---- Badge ---- */
#iatcTool .iatc-badge-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

#iatcTool .iatc-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Color per status */
#iatcTool .iatc-count-badge.badge-success {
  background: rgba(22, 163, 74, 0.12);
  color: var(--iatc-green);
  border: 1px solid rgba(22, 163, 74, 0.24);
}

#iatcTool .iatc-count-badge.badge-warning {
  background: rgba(217, 119, 6, 0.12);
  color: var(--iatc-orange);
  border: 1px solid rgba(217, 119, 6, 0.28);
}

#iatcTool .iatc-count-badge.badge-missing {
  background: rgba(239, 68, 68, 0.10);
  color: var(--iatc-red);
  border: 1px solid rgba(239, 68, 68, 0.24);
}

#iatcTool .iatc-count-badge.badge-decorative {
  background: rgba(217, 119, 6, 0.10);
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.28);
}

/* Status pill (small label under badge) */
#iatcTool .iatc-status-pill {
  font-size: 11px;
  font-weight: 600;
}

#iatcTool .iatc-status-pill.pill-success   { color: var(--iatc-green); }
#iatcTool .iatc-status-pill.pill-warning   { color: var(--iatc-orange); }
/* pill-missing & pill-decorative duplicate the badge text — hide them */
#iatcTool .iatc-status-pill.pill-missing,
#iatcTool .iatc-status-pill.pill-decorative { display: none; }

/* ---- No-results / empty state ---- */
#iatcTool .iatc-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--berry-black-60-opacity60, #888);
  font-size: 14px;
  font-weight: 500;
}

/* ---- Issues table ---- */
#iatcTool .iatc-issues-table {
  margin-top: 24px;
}

#iatcTool .issues-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--berry-black-60);
  margin: 0 0 12px;
}

#iatcTool .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--berry-black-60-opacity10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

#iatcTool table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

#iatcTool thead th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(10, 5, 35, 0.03);
  border-bottom: 1px solid var(--berry-black-60-opacity10);
  font-size: 13px;
  font-weight: 700;
  color: var(--berry-black-60);
}

#iatcTool tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--berry-black-60-opacity10);
  vertical-align: top;
  font-size: 14px;
  color: var(--berry-black-60);
  line-height: 1.5;
}

#iatcTool tbody tr:last-child td { border-bottom: 0; }

#iatcTool .issue-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

#iatcTool .issue-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  flex-shrink: 0;
}

#iatcTool .issue-icon.warn  { background: #fef3c7; color: var(--iatc-orange); }
#iatcTool .issue-icon.error { background: #fee2e2; color: var(--iatc-red); }

#iatcTool .recs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#iatcTool .recs-list li {
  padding: 2px 0;
  font-size: 13px;
}

#iatcTool .recs-list li::before {
  content: "> ";
  color: var(--berry-black-60-opacity60, #888);
}

/* Mobile: 2-column layout (thumb | info), badge pinned to top-right corner */
@media (max-width: 600px) {
  /* Stack input full-width, button full-width on its own row below */
  #iatcTool .iatc-input-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  #iatcTool #urlInput {
    display: block;
    flex: none;
    align-self: stretch;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    min-height: 50px;
    font-size: 15px;
    border-radius: 999px;
    padding: 0 18px;
  }

  #iatcTool .tool-btn {
    display: flex;
    height: 50px;
    min-height: 50px;
    width: auto;
    min-width: 200px;
    align-self: center;
    box-sizing: border-box;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(10, 5, 35, 0.14);
  }

  #iatcTool .tool-btn .icon {
    display: inline-flex;
  }

  #iatcTool .iatc-card {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    position: static;
    gap: 10px;
    padding: 12px 10px;
  }

  #iatcTool .iatc-thumb {
    width: 56px;
    height: 56px;
  }

  /* Badge stays in normal grid flow — no overlap */
  #iatcTool .iatc-badge-col {
    position: static;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  /* Remove the old padding reserved for the absolute badge */
  #iatcTool .iatc-card-info {
    padding-right: 0;
  }

  /* Smaller alt text + URL on mobile — all match at 11px */
  #iatcTool .iatc-alt-label,
  #iatcTool .iatc-alt-value,
  #iatcTool .iatc-src-link,
  #iatcTool .iatc-decorative-hint {
    font-size: 11px;
  }
}

/* ---- Issues Guide Table ---- */
.iatc-issues-guide {
  margin-top: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.iatc-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.iatc-guide-table thead tr {
  background: #f8f9fb;
}

.iatc-guide-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  color: #1e1b2e;
  border-bottom: 1px solid #e2e8f0;
}

.iatc-guide-table td {
  padding: 20px;
  vertical-align: middle;
  border-bottom: 1px solid #e2e8f0;
  color: #444;
  line-height: 1.6;
}

.iatc-guide-table td:first-child {
  border-right: 1px solid #e2e8f0;
}

.iatc-guide-table tbody tr:last-child td {
  border-bottom: 0;
}

.iatc-guide-table td:first-child {
  width: 220px;
  white-space: nowrap;
  font-weight: 600;
  color: #1e1b2e;
}

.iatc-guide-td-issue {
  display: flex;
  align-items: center;
  gap: 9px;
}

.iatc-guide-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.iatc-guide-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.iatc-guide-table td ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.iatc-guide-table td ul li {
  display: flex;
  gap: 6px;
}

.iatc-guide-table td ul li::before {
  content: '>';
  color: #94a3b8;
  flex-shrink: 0;
  font-weight: 600;
}

@media (max-width: 600px) {
  .iatc-guide-table,
  .iatc-guide-table thead,
  .iatc-guide-table tbody,
  .iatc-guide-table tr,
  .iatc-guide-table th,
  .iatc-guide-table td {
    display: block;
    width: 100%;
  }

  .iatc-guide-table thead {
    display: none;
  }

  .iatc-guide-table td:first-child {
    white-space: normal;
    font-weight: 700;
    font-size: 14px;
    padding-bottom: 8px;
    border-right: 0;
    border-bottom: 0;
  }

  .iatc-guide-table td {
    padding: 14px 16px;
  }

  .iatc-guide-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
  }

  .iatc-guide-table tbody tr:last-child {
    border-bottom: 0;
  }
}

/* ---- Content + FAQ ---- */
#iatcContent.content-card {
  margin-top: 100px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#iatcContent h2 {
  margin: 0 0 12px 0;
  color: black;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}

#iatcContent h3 {
  margin: 18px 0 8px;
  color: black;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

#iatcContent p {
  margin: 0 0 12px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

#iatcContent code {
  font-family: var(--iatc-mono);
  font-size: 14px;
  background: rgba(10, 5, 35, 0.05);
  border-radius: 4px;
  padding: 1px 5px;
}

#iatcContent ol,
#iatcContent ul {
  margin: 0 0 12px;
  padding-left: 26px;
  list-style-position: outside;
  color: black;
  line-height: 1.55;
}

#iatcContent ul { list-style: disc; }
#iatcContent ol { list-style: decimal; }

#iatcContent li {
  margin: 0 0 8px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  display: list-item;
  padding-left: 6px;
}

/* FAQ styles */
#iatcContent .serp-faq.FaqSection .FaqTitle h2 { margin-bottom: 30px; }

#iatcContent .serp-faq.first-faq-block .accordian-wrapper {
  background: linear-gradient(138deg, #fff0 0%, #fff0 100%);
  padding: .15rem;
  border-radius: 15px;
  position: relative;
}

#iatcContent .serp-faq.first-faq-block .faq-boxes {
  background-color: #fff;
  backdrop-filter: blur(10px);
  padding: 0;
  border-radius: 15px;
  border: 2px solid #a200ff38;
}

#iatcContent .serp-faq.first-faq-block .faq-boxes.active {
  background-color: #FBF4FF;
  border: 2px solid #A200FF;
}

#iatcContent .serp-faq .accordion-body {
  padding: 0 15px 18px 22px;
  font-size: 20px;
  font-weight: 400;
  color: #000;
}

#iatcContent .serp-faq .accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 18px 15px 18px 22px;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff0;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;
  cursor: pointer;
}

#iatcContent .serp-faq .accordion-button h3 {
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
  color: #000;
}

#iatcContent .serp-faq.first-faq-block .get-started-faq-inner .accordion .accordion-item .accordion-button:not(.collapsed)::before {
  border: 6px solid #c3dae7;
  background-color: #0582d2;
  top: 28%;
}

#iatcContent .serp-faq .accordion-button:not(.collapsed) {
  color: #212529;
  background-color: #fff0;
  transition: 0.2s ease-in all;
  padding-bottom: 12px;
  border: 0;
  box-shadow: none;
}

#iatcContent .serp-faq .accordion-button:focus {
  z-index: 3;
  border-color: #cecbdc;
  outline: 0;
  box-shadow: 0 0 0 .25rem #fff0;
}

#iatcContent .serp-faq.first-faq-block .accordion-item {
  background-color: #fff0;
  border: 0 solid rgb(0 0 0 / .125);
  margin-bottom: 20px;
}

#iatcContent .serp-faq.first-faq-block .accordion-body p {
  font-size: 16px;
  color: #000;
  font-weight: 400;
  margin-bottom: 0;
  padding-right: 11%;
  line-height: 26px;
}

#iatcContent .serp-faq.first-faq-block .accordion-button:not(.collapsed)::after {
  content: "–";
  transform: none;
}

#iatcContent .serp-faq.first-faq-block .accordion-button::after {
  margin-left: auto;
  content: "+";
  width: 24px;
  height: 24px;
  min-width: 24px;
  flex: 0 0 24px;
  align-self: center;
  margin-right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #4A2574;
}

#iatcContent .serp-faq .accordion-collapse { display: none; }
#iatcContent .serp-faq .accordion-collapse.show { display: block; }

@media (max-width: 480px) {
  #iatcContent .serp-faq.first-faq-block .faq-boxes { padding-right: 18px; }
}

.main > .container { margin-bottom: 0; }
