/* =========================================================
   CONVERTNOVA - IMAGE TO PDF
   COMPLETE BODY CSS
   ========================================================= */


/* =========================================================
   1. GLOBAL PAGE
   ========================================================= */

body {
    margin: 0;
    background: #f7f9fc;
    color: #1f2937;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    line-height: 1.7;
}

main {
    width: 100%;
    overflow: hidden;
}

main a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   2. BREADCRUMB
   ========================================================= */

.breadcrumb-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 0;
    box-sizing: border-box;
}

.breadcrumb-wrapper .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.5;
}

.breadcrumb-wrapper .breadcrumb-item {
    display: flex;
    align-items: center;
    color: #64748b;
}

.breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 9px;
    color: #94a3b8;
}

.breadcrumb-wrapper .breadcrumb-item a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb-wrapper .breadcrumb-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb-wrapper .breadcrumb-item.active {
    color: #64748b;
    font-weight: 500;
}


/* =========================================================
   3. PAGE INTRODUCTION
   ========================================================= */

.converter-intro {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px 25px;
    box-sizing: border-box;
    text-align: center;
}

.converter-intro h1 {
    margin: 0 0 15px;
    padding: 0;
    color: #111827;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.6px;
}

.converter-intro p {
    max-width: 780px;
    margin: 0 auto;
    color: #5f6b7a;
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   4. MAIN CONVERTER CONTAINER
   ========================================================= */

main > .container {
    width: 100%;
}

.converter-card {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 55px;
    padding: 32px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.07);
}

.converter-card > p {
    color: #64748b;
    font-size: 16px;
}


/* =========================================================
   5. UPLOAD AREA
   ========================================================= */

.upload-area {
    position: relative;
    width: 100%;
    margin-top: 10px;
    padding: 45px 25px;
    box-sizing: border-box;
    text-align: center;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.upload-area:hover {
    border-color: #60a5fa;
    background: #f0f7ff;
    box-shadow: 0 5px 18px rgba(37, 99, 235, 0.06);
}

.upload-area:focus {
    outline: none;
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.12);
}

.upload-area.dragover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: scale(1.01);
    box-shadow:
        0 8px 25px rgba(37, 99, 235, 0.10);
}

.upload-icon {
    display: block;
    margin: 0 auto 15px;
    color: #16a34a;
    font-size: 52px;
    line-height: 1;
}

.upload-area h2 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
}

.upload-area p {
    margin: 5px 0;
    color: #64748b;
    font-size: 15px;
}

.upload-area .btn {
    margin-top: 15px;
}


/* =========================================================
   6. FILE SUMMARY
   ========================================================= */

.summary-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 30px;

    width: 100%;
    margin-bottom: 15px;
    padding: 15px 18px;
    box-sizing: border-box;

    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;

    color: #374151;
    font-size: 14px;
}

.summary-card strong {
    color: #1e3a8a;
}

.summary-card span {
    font-weight: 600;
}


/* =========================================================
   7. FILE LIST
   ========================================================= */

#fileList {
    width: 100%;
    margin-bottom: 15px;
}

#fileList > * {
    margin-bottom: 8px;
}


/* =========================================================
   8. TOOL SETTINGS
   ========================================================= */

.tool-section {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    box-sizing: border-box;

    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

.tool-section h2 {
    margin: 0 0 14px;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 650;
}

.tool-section .form-check {
    margin-bottom: 10px;
}

.tool-section .form-check:last-child {
    margin-bottom: 0;
}

.tool-section .form-check-input {
    cursor: pointer;
}

.tool-section .form-check-label {
    cursor: pointer;
    color: #4b5563;
    font-size: 15px;
}

.tool-section .form-check-input:checked {
    border-color: #2563eb;
    background-color: #2563eb;
}


/* =========================================================
   9. BUTTONS
   ========================================================= */

.converter-card .btn {
    border-radius: 9px;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.converter-card .btn:hover {
    transform: translateY(-1px);
}

.converter-card .btn:active {
    transform: translateY(0);
}

.converter-card .btn-primary {
    box-shadow:
        0 4px 12px rgba(37, 99, 235, 0.18);
}

.converter-card .btn-success {
    box-shadow:
        0 4px 12px rgba(22, 163, 74, 0.18);
}

.converter-card .btn-secondary {
    box-shadow:
        0 3px 10px rgba(71, 85, 105, 0.12);
}


/* =========================================================
   10. PROGRESS
   ========================================================= */

#progressSection {
    width: 100%;
}

#progressSection .progress {
    width: 100%;
    height: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

#progressBar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    transition: width 0.3s ease;
}


/* =========================================================
   11. RESULT CARD
   ========================================================= */

#resultCard {
    width: 100%;
    margin-top: 25px;
    padding: 25px;
    box-sizing: border-box;

    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
}

#resultCard h2 {
    margin: 0 0 15px;
    color: #15803d;
    font-size: 25px;
    font-weight: 700;
}

#resultCard p {
    color: #475569;
}

#separateDownloads {
    width: 100%;
    margin-top: 15px;
}

#separateDownloads > * {
    margin-bottom: 10px;
}


/* =========================================================
   12. HOW-TO SECTION
   ========================================================= */

.how-to-section {
    width: calc(100% - 30px);
    max-width: 1000px;
    margin: 0 auto 55px;
    padding: 38px 30px;
    box-sizing: border-box;

    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 4px 18px rgba(15, 23, 42, 0.04);
}

.how-to-section h2 {
    margin: 0 0 28px;
    color: #111827;
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.how-to-section ol {
    max-width: 850px;
    margin: 0 auto;
    padding-left: 30px;
}

.how-to-section li {
    margin-bottom: 22px;
    padding-left: 8px;
    color: #4b5563;
    line-height: 1.75;
}

.how-to-section li:last-child {
    margin-bottom: 0;
}

.how-to-section strong {
    color: #111827;
    font-weight: 650;
}


/* =========================================================
   13. FEATURES SECTION
   ========================================================= */

.features-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 55px;
    padding: 0 15px;
    box-sizing: border-box;
}

.features-section > h2 {
    margin: 0 0 28px;
    color: #111827;
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.features-grid article {
    min-width: 0;
    height: 100%;
    padding: 25px;
    box-sizing: border-box;

    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;

    box-shadow:
        0 4px 15px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.features-grid article:hover {
    transform: translateY(-3px);
    border-color: #dbeafe;
    box-shadow:
        0 8px 22px rgba(15, 23, 42, 0.08);
}

.features-grid h3 {
    margin: 0 0 10px;
    color: #1f2937;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 650;
}

.features-grid p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   14. SUPPORTED FORMATS
   ========================================================= */

.formats-section {
    width: calc(100% - 30px);
    max-width: 1000px;
    margin: 0 auto 55px;
    padding: 38px 30px;
    box-sizing: border-box;

    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
}

.formats-section h2 {
    margin: 0 0 25px;
    color: #111827;
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.formats-section p {
    max-width: 820px;
    margin: 0 auto 18px;
    color: #596273;
    text-align: center;
    line-height: 1.75;
}

.formats-section ul {
    max-width: 750px;
    margin: 22px auto;
    padding: 0;
    list-style: none;
}

.formats-section li {
    margin-bottom: 12px;
    padding: 14px 18px;

    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #f8fafc;

    color: #4b5563;
}

.formats-section li:last-child {
    margin-bottom: 0;
}

.formats-section li strong {
    color: #111827;
    font-weight: 650;
}


/* =========================================================
   15. PRIVACY / SECURITY
   ========================================================= */

.security-section {
    width: calc(100% - 30px);
    max-width: 1000px;
    margin: 0 auto 55px;
    padding: 38px 30px;
    box-sizing: border-box;

    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #f8fbff;
}

.security-section h2 {
    margin: 0 0 22px;
    color: #111827;
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.security-section p {
    max-width: 850px;
    margin: 0 auto 18px;
    color: #4b5563;
    line-height: 1.75;
}

.security-section ul {
    max-width: 800px;
    margin: 22px auto;
    padding-left: 25px;
}

.security-section li {
    margin-bottom: 10px;
    color: #4b5563;
    line-height: 1.7;
}

.security-section li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   16. FAQ
   ========================================================= */

.faq-section {
    width: 100%;
    margin: 0 0 55px;
    padding: 55px 15px;
    box-sizing: border-box;

    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.faq-section .container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h2 {
    margin: 0 0 30px;
    color: #111827;
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.faq-section .accordion {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-section .accordion-item {
    margin-bottom: 10px;
    overflow: hidden;

    border: 1px solid #e5e7eb;
    border-radius: 10px !important;
    background: #ffffff;
}

.faq-section .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-section .accordion-button {
    padding: 18px 20px;
    color: #1f2937;
    background: #ffffff;

    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;

    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #1d4ed8;
    background: #eff6ff;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    border-color: transparent;
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}

.faq-section .accordion-body {
    padding: 18px 20px;
    color: #5b6472;
    font-size: 15px;
    line-height: 1.75;
    background: #ffffff;
}


/* =========================================================
   17. RELATED TOOLS
   ========================================================= */

.related-tools-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 55px;
    padding: 0 15px;
    box-sizing: border-box;
}

.related-tools-section > h2 {
    margin: 0 0 28px;
    color: #111827;
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.related-tools-grid a {
    display: block;
    min-width: 0;
    height: 100%;
    padding: 22px;
    box-sizing: border-box;

    color: inherit;
    text-decoration: none;

    border: 1px solid #e5e7eb;
    border-radius: 13px;
    background: #ffffff;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.related-tools-grid a:hover {
    border-color: #93c5fd;
    transform: translateY(-3px);
    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.07);
}

.related-tools-grid h3 {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 650;
}

.related-tools-grid p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   18. INTERNAL LINKS
   ========================================================= */

.internal-links-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 35px 25px;
    box-sizing: border-box;

    text-align: center;

    border-top: 1px solid #e5e7eb;
}

.internal-links-section h2 {
    margin: 0 0 15px;
    color: #111827;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 700;
}

.internal-links-section p {
    max-width: 850px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.8;
}

.internal-links-section a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.internal-links-section a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}


/* =========================================================
   19. IMAGE PREVIEW MODAL
   ========================================================= */

#imagePreviewModal .modal-dialog {
    max-width: 1200px;
}

#imagePreviewModal .modal-content {
    overflow: hidden;
    border: none;
    border-radius: 14px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.20);
}

#imagePreviewModal .modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

#imagePreviewModal .modal-title {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 650;
}

#imagePreviewModal .modal-body {
    padding: 0;
    background: #f8fafc;
}

#previewFrame {
    display: block;
    width: 100%;
    height: 750px;
    border: none;
}


#resizedFilesContainer .download-btn {
    width: 120px !important;
    min-width: 120px !important;
    padding: 6px 10px;
    white-space: nowrap;
}

/* =========================================================
   20. IMAGE TO PDF RESULT
   ========================================================= */

.result-header {
    width: 100%;
    margin: 18px 0 10px;
    padding: 12px 10px;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
}

.result-header .row {
    align-items: center;
}

#mergeInfoCard {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
}

#mergeInfoRow {
    align-items: center;
}

#mergeInfoRow strong {
    color: #334155;
}

#mergeInfoRow p {
    margin: 8px 0 0;
    color: #374151;
    font-weight: 600;
}

#pdfName {
    border-color: #d1d5db;
    border-radius: 9px;
}

#pdfName:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10);
}

#separateDownloads {
    width: 100%;
    margin-top: 18px;
}

#separateDownloads > * {
    margin-bottom: 10px;
}

#downloadBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    min-width: 140px;
    padding: 8px 12px;
    white-space: nowrap;
}

#previewMergedBtn,
#convertMoreBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#previewMergedBtn {
    min-width: 120px;
}

#convertMoreBtn {
    min-width: 130px;
}

#progressSection {
    scroll-margin-top: 80px;
}

#resultCard {
    scroll-margin-top: 25px;
}

/* =========================================================
   21. FORM CONTROLS
   ========================================================= */

.converter-card .form-control,
.converter-card .form-select {
    border-color: #d1d5db;
    border-radius: 9px;
    color: #1f2937;
    background-color: #ffffff;
}

.converter-card .form-control:focus,
.converter-card .form-select:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10);
}

/* =========================================================
   22. GENERAL ACCESSIBILITY
   ========================================================= */


a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.30);
    outline-offset: 2px;
}

button {
    cursor: pointer;
}


/* =========================================================
   23. TABLET
   ========================================================= */

@media (max-width: 992px) {

    .converter-card {
        max-width: calc(100% - 30px);
    }

    .features-grid,
    .related-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   24. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .breadcrumb-wrapper {
        padding: 16px 15px 0;
    }

    .converter-intro {
        padding: 25px 15px 20px;
    }

    .converter-intro h1 {
        font-size: 30px;
        letter-spacing: -0.3px;
    }

    .converter-intro p {
        font-size: 15px;
        line-height: 1.7;
    }

    .converter-card {
        max-width: calc(100% - 20px);
        margin-bottom: 40px;
        padding: 20px;
        border-radius: 14px;
    }

    .upload-area {
        padding: 35px 15px;
    }

    .upload-icon {
        font-size: 45px;
    }

    .upload-area h2 {
        font-size: 19px;
    }

    .upload-area p {
        font-size: 14px;
    }

    .tool-section {
        padding: 17px;
    }

    .tool-section h2 {
        font-size: 16px;
    }

    .summary-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .how-to-section,
    .formats-section,
    .security-section {
        width: calc(100% - 20px);
        margin-bottom: 40px;
        padding: 28px 20px;
    }

    .features-section,
    .related-tools-section {
        padding: 0 10px;
        margin-bottom: 40px;
    }

    .features-section > h2,
    .formats-section h2,
    .security-section h2,
    .related-tools-section > h2,
    .how-to-section h2 {
        font-size: 25px;
        margin-bottom: 22px;
    }

    .features-grid,
    .related-tools-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .features-grid article {
        padding: 21px;
    }

    .related-tools-grid a {
        padding: 20px;
    }

    .faq-section {
        margin-bottom: 40px;
        padding: 40px 10px;
    }

    .faq-section h2 {
        font-size: 25px;
        margin-bottom: 22px;
    }

    .faq-section .accordion-button {
        padding: 15px;
        font-size: 15px;
    }

    .faq-section .accordion-body {
        padding: 15px;
        font-size: 14px;
    }

    .internal-links-section {
        margin-bottom: 35px;
        padding: 28px 15px;
    }

    #imagePreviewFrame {
        height: 550px;
    }

    .result-header {
        padding: 10px 6px;
        font-size: 13px;
    }

    #mergeInfoCard .card-body {
        padding: 16px;
    }

    #downloadBtn,
    #previewMergedBtn,
    #convertMoreBtn {
        min-width: 0;
    }

}


/* =========================================================
   25. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .breadcrumb-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }

    .breadcrumb-wrapper .breadcrumb {
        font-size: 12px;
    }

    .breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before {
        padding-left: 6px;
        padding-right: 6px;
    }

    .converter-intro {
        padding-left: 12px;
        padding-right: 12px;
    }

    .converter-intro h1 {
        font-size: 27px;
    }

    .converter-intro p {
        font-size: 14px;
    }

    .converter-card {
        max-width: calc(100% - 16px);
        padding: 15px;
    }

    .upload-area {
        padding: 28px 10px;
    }

    .upload-icon {
        font-size: 40px;
    }

    .upload-area h2 {
        font-size: 18px;
    }

    .upload-area .btn {
        width: 100%;
        max-width: 260px;
    }

    .converter-card .btn-success {
        width: auto;
        min-width: 0;
    }

    #downloadBtn {
        width: 140px;
        min-width: 140px;
    }

    #previewMergedBtn,
    #convertMoreBtn,
    #downloadBtn {
        width: 100%;
        min-width: 0;
        margin: 5px 0 !important;
    }

    .result-header {
        display: none;
    }

    #mergeInfoRow > div {
        margin-bottom: 12px;
    }

    #mergeInfoRow > div:last-child {
        margin-bottom: 0;
    }

    .how-to-section,
    .formats-section,
    .security-section {
        width: calc(100% - 16px);
        padding: 24px 16px;
    }

    .how-to-section ol {
        padding-left: 24px;
    }

    .how-to-section li {
        padding-left: 4px;
        font-size: 14px;
    }

    .features-section,
    .related-tools-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .formats-section li {
        padding: 12px 14px;
        font-size: 14px;
    }

    .security-section ul {
        padding-left: 20px;
    }

    .security-section li {
        font-size: 14px;
    }

    #resultCard {
        padding: 20px 15px;
    }

    #resultCard h2 {
        font-size: 22px;
    }

    #imagePreviewFrame {
        height: 450px;
    }

}


/* =========================================================
   26. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   IMAGE TO PDF TOOL ACCENT
   Related image-to-PDF tool color: indigo/purple
   ========================================================= */

.converter-card .btn-primary {
    color: #ffffff;
    background-color: #7c3aed;
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.20);
}

.converter-card .btn-primary:hover,
.converter-card .btn-primary:focus {
    color: #ffffff;
    background-color: #6d28d9;
    border-color: #6d28d9;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.converter-card .btn-primary:active {
    color: #ffffff;
    background-color: #5b21b6;
    border-color: #5b21b6;
}

.converter-card .btn-primary:disabled,
.converter-card .btn-primary.disabled {
    color: #ffffff;
    background-color: #a78bfa;
    border-color: #a78bfa;
    box-shadow: none;
}

.upload-icon {
    color: #7c3aed;
}

.upload-area:hover {
    border-color: #a78bfa;
    background: #faf7ff;
    box-shadow: 0 5px 18px rgba(124, 58, 237, 0.07);
}

.upload-area:focus {
    border-color: #7c3aed;
    background: #f5f3ff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.upload-area.dragover {
    border-color: #7c3aed;
    background: #f5f3ff;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.11);
}

.tool-section .form-check-input:checked {
    border-color: #7c3aed;
    background-color: #7c3aed;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #6d28d9;
    background: #f5f3ff;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.10);
}

.related-tools-grid h3 {
    color: #7c3aed;
}

.related-tools-grid a:hover {
    border-color: #c4b5fd;
}

.internal-links-section a {
    color: #7c3aed;
}

.internal-links-section a:hover {
    color: #6d28d9;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible,
[role="button"]:focus-visible {
    outline-color: rgba(124, 58, 237, 0.30);
}
