/* =========================================================
   PDF FONT CHECKER
   EXACT PDF VERSION CHECKER VISUAL SYSTEM
   ========================================================= */

:root {
    --pfc-bg: #f3f6fb;
    --pfc-surface: #ffffff;
    --pfc-ink: #172033;
    --pfc-muted: #687386;
    --pfc-soft: #e8edf5;
    --pfc-line: #dce3ed;
    --pfc-primary: #315bea;
    --pfc-primary-dark: #2448c7;
    --pfc-primary-soft: #eef2ff;
    --pfc-success: #16845b;
    --pfc-danger: #d94747;
    --pfc-shadow: 0 24px 70px rgba(27, 43, 75, .10);
}


/* =========================================================
   FONT CHECKER PAGE
   ========================================================= */

.pdf-font-page {
    background: var(--pfc-bg);
    color: var(--pfc-ink);
}


/* =========================================================
   HERO
   ========================================================= */

.pdf-font-hero-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.pdf-font-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pdf-font-hero-text {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-font-hero-points {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 20px;
    color: var(--pfc-muted);
    font-size: 14px;
    line-height: 1.5;
}

.pdf-font-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


/* =========================================================
   TOOL SECTION
   ========================================================= */

.pdf-font-tool-section {
    padding-top: 0;
}

.pdf-font-tool-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 28px;
    background: var(--pfc-surface);
    border: 1px solid var(--pfc-line);
    border-radius: 22px;
    box-shadow: var(--pfc-shadow);
}


/* =========================================================
   UPLOAD FORM
   ========================================================= */

.pdf-font-upload-form {
    width: 100%;
}


/* =========================================================
   DROPZONE
   ========================================================= */

.pdf-font-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    padding: 34px 28px;
    border: 2px dashed var(--pfc-line);
    border-radius: 17px;
    background: #fbfcfe;
    text-align: center;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.pdf-font-dropzone:hover {
    border-color: var(--pfc-primary);
    background: var(--pfc-primary-soft);
}

.pdf-font-dropzone.is-dragging {
    border-color: var(--pfc-primary);
    background: var(--pfc-primary-soft);
    box-shadow: 0 0 0 4px rgba(49, 91, 234, .08);
}


/* =========================================================
   PDF ICON
   ========================================================= */

.pdf-font-upload-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 78px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: var(--pfc-primary-soft);
    color: var(--pfc-primary);
    box-shadow: inset 0 0 0 1px #dbe3ff;
}

.pdf-font-upload-icon::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 19px;
    height: 19px;
    border-left: 1px solid #cbd5ff;
    border-bottom: 1px solid #cbd5ff;
    background: #ffffff;
    border-radius: 0 9px 0 8px;
}

.pdf-font-upload-icon span {
    position: relative;
    z-index: 2;
    margin-top: 9px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}


/* =========================================================
   UPLOAD TEXT
   ========================================================= */

.pdf-font-dropzone h2 {
    margin: 0 0 7px;
    color: var(--pfc-ink);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 750;
}

.pdf-font-dropzone p {
    margin: 0;
    color: var(--pfc-muted);
    font-size: 15px;
    line-height: 1.6;
}

.pdf-font-dropzone small {
    display: block;
    margin-top: 7px;
    color: #8993a3;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   BROWSE BUTTON
   ========================================================= */

.pdf-font-dropzone .pdf-version-browse-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    margin-top: 20px;
    padding: 0 18px;
    border: 1px solid #ccd6e6;
    border-radius: 10px;
    background: #ffffff;
    color: var(--pfc-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(27, 43, 75, .04);
    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease;
}

.pdf-font-dropzone:hover .pdf-version-browse-button {
    border-color: var(--pfc-primary);
    background: #ffffff;
    color: var(--pfc-primary-dark);
}


/* =========================================================
   SELECTED FILE
   ========================================================= */

.pdf-font-selected-file {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    gap: 14px !important;
    margin-top: 16px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--pfc-line) !important;
    border-radius: 12px !important;
    background: #fbfcfe !important;
    text-align: left !important;
}


/* =========================================================
   SELECTED FILE ICON
   ========================================================= */

.pdf-font-selected-file .pdf-font-selected-file-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: var(--pfc-primary-soft) !important;
    color: var(--pfc-primary) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: none !important;
}


/*
 * Prevent shared PDF icon styles from affecting
 * the small selected-file icon.
 */

.pdf-font-selected-file .pdf-font-selected-file-icon::before,
.pdf-font-selected-file .pdf-font-selected-file-icon::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   SELECTED FILE INFORMATION
   ========================================================= */

.pdf-font-selected-file .pdf-font-selected-file-info {
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}


/* =========================================================
   FILE LABEL
   ========================================================= */

.pdf-font-selected-file .pdf-font-file-label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    color: var(--pfc-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    white-space: nowrap !important;
}


/* =========================================================
   FILE NAME
   ========================================================= */

.pdf-font-selected-file .pdf-font-selected-file-info strong {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: var(--pfc-ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}


/* =========================================================
   REMOVE FILE BUTTON
   ========================================================= */

.pdf-font-selected-file .pdf-font-remove-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff0f0 !important;
    color: var(--pfc-danger) !important;
    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 34px !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transform: none !important;
}


/*
 * Prevent inherited/shared button pseudo-elements
 * from creating extra marks.
 */

.pdf-font-selected-file .pdf-font-remove-button::before,
.pdf-font-selected-file .pdf-font-remove-button::after {
    display: none !important;
    content: none !important;
}


.pdf-font-selected-file .pdf-font-remove-button:hover {
    background: #ffe3e3 !important;
    color: var(--pfc-danger) !important;
}


/* =========================================================
   CHECK BUTTON
   ========================================================= */

.pdf-font-check-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    border: 0;
    border-radius: 11px;
    background: var(--pfc-primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(49, 91, 234, .18);
    transition:
        background-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.pdf-font-check-button:hover:not(:disabled) {
    background: var(--pfc-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 11px 27px rgba(49, 91, 234, .23);
}

.pdf-font-check-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.pdf-font-progress {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--pfc-line);
    border-radius: 12px;
    background: #fbfcfe;
    text-align: center;
}

.pdf-font-spinner {
    width: 25px;
    height: 25px;
    margin: 0 auto 11px;
    border: 3px solid #dfe5f0;
    border-top-color: var(--pfc-primary);
    border-radius: 50%;
    animation: pfcSpin .75s linear infinite;
}

.pdf-font-progress p {
    margin: 0;
    color: var(--pfc-ink);
    font-size: 14px;
    font-weight: 700;
}

.pdf-font-progress span {
    display: block;
    margin-top: 5px;
    color: var(--pfc-muted);
    font-size: 12px;
}

@keyframes pfcSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   ERROR
   ========================================================= */

.pdf-font-error {
    margin-top: 18px;
    padding: 16px 17px;
    border: 1px solid #f0cccc;
    border-radius: 11px;
    background: #fff6f6;
    color: var(--pfc-danger);
}

.pdf-font-error strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.pdf-font-error p {
    margin: 0;
    color: #8c5050;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   RESULT
   ========================================================= */

.pdf-font-results {
    margin-top: 22px;
    padding: 24px;
}

.pdf-font-result-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.pdf-font-result-heading h2 {
    margin: 5px 0 7px;
    color: var(--pfc-ink);
    font-size: 23px;
    line-height: 1.3;
    font-weight: 800;
}

.pdf-font-result-heading p {
    margin: 0;
    color: var(--pfc-muted);
    font-size: 14px;
    line-height: 1.6;
}

.pdf-font-result-label {
    display: block;
}


/* =========================================================
   RESULT SUMMARY
   ========================================================= */

.pdf-font-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.pdf-font-summary-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--pfc-line);
    border-radius: 12px;
    background: #fbfcfe;
}

.pdf-font-summary-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--pfc-muted);
    font-size: 12px;
    font-weight: 650;
}

.pdf-font-summary-card strong {
    display: block;
    overflow: hidden;
    color: var(--pfc-ink);
    font-size: 17px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-font-summary-file {
    font-size: 14px !important;
}


/* =========================================================
   FONT RESULTS TABLE
   ========================================================= */

.pdf-font-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--pfc-line);
    border-radius: 13px;
    background: #ffffff;
}

.pdf-font-results-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

.pdf-font-results-table th {
    padding: 13px 15px;
    border-bottom: 1px solid var(--pfc-line);
    background: #f7f9fc;
    color: var(--pfc-ink);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
}

.pdf-font-results-table td {
    padding: 14px 15px;
    border-bottom: 1px solid var(--pfc-line);
    color: var(--pfc-muted);
    font-size: 13px;
    line-height: 1.5;
    vertical-align: middle;
}

.pdf-font-results-table tbody tr:last-child td {
    border-bottom: 0;
}

.pdf-font-results-table tbody tr:hover {
    background: #fbfcfe;
}

.pdf-font-results-table td strong {
    color: var(--pfc-ink);
    font-weight: 700;
}


/* =========================================================
   EMPTY RESULT
   ========================================================= */

.pdf-font-empty-result {
    margin-top: 16px;
    padding: 17px;
    border: 1px solid var(--pfc-line);
    border-radius: 11px;
    background: #fbfcfe;
}

.pdf-font-empty-result strong {
    display: block;
    margin-bottom: 5px;
    color: var(--pfc-ink);
    font-size: 14px;
}

.pdf-font-empty-result p {
    margin: 0;
    color: var(--pfc-muted);
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   RESULT NOTE
   ========================================================= */

.pdf-font-result-note {
    margin-top: 18px;
    padding: 16px 17px;
    border-left: 3px solid var(--pfc-primary);
    border-radius: 0 10px 10px 0;
    background: var(--pfc-primary-soft);
}

.pdf-font-result-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--pfc-ink);
    font-size: 13px;
}

.pdf-font-result-note p {
    margin: 0;
    color: var(--pfc-muted);
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

.pdf-font-content-section {
    padding: 0 0 68px;
}

.pdf-font-soft-section {
    background: transparent;
}

.pdf-font-content {
    max-width: 850px;
    margin: 0 auto;
}

.pdf-font-section-label {
    display: inline-block;
    margin-bottom: 11px;
    color: var(--pfc-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.4;
}

.pdf-font-content h2 {
    margin: 0 0 16px;
    color: var(--pfc-ink);
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: -.4px;
    font-weight: 800;
}

.pdf-font-content h3 {
    margin: 28px 0 10px;
    color: var(--pfc-ink);
    font-size: 19px;
    line-height: 1.4;
    font-weight: 750;
}

.pdf-font-content p {
    margin: 0 0 16px;
    color: var(--pfc-muted);
    font-size: 15px;
    line-height: 1.78;
}

.pdf-font-content p:last-child {
    margin-bottom: 0;
}

.pdf-font-content strong {
    color: var(--pfc-ink);
    font-weight: 700;
}


/* =========================================================
   CONTENT LIST
   ========================================================= */

.pdf-font-content-list {
    margin: 15px 0 20px;
    padding: 0;
    list-style: none;
}

.pdf-font-content-list li {
    position: relative;
    margin: 0;
    padding: 9px 0 9px 25px;
    color: var(--pfc-muted);
    font-size: 15px;
    line-height: 1.6;
}

.pdf-font-content-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 9px;
    color: var(--pfc-success);
    font-weight: 800;
}


/* =========================================================
   STEP LIST
   ========================================================= */

.pdf-font-steps-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    counter-reset: pdf-font-step;
}

.pdf-font-steps-list li {
    position: relative;
    min-height: 42px;
    margin-bottom: 11px;
    padding: 11px 15px 11px 52px;
    border: 1px solid var(--pfc-line);
    border-radius: 11px;
    background: #ffffff;
    color: var(--pfc-muted);
    font-size: 14px;
    line-height: 1.6;
    counter-increment: pdf-font-step;
}

.pdf-font-steps-list li::before {
    content: counter(pdf-font-step);
    position: absolute;
    left: 13px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--pfc-primary-soft);
    color: var(--pfc-primary);
    font-size: 12px;
    font-weight: 800;
    transform: translateY(-50%);
}

.pdf-font-steps-list li strong {
    color: var(--pfc-ink);
}


/* =========================================================
   RELATED CARDS
   ========================================================= */

.pdf-font-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 23px;
}

.pdf-font-related-card {
    display: block;
    padding: 18px;
    border: 1px solid var(--pfc-line);
    border-radius: 13px;
    background: #ffffff;
    text-decoration: none;
    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.pdf-font-related-card:hover {
    border-color: #c7d3e6;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(27, 43, 75, .06);
}

.pdf-font-related-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--pfc-ink);
    font-size: 15px;
    line-height: 1.4;
}

.pdf-font-related-card span {
    display: block;
    color: var(--pfc-muted);
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   RELATED SEARCHES
   ========================================================= */

.pdf-font-search-section {
    padding: 0 0 68px;
}

.pdf-font-search-box {
    max-width: 850px;
    margin: 0 auto;
    padding: 27px;
    border: 1px solid var(--pfc-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(27, 43, 75, .06);
}

.pdf-font-search-box h2 {
    margin: 0 0 9px;
    color: var(--pfc-ink);
    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.pdf-font-search-box p {
    margin: 0;
    color: var(--pfc-muted);
    font-size: 14px;
    line-height: 1.65;
}

.pdf-font-search-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.pdf-font-search-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--pfc-line);
    border-radius: 8px;
    background: #fbfcfe;
    color: var(--pfc-muted);
    font-size: 12px;
}


/* =========================================================
   FAQ
   ========================================================= */

.pdf-font-faq-section {
    padding: 0 0 68px;
}

.pdf-font-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.pdf-font-faq-item {
    border: 1px solid var(--pfc-line);
    border-radius: 13px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color .2s ease;
}

.pdf-font-faq-item:hover {
    border-color: #c8d3e3;
}

.pdf-font-faq-item summary {
    position: relative;
    padding: 17px 48px 17px 18px;
    color: var(--pfc-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.pdf-font-faq-item summary::-webkit-details-marker {
    display: none;
}

.pdf-font-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    color: var(--pfc-primary);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
}

.pdf-font-faq-item[open] summary::after {
    content: "−";
}

.pdf-font-faq-answer {
    padding: 0 18px 18px;
}

.pdf-font-faq-answer p {
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid var(--pfc-line);
    color: var(--pfc-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FINAL SUMMARY
   ========================================================= */

.pdf-font-summary-section {
    padding-bottom: 68px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.pdf-font-final-cta {
    padding: 0 0 75px;
}

.pdf-font-final-cta-inner {
    max-width: 850px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 20px;
    background: var(--pfc-primary);
    text-align: center;
    box-shadow: 0 20px 50px rgba(49, 91, 234, .18);
}

.pdf-font-final-cta-inner > span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.pdf-font-final-cta-inner h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}

.pdf-font-final-cta-inner p {
    max-width: 620px;
    margin: 10px auto 20px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.65;
}

.pdf-font-final-cta-inner .pdf-font-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 20px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--pfc-primary);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.pdf-font-final-cta-inner .pdf-font-cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.pdf-font-dropzone:focus-within,
.pdf-font-check-button:focus-visible,
.pdf-font-remove-button:focus-visible,
.pdf-font-cta-button:focus-visible {
    outline: 3px solid rgba(49, 91, 234, .20);
    outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE — 900px
   ========================================================= */

@media (max-width: 900px) {

    .pdf-font-tool-card {
        padding: 22px;
    }

    .pdf-font-content h2 {
        font-size: 27px;
    }
}


/* =========================================================
   RESPONSIVE — 650px
   ========================================================= */

@media (max-width: 650px) {

    .pdf-font-tool-card {
        padding: 16px;
        border-radius: 18px;
    }

    .pdf-font-dropzone {
        min-height: 225px;
        padding: 28px 18px;
    }

    .pdf-font-hero-points {
        flex-direction: column;
        gap: 6px;
    }

    .pdf-font-summary-grid {
        grid-template-columns: 1fr;
    }

    .pdf-font-result-heading {
        gap: 12px;
    }

    .pdf-font-result-heading h2 {
        font-size: 21px;
    }

    .pdf-font-results {
        padding: 18px;
    }

    .pdf-font-content-section,
    .pdf-font-search-section,
    .pdf-font-faq-section,
    .pdf-font-final-cta {
        padding-bottom: 52px;
    }

    .pdf-font-content h2 {
        font-size: 25px;
    }

    .pdf-font-content p,
    .pdf-font-content-list li {
        font-size: 14px;
    }

    .pdf-font-related-grid {
        grid-template-columns: 1fr;
    }

    .pdf-font-search-box {
        padding: 21px;
    }

    .pdf-font-final-cta-inner {
        padding: 27px 20px;
    }

    .pdf-font-final-cta-inner h2 {
        font-size: 24px;
    }


    /* -----------------------------------------------------
       SELECTED FILE — MOBILE
       ----------------------------------------------------- */

    .pdf-font-selected-file {
        gap: 11px !important;
        padding: 12px !important;
    }

    .pdf-font-selected-file .pdf-font-selected-file-icon {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        flex-basis: 40px !important;
    }

    .pdf-font-selected-file .pdf-font-remove-button {
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        flex-basis: 32px !important;
        font-size: 20px !important;
        line-height: 32px !important;
    }

    .pdf-font-selected-file .pdf-font-selected-file-info strong {
        font-size: 13px !important;
    }
}


/* =========================================================
   RESPONSIVE — 420px
   ========================================================= */

@media (max-width: 420px) {

    .pdf-font-tool-card {
        padding: 11px;
    }

    .pdf-font-dropzone {
        min-height: 205px;
        padding: 23px 12px;
    }

    .pdf-font-upload-icon {
        width: 60px;
        height: 70px;
        margin-bottom: 15px;
    }

    .pdf-font-dropzone h2 {
        font-size: 18px;
    }

    .pdf-font-dropzone p {
        font-size: 13px;
    }

    .pdf-font-selected-file {
        gap: 9px !important;
        padding: 11px !important;
    }

    .pdf-font-selected-file .pdf-font-selected-file-icon {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        flex-basis: 38px !important;
        border-radius: 8px !important;
    }

    .pdf-font-selected-file .pdf-font-remove-button {
        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        flex-basis: 30px !important;
        font-size: 19px !important;
        line-height: 30px !important;
    }

    .pdf-font-selected-file .pdf-font-file-label {
        font-size: 10px !important;
    }

    .pdf-font-selected-file .pdf-font-selected-file-info strong {
        font-size: 12px !important;
    }

    .pdf-font-results {
        padding: 14px;
    }

    .pdf-font-result-heading h2 {
        font-size: 19px;
    }

    .pdf-font-search-box {
        padding: 18px;
    }

    .pdf-font-final-cta-inner {
        padding: 24px 16px;
    }
}
/* =========================================================
   PDF FONT CHECKER - SELECTED FILE VISIBILITY
   ========================================================= */

.pdf-font-selected-file[hidden] {
    display: none !important;
}

.pdf-font-selected-file:not([hidden]) {
    display: flex !important;
}