.ofd2pdf-page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #f6f7fb;
}

.ofd2pdf-hero {
    border: 1px solid #c8d8ee;
    border-left: none;
    border-right: none;
    background: #f8fafc;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ofd2pdf-hero__slogan {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    color: #111111;
    letter-spacing: 1px;
}

.ofd2pdf-main {
    flex: 1 1 auto;
    border-left: 1px solid #c8d8ee;
    border-right: 1px solid #c8d8ee;
    background: #f6f7fb;
}

.ofd2pdf-main--import {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 660px;
}

.ofd2pdf-main__inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px 30px;
}

.ofd2pdf-import-box {
    width: 100%;
    max-width: 1040px;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ofd2pdf-import-box__title {
    margin: 0 0 46px;
    font-size: 68px;
    line-height: 1.2;
    font-weight: 700;
    color: #000000;
    text-align: center;
}

.ofd2pdf-import-box__actions {
    margin-bottom: 42px;
}

.ofd2pdf-big-upload-btn {
    width: 420px;
    height: 92px;
    border: none;
    border-radius: 12px;
    background: #79b54a;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease;
}

.ofd2pdf-big-upload-btn:hover {
    background: #6ea541;
}

.ofd2pdf-import-box__tip {
    font-size: 18px;
    line-height: 1.8;
    color: #2e2e2e;
    text-align: center;
}

.ofd2pdf-message {
    margin-top: 18px;
    min-height: 26px;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    color: #d93025;
}

.ofd2pdf-steps-panel {
    border: 1px solid #c8d8ee;
    background: #ffffff;
    min-height: 250px;
    padding: 28px 34px 26px;
}

.ofd2pdf-steps-panel__title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: #111111;
}

.ofd2pdf-steps-panel__list {
    margin: 0;
    padding-left: 26px;
    font-size: 14px;
    line-height: 2;
    color: #1e1e1e;
}

.ofd2pdf-steps-panel__list li {
    margin-bottom: 0;
}

.ofd2pdf-main--process {
    min-height: 660px;
    padding: 26px 34px 28px;
}

.ofd2pdf-process-box {
    position: relative;
    width: 100%;
    min-height: 590px;
}

.ofd2pdf-process-box__summary {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
    color: #111111;
}

.ofd2pdf-process-box__table-wrap {
    width: calc(100% - 170px);
}

.ofd2pdf-process-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: transparent;
}

.ofd2pdf-process-table th,
.ofd2pdf-process-table td {
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.7;
    color: #111111;
    border: none;
    text-align: center;
    vertical-align: middle;
}

.ofd2pdf-process-table th {
    font-weight: 700;
}

.ofd2pdf-process-table__name {
    text-align: left !important;
    word-break: break-all;
}

.ofd2pdf-process-table__checkbox {
    width: 22px;
    height: 22px;
    cursor: default;
}

.ofd2pdf-row-actions {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 132px;
}

.ofd2pdf-mini-btn {
    width: 132px;
    height: 42px;
    border: none;
    border-radius: 16px;
    background: #c8e4c5;
    color: #1d1d1d;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.ofd2pdf-mini-btn:hover:not(:disabled) {
    background: #b8d8b5;
}

.ofd2pdf-mini-btn:disabled {
    opacity: 0.8;
    cursor: default;
}

.ofd2pdf-process-box__footer {
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ofd2pdf-start-btn {
    width: 138px;
    height: 58px;
    border: none;
    border-radius: 16px;
    background: #79b54a;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.ofd2pdf-start-btn:hover {
    background: #6ea541;
}

.ofd2pdf-empty-state {
    padding: 36px 0;
    font-size: 15px;
    color: #555555;
    text-align: center;
}

.ofd2pdf-main--result {
    min-height: 660px;
    padding: 26px 34px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ofd2pdf-result-box {
    width: 100%;
    max-width: 980px;
    text-align: center;
}

.ofd2pdf-result-box__success-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
}

.ofd2pdf-result-box__title {
    font-size: 70px;
    line-height: 1.2;
    font-weight: 700;
    color: #79b54a;
}

.ofd2pdf-result-box__icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1fd11f;
    color: #ffffff;
    border: 4px solid #111111;
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
}

.ofd2pdf-result-box__desc {
    margin-bottom: 18px;
    font-size: 26px;
    line-height: 1.8;
    color: #111111;
}

.ofd2pdf-result-box__filename {
    margin-bottom: 34px;
    font-size: 20px;
    line-height: 1.8;
    color: #111111;
}

.ofd2pdf-result-box__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin-bottom: 22px;
}

.ofd2pdf-result-main-btn {
    min-width: 290px;
    height: 84px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #79b54a;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}

.ofd2pdf-result-main-btn:hover {
    background: #6ea541;
    color: #ffffff;
    text-decoration: none;
}

.ofd2pdf-result-box__expire {
    font-size: 20px;
    line-height: 1.8;
    color: #111111;
}

.ofd2pdf-result-box__expire-warn {
    color: #f15a24;
    font-weight: 700;
    margin-right: 6px;
}

.ofd2pdf-result-box__delete-link {
    margin-left: 16px;
    border: none;
    background: transparent;
    color: #111111;
    font-size: 20px;
    line-height: 1.8;
    cursor: pointer;
}

.ofd2pdf-result-box__delete-link:hover {
    text-decoration: underline;
}

@media (max-width: 1500px) {
    .ofd2pdf-import-box__title {
        font-size: 52px;
    }

    .ofd2pdf-big-upload-btn {
        width: 340px;
        height: 82px;
        font-size: 28px;
    }

    .ofd2pdf-result-box__title {
        font-size: 52px;
    }

    .ofd2pdf-result-box__desc {
        font-size: 22px;
    }
}

@media (max-width: 1200px) {
    .ofd2pdf-hero__slogan {
        font-size: 24px;
    }

    .ofd2pdf-main__inner,
    .ofd2pdf-main--process,
    .ofd2pdf-main--result {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ofd2pdf-import-box__title {
        font-size: 40px;
    }

    .ofd2pdf-process-box__table-wrap {
        width: 100%;
        overflow-x: auto;
        padding-right: 0;
    }

    .ofd2pdf-row-actions {
        position: static;
        width: auto;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }

    .ofd2pdf-mini-btn {
        width: auto;
        min-width: 72px;
        padding: 0 12px;
    }

    .ofd2pdf-process-box__footer {
        position: static;
        width: 100%;
        margin-top: 24px;
        align-items: center;
    }

    .ofd2pdf-result-box__actions {
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .ofd2pdf-hero {
        min-height: 72px;
    }

    .ofd2pdf-hero__slogan {
        font-size: 20px;
    }

    .ofd2pdf-import-box__title {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .ofd2pdf-big-upload-btn {
        width: 260px;
        height: 68px;
        font-size: 24px;
    }

    .ofd2pdf-result-box__title {
        font-size: 34px;
    }

    .ofd2pdf-result-box__desc,
    .ofd2pdf-result-box__expire,
    .ofd2pdf-result-box__delete-link {
        font-size: 16px;
    }

    .ofd2pdf-result-main-btn {
        min-width: 240px;
        height: 68px;
        font-size: 22px;
    }
}

.ofd2pdf-process-layout {
    display: flex;
    align-items: flex-start;
    gap: 26px;
}

.ofd2pdf-process-main {
    flex: 1 1 auto;
    min-width: 0;
}


.ofd2pdf-process-side {
    width: 138px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.ofd2pdf-side-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 16px;
    background: #c8e4c5;
    color: #1d1d1d;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.ofd2pdf-side-btn:hover {
    background: #b8d8b5;
}

.ofd2pdf-process-row {
    cursor: pointer;
    transition: background 0.2s ease;
}

.ofd2pdf-process-row:hover {
    background: #f7fbf7;
}

.ofd2pdf-process-row.is-selected {
    background: #eef8ec;
}

.ofd2pdf-process-table__radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .ofd2pdf-process-layout {
        flex-direction: column;
    }

    .ofd2pdf-process-side {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .ofd2pdf-side-btn,
    .ofd2pdf-start-btn {
        width: auto;
        min-width: 120px;
    }
}