.invoice-tool-page.pdf-invoice-folder-page {
    padding: 0;
}

.invoice-tool-banner {
    width: 100%;
    min-height: 68px;
    border: 1px solid #cfdced;
    border-bottom: none;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invoice-tool-banner-title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
}

.invoice-tool-main-card {
    border: 1px solid #cfdced;
    background: #fbfcfe;
    min-height: 460px;
    padding: 18px 24px;
}

.invoice-tool-steps-card {
    border: 1px solid #cfdced;
    border-top: none;
    background: #fbfcfe;
    min-height: 118px;
    padding: 12px 20px 14px;
}

.invoice-tool-steps-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.invoice-tool-steps-content {
    font-size: 15px;
    line-height: 1.65;
    color: #111;
}

.invoice-tool-step-item {
    word-break: break-all;
}

.invoice-tool-footer-hint {
    text-align: center;
    padding: 12px 0 6px;
    font-size: 15px;
    color: #111;
}

.invoice-import-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.invoice-import-center {
    width: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.invoice-import-big-title {
    font-size: 50px;
    line-height: 1.15;
    font-weight: 800;
    color: #000;
    margin-bottom: 24px;
    text-align: center;
}

.invoice-import-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.invoice-main-green-btn {
    min-width: 240px;
    height: 78px;
    padding: 0 30px;
    border: none;
    border-radius: 14px;
    background: #75b443;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.invoice-main-green-btn:hover {
    background: #6aa53c;
    color: #fff;
    text-decoration: none;
}

.invoice-main-green-btn:disabled,
.invoice-main-green-btn.is-disabled {
    background: #b8c7ae;
    cursor: not-allowed;
}

.invoice-upload-btn {
    min-width: 270px;
    height: 70px;
    font-size: 28px;
}

.invoice-upload-tip {
    margin-top: 18px;
    font-size: 15px;
    color: #111;
}

.btn-loading-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: folderBtnSpin 0.8s linear infinite;
}

.hidden {
    display: none !important;
}

@keyframes folderBtnSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.invoice-process-card {
    min-height: 700px;
}

.folder-process-upper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.folder-file-table-wrap {
    flex: 1;
    min-width: 0;
}

.folder-file-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.folder-file-table thead th {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    padding: 10px 8px;
    text-align: center;
}

.folder-file-table tbody td {
    font-size: 18px;
    color: #111;
    padding: 8px 8px;
    text-align: center;
    vertical-align: middle;
}

.folder-file-table .w-sort {
    width: 70px;
}

.folder-file-table .w-name {
    width: auto;
    text-align: left;
}

.folder-file-table .w-upload {
    width: 130px;
}

.folder-file-table .w-folder {
    width: 150px;
}

.folder-file-table .w-select {
    width: 110px;
}

.folder-file-table td.td-name,
.folder-file-table th.w-name {
    text-align: left;
}

.folder-file-table td.td-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.folder-file-row.is-selected {
    background: #f2f8ee;
}

.empty-row {
    text-align: center !important;
    color: #777;
    padding: 30px 0 !important;
}

.folder-side-actions {
    width: 130px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 4px;
}

.invoice-side-btn {
    width: 110px;
    height: 40px;
    border: none;
    border-radius: 16px;
    background: #b8d9b3;
    color: #1b1b1b;
    font-size: 16px;
    cursor: pointer;
}

.invoice-side-btn:hover {
    background: #a8caa2;
}

.folder-radio-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.folder-radio-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.folder-radio-wrap span {
    width: 20px;
    height: 20px;
    border: 2px solid #9a9a9a;
    border-radius: 3px;
    display: inline-block;
    background: #fff;
}

.folder-radio-wrap input:checked + span {
    background: #28c11d;
    border-color: #28c11d;
    box-shadow: inset 0 0 0 2px #fff;
}

.folder-summary-line {
    margin-top: 26px;
    font-size: 20px;
    color: #111;
}

.folder-rule-area {
    margin-top: 24px;
}

.folder-rule-title {
    font-size: 18px;
    color: #111;
    margin-bottom: 16px;
}

.folder-rule-options {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    row-gap: 18px;
}

.folder-rule-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #111;
    cursor: pointer;
}

.folder-rule-label {
    white-space: nowrap;
}

.folder-rule-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.folder-checkbox-ui {
    width: 22px;
    height: 22px;
    border: 2px solid #9a9a9a;
    border-radius: 3px;
    display: inline-block;
    background: #fff;
    position: relative;
}

.folder-rule-checkbox:checked + .folder-checkbox-ui {
    background: #28c11d;
    border-color: #28c11d;
}

.folder-rule-checkbox:checked + .folder-checkbox-ui::after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: -3px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.folder-rule-error {
    margin-top: 14px;
    font-size: 16px;
    color: #d93025;
}

.folder-rule-example {
    margin-top: 22px;
    font-size: 18px;
    color: #111;
}

.folder-rule-example-title {
    display: inline-block;
    margin-right: 18px;
}

.folder-rule-example-value {
    display: inline-block;
    font-weight: 500;
}

.folder-start-btn-row {
    margin-top: 22px;
    text-align: right;
}

.folder-start-btn {
    min-width: 230px;
    height: 64px;
    font-size: 26px;
}

.folder-task-error {
    margin-top: 18px;
    color: #d93025;
    font-size: 16px;
}

.invoice-result-card {
    display: flex;
    align-items: center;
    justify-content: center;
}


.invoice-result-center {
    min-height: 340px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.invoice-result-success-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.invoice-result-success-text {
    font-size: 50px;
    line-height: 1.1;
    font-weight: 800;
    color: #75b443;
}

.invoice-result-success-icon {
    font-size: 46px;
    line-height: 1;
    color: #17c400;
}

.invoice-result-subtitle {
    font-size: 20px;
    color: #111;
    margin-bottom: 14px;
}

.invoice-result-file-name {
    font-size: 15px;
    color: #111;
    margin-bottom: 22px;
    text-align: center;
    word-break: break-all;
    max-width: 95%;
}

.invoice-result-link-btn {
    min-width: 250px;
    height: 64px;
    font-size: 24px;
}


.invoice-result-link-btn {
    min-width: 280px;
    height: 72px;
    font-size: 28px;
}

.invoice-result-btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.invoice-result-delete-tip {
    font-size: 15px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}


.invoice-result-link-btn {
    min-width: 320px;
    height: 88px;
    font-size: 34px;
}


.warn-icon {
    color: #e4572e;
    font-size: 24px;
    line-height: 1;
}

.invoice-delete-link-btn {
    border: none;
    background: none;
    color: #111;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

.invoice-delete-link-btn:hover {
    text-decoration: underline;
}

@media (max-width: 1400px) {
    .invoice-import-big-title {
        font-size: 54px;
    }

    .invoice-result-success-text {
        font-size: 54px;
    }
}