﻿
.pdfword-page {
    background: #f7faf7;
    padding: 30px 0 65px;
    color: #183b25;
}

    .pdfword-page .container {
        max-width: 1000px;
    }

/* Breadcrumb */

.tools-breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
}

    .tools-breadcrumb ol {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .tools-breadcrumb li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .tools-breadcrumb li:not(:last-child)::after {
            content: "›";
            color: #789482;
            font-size: 18px;
        }

    .tools-breadcrumb a {
        color: #087a37;
        text-decoration: none;
        font-weight: 600;
    }

    .tools-breadcrumb li[aria-current="page"] {
        font-weight: 700;
    }

/* Hero */

.pdfword-hero {
    background: linear-gradient(135deg, #075b2b, #198754);
    color: #fff;
    text-align: center;
    padding: 42px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
}

    .pdfword-hero span {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .pdfword-hero h1 {
        font-size: clamp(27px, 4vw, 40px);
        font-weight: 800;
        margin: 12px 0;
    }

    .pdfword-hero p {
        max-width: 650px;
        margin: auto;
        line-height: 1.7;
    }

/* Panel */

.pdfword-panel,
.pdfword-guide {
    background: white;
    border: 1px solid #e0e9e0;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 22px;
}

    .pdfword-panel h2,
    .pdfword-guide h2 {
        font-size: 23px;
        font-weight: 750;
        margin-bottom: 12px;
    }

.pdfword-subtitle {
    color: #607568;
    margin-bottom: 22px;
}

.pdfword-dropzone {
    border: 2px dashed #9fc7aa;
    border-radius: 16px;
    background: #f4faf5;
    padding: 48px 18px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}

    .pdfword-dropzone:hover,
    .pdfword-dropzone.dragover {
        background: #e8f6eb;
        border-color: #087a37;
    }

    .pdfword-dropzone:focus-visible {
        outline: 3px solid #087a37;
        outline-offset: 3px;
    }

.pdfword-upload-icon {
    font-size: 45px;
    margin-bottom: 12px;
}

.pdfword-dropzone h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.pdfword-dropzone p {
    color: #607568;
}

.pdfword-choose {
    display: inline-block;
    background: #087a37;
    color: white;
    padding: 11px 22px;
    border-radius: 9px;
    font-weight: 700;
    margin-top: 10px;
}

.pdfword-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d5e7d8;
    border-radius: 12px;
    margin-top: 18px;
}

    .pdfword-selected > span {
        font-size: 28px;
    }

    .pdfword-selected > div {
        flex: 1;
        min-width: 0;
    }

    .pdfword-selected strong {
        display: block;
        overflow-wrap: anywhere;
    }

    .pdfword-selected small {
        display: block;
        color: #607568;
    }

#pdfRemoveFile {
    border: none;
    background: transparent;
    color: #b42318;
    font-size: 26px;
    cursor: pointer;
}

.pdfword-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

    .pdfword-actions button,
    #pdfDownloadButton {
        padding: 13px 22px;
        border-radius: 10px;
        font-weight: 700;
        cursor: pointer;
    }

.pdfword-primary,
#pdfDownloadButton {
    background: #087a37;
    color: white;
    border: 1px solid #087a37;
}

.pdfword-secondary {
    background: white;
    color: #087a37;
    border: 1px solid #087a37;
}

.pdfword-primary:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.pdfword-progress-section {
    margin-top: 20px;
}

.pdfword-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.pdfword-progress-track {
    height: 10px;
    background: #e4eee6;
    border-radius: 20px;
    overflow: hidden;
}

.pdfword-progress-bar {
    width: 0;
    height: 100%;
    background: #198754;
    transition: width .2s;
}

.pdfword-error {
    margin-top: 16px;
    color: #b42318;
    font-weight: 600;
}

.pdfword-success {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #b9dec4;
    border-radius: 12px;
    background: #effaf2;
    text-align: center;
}

    .pdfword-success strong {
        color: #087a37;
    }

    .pdfword-success p {
        margin: 10px 0 16px;
    }

.pdfword-guide {
    line-height: 1.8;
}

    .pdfword-guide h2:not(:first-child) {
        margin-top: 25px;
    }

@media (max-width: 767px) {
    .pdfword-page {
        padding: 16px 0 40px;
    }

    .pdfword-hero {
        padding: 32px 16px;
    }

    .pdfword-panel,
    .pdfword-guide {
        padding: 18px;
    }

    .pdfword-dropzone {
        padding: 35px 12px;
    }

    .pdfword-actions {
        flex-direction: column;
    }

        .pdfword-actions button {
            width: 100%;
        }
}
