/* /Components/DynamicFormRenderer.razor.rz.scp.css */
.dynamicform-card[b-0b8bqnfb7o] {
    margin-bottom: 1.1em;
    background: #fcfdff;
    border-radius: 13px;
    border: 1.5px solid #d0e6f4;
    box-shadow: 0 2px 10px #dff1f950;
    padding: 1.05em 1.12em .8em 1.15em;
    transition: box-shadow 0.18s;
}

.dynamicform-card-title[b-0b8bqnfb7o] {
    font-size: 1.18em;
    font-weight: 700;
    color: #153052;
    margin-bottom: .3em;
    letter-spacing: .01em;
}

.dynamicform-card-desc[b-0b8bqnfb7o] {
    color: #5b6c89;
    font-size: 0.97em;
    margin-bottom: .78em;
}

.dynamicform-field-label[b-0b8bqnfb7o] {
    display: block;
    font-weight: 600;
    color: #204066;
    margin-bottom: 3px;
    font-size: 1.01em;
    letter-spacing: 0.02em;
}

.dynamicform-radio-row[b-0b8bqnfb7o] {
    /* Remove background and border-radius here if present */
    display: flex;
    align-items: center;
    margin-bottom: 0.69em;
    border: none;
    background: none;
    box-shadow: none;
}

.dynamicform-radio-group[b-0b8bqnfb7o],
.dynamicform-textbox[b-0b8bqnfb7o],
.dynamicform-dropdown[b-0b8bqnfb7o] {
    margin-bottom: 0.7em;
}

.dynamicform-textbox[b-0b8bqnfb7o] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3em;
    width: 100%;
}

.dynamicform-textbox input[type="text"][b-0b8bqnfb7o],
.dynamicform-textbox input[type="date"][b-0b8bqnfb7o] {
    border-radius: 6px;
    border: 1.5px solid #b7cbe7;
    padding: 0.32em 0.9em;
    font-size: 1.08em;
    background: #f7fbfd;
    margin-top: 4px;
    width: 100%;
    box-sizing: border-box;
}

.dynamicform-textbox-inner[b-0b8bqnfb7o] {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

.dynamicform-textbox-inner input[type="text"][b-0b8bqnfb7o] {
    width: 100%;
    box-sizing: border-box;
}

.dynamicform-textbox-inner .text-danger[b-0b8bqnfb7o] {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
    margin: 0.18em 0 0.11em 0;
    padding: 0;
    box-sizing: border-box;
}

.text-danger[b-0b8bqnfb7o], .field-validation-message[b-0b8bqnfb7o] {
    color: #d04040 !important;
    font-size: 0.97em;
    margin-top: 0.18em;
    margin-bottom: 0.11em;
    line-height: 1.33;
    font-weight: 500;
    display: block;
    width: 100%;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: left;
}

/* Updated Dropdown Styles */
.dynamicform-dropdown[b-0b8bqnfb7o] {
    display: flex;
    flex-direction: column;
    gap: 0.23em;
    width: 100%;
}

.dynamicform-dropdown select[b-0b8bqnfb7o] {
    border: 1.5px solid #b7cbe7;
    border-radius: 6px;
    padding: 0.34em 1em 0.34em 0.8em;
    font-size: 1.08em;
    min-width: 180px; /* wider default */
    width: 100%; /* fills parent */
    background: #f7fbfd;
    margin-top: 0.1em;
    margin-bottom: 0.12em;
    box-sizing: border-box;
    transition: border 0.13s;
    display: block; /* ensure full width */
}

.dynamicform-dropdown select:focus[b-0b8bqnfb7o] {
    border-color: #3585b7;
    outline: none;
    background: #f0f7fd;
}

.dynamicform-displayfield[b-0b8bqnfb7o] {
    font-size: 1.09em;
    color: #226a91;
    margin-bottom: 0.5em;
}

.dynamicform-displayvalue[b-0b8bqnfb7o] {
    color: #3585b7;
    font-weight: 600;
    margin-left: 0.22em;
}

.dynamicform-helptext[b-0b8bqnfb7o] {
    display: block;
    margin-top: 2px;
    color: #6c757d; /* Bootstrap's "text-muted" */
    font-size: 0.95em;
    font-style: italic;
    line-height: 1.3;
}

@media (max-width: 700px) {
    .dynamicform-card[b-0b8bqnfb7o] {
        padding: .7em .5em .4em .5em;
        border-radius: 10px;
    }

    .dynamicform-dropdown select[b-0b8bqnfb7o] {
        min-width: 100px;
        font-size: 1em;
    }
}
/* /Components/LoadingSpinner.razor.rz.scp.css */
.centered-spinner[b-7cqmj87yrs] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: rgba(255,255,255,0.7);
}

    .centered-spinner i[b-7cqmj87yrs] {
        margin-bottom: 1rem;
    }
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-4940fmvd4z] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-4940fmvd4z] {
    flex: 1;
}

.sidebar[b-4940fmvd4z] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-4940fmvd4z] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-4940fmvd4z]  a, .top-row[b-4940fmvd4z]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-4940fmvd4z]  a:hover, .top-row[b-4940fmvd4z]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-4940fmvd4z]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-4940fmvd4z] {
        justify-content: space-between;
    }

    .top-row[b-4940fmvd4z]  a, .top-row[b-4940fmvd4z]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-4940fmvd4z] {
        flex-direction: row;
    }

    .sidebar[b-4940fmvd4z] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-4940fmvd4z] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-4940fmvd4z]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-4940fmvd4z], article[b-4940fmvd4z] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/CreateOrder.razor.rz.scp.css */
.createorder-header[b-bzij6vst9a] {
    text-align: center;
    text-align: center;
    margin: 28px auto 10px auto;
    max-width: 450px;
    width: 96vw;
}

    .createorder-header h1[b-bzij6vst9a] {
        font-size: 1.6em;
        font-weight: 700;
        color: #222;
        margin-bottom: 8px;
    }

        .createorder-header h1 span[b-bzij6vst9a] {
            color: #222;
            font-weight: 600;
        }

.createorder-subtitle[b-bzij6vst9a] {
    color: #46626e;
    font-size: 1.05em;
    margin-bottom: 10px;
    margin-top: 0;
}

.createorder-formcard[b-bzij6vst9a] {
    background: #f5f7fa;
    max-width: 330px;
    width: 96vw;
    margin: 0 auto;
    padding: 32px 22px 22px 22px;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 58, 92, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.createorder-input[b-bzij6vst9a] {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #b4c6d3;
    font-size: 1em;
    margin: 10px 0 0 0;
    text-align: center;
    width: 90%;
    max-width: 220px;
    transition: border .18s;
    outline: none;
    display: block;
    background: #fff;
}

    .createorder-input:focus[b-bzij6vst9a] {
        border: 1.5px solid #3389c9;
    }

.createorder-btn[b-bzij6vst9a] {
    background: #3389c9;
    color: #fff;
    font-weight: 600;
    font-size: 1.07em;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 12px;
    width: 90%;
    max-width: 220px;
    box-shadow: 0 1.5px 6px rgba(0,0,0,0.05);
    cursor: pointer;
    letter-spacing: .04em;
    transition: background 0.18s;
}
    .createorder-btn:disabled[b-bzij6vst9a] {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .createorder-btn:hover[b-bzij6vst9a],
    .createorder-btn:focus[b-bzij6vst9a] {
        background: #256eb7;
    }

@media (max-width: 660px) {
    .createorder-header[b-bzij6vst9a] {
        margin: 18px auto 7px auto;
        max-width: 97vw;
    }

        .createorder-header h1[b-bzij6vst9a] {
            font-size: 1.17em;
        }

    .createorder-subtitle[b-bzij6vst9a] {
        font-size: 0.98em;
    }
}

@media (max-width: 500px) {
    .createorder-formcard[b-bzij6vst9a] {
        padding: 20px 7vw 16px 7vw;
        border-radius: 14px;
    }

    .createorder-btn[b-bzij6vst9a], .createorder-input[b-bzij6vst9a] {
        max-width: 98vw;
        width: 98vw;
    }
}
/* /Pages/FnmaQuestionsPage.razor.rz.scp.css */
.summary-section[b-uwq9r9fwgw] {
    max-width: 650px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fafdff;
    border-radius: 24px;
    box-shadow: 0 2px 15px #c8eafd4d;
    border: 1px solid #e0edae0a;
}

h2[b-uwq9r9fwgw] {
    font-size: 2rem;
    margin-bottom: 0.35rem;
    color: #18304b;
    font-weight: 700;
}

.subtitle[b-uwq9r9fwgw] {
    font-size: 1.09rem;
    margin-bottom: 1.15rem;
    color: #34628b;
}

.fnma-btn-row[b-uwq9r9fwgw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 2.2em;
    gap: 24px;
    margin-top: 2.7em;
}

.back-btn[b-uwq9r9fwgw] {
    background: #fff;
    color: #32699d;
    border: 2px solid #dbdbdb;
    font-size: 1.09em;
    border-radius: 7px;
    cursor: pointer;
    box-shadow: 0 2px 7px #b3d7e0ae;
    padding: 0.7em 2em;
    font-weight: bold;
    min-width: 110px;
    margin-right: auto;
    transition: background 0.2s;
}

.back-btn:hover[b-uwq9r9fwgw] {
    background: #f3f8fc;
}

.submit-btn[b-uwq9r9fwgw] {
    background-color: #3585b7;
    color: #fff;
    font-size: 1.14em;
    border-radius: 7px;
    font-weight: bold;
    min-width: 120px;
    border: none;
    box-shadow: 0 2px 7px #b3d7e0ae;
    padding: 0.7em 2.5em;
    margin-left: auto;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:disabled[b-uwq9r9fwgw] {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-btn:hover[b-uwq9r9fwgw] {
    background: #226a91;
}

.form-info-msg[b-uwq9r9fwgw] {
    text-align: right;
    font-weight: bold;
    margin-top: 6px;
    margin-left: auto;
    margin-right: 0;
    color: #cc2f38;
}

@media (max-width: 700px) {
    .form-info-msg[b-uwq9r9fwgw] {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 14px;
    }
}

@media (max-width: 700px) {
    .summary-section[b-uwq9r9fwgw] {
        padding: 1.1rem 0.33rem;
        max-width: 99vw;
    }

    .fnma-btn-row[b-uwq9r9fwgw] {
        flex-direction: column-reverse;
        gap: 12px;
        align-items: stretch;
        padding-top: 2em;
        margin-top: 1.1em;
    }

    .back-btn[b-uwq9r9fwgw], .submit-btn[b-uwq9r9fwgw] {
        width: 100%;
        min-width: unset;
        margin: 0 0 6px 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    .bg-page[b-uwq9r9fwgw] {
        min-height: 100vh;
        background: #fafdff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .summary-section[b-uwq9r9fwgw] {
        max-width: 650px;
        margin: 2rem auto;
        padding: 2rem;
        background: white;
        border-radius: 24px;
        box-shadow: 0 2px 15px #c8eafd4d;
        border: 1px solid #e0edae0a;
        position: relative;
    }

    h2[b-uwq9r9fwgw] {
        font-size: 2rem;
        margin-bottom: 0.35rem;
        color: #18304b;
        font-weight: 700;
    }

    .subtitle[b-uwq9r9fwgw] {
        font-size: 1.09rem;
        margin-bottom: 1.15rem;
        color: #34628b;
    }
}
/* /Pages/IncomeCalculationsDetails.razor.rz.scp.css */
.summary-section[b-5o9ma6kwv2] {
    max-width: 650px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fafdff;
    border-radius: 24px;
    box-shadow: 0 2px 15px #c8eafd4d;
    border: 1px solid #e0edae0a;
}

h1[b-5o9ma6kwv2], h2[b-5o9ma6kwv2] {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    color: #18304b;
    font-weight: 700;
}

.subtitle[b-5o9ma6kwv2] {
    font-size: 1.06rem;
    margin-bottom: 1.2rem;
    color: #44495a;
}

.borrower-box[b-5o9ma6kwv2] {
    background: #f4fafc;
    border-radius: 13px;
    padding: 1.2em 1.2em .5em 1.2em;
    margin-bottom: 1.1em;
    border: 1.5px solid #c3eaf7;
    margin-top: 1.4em;
}

.borrower-header[b-5o9ma6kwv2] {
    font-size: 1.18em;
    margin-bottom: 0.7em;
    font-weight: bold;
    color: #222e3d;
}

.business-line[b-5o9ma6kwv2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: .7em;
    margin-left: 1.2em;
}

.business-meta[b-5o9ma6kwv2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 62vw;
}

.business-label[b-5o9ma6kwv2] {
    color: #465e71;
    font-size: 0.98em;
    font-weight: 400;
    white-space: nowrap;
}

.business-name[b-5o9ma6kwv2] {
    font-weight: 600;
    color: #226a91;
    font-size: 1.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
}

.business-year[b-5o9ma6kwv2] {
    color: #6f7d88;
    font-size: 0.93em;
    margin-top: -2px;
    margin-left: 2px;
    font-style: italic;
    letter-spacing: 0.01em;
}

.business-status[b-5o9ma6kwv2] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    min-width: 220px;
    justify-content: flex-end;
}

.submitted-status[b-5o9ma6kwv2] {
    color: #348a00;
    background: #eafce9;
    font-weight: 600;
    border-radius: 6px;
    padding: .32em 1.1em;
    font-size: 1.08em;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 4px #b1e6b91e;
}

.rejected-status[b-5o9ma6kwv2] {
    color: #b92c2c; /* Deep red text */
    background: #ffeaea; /* Light red/pink background */
    font-weight: 600;
    border-radius: 6px;
    padding: .32em 1.1em;
    font-size: 1.08em;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 4px #eebaba1e;
}

.start-btn[b-5o9ma6kwv2], .add-btn[b-5o9ma6kwv2] {
    background: #e4f0fe;
    color: #236aae;
    border: none;
    border-radius: 6px;
    padding: .38em 1.3em;
    font-size: 1.04em;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 4px #bdebf061;
    transition: background 0.1s;
}

    .start-btn:hover[b-5o9ma6kwv2], .add-btn:hover[b-5o9ma6kwv2] {
        background: #bdebf0;
    }

.add-btn[b-5o9ma6kwv2] {
    margin-left: 6px;
}

.not-complete[b-5o9ma6kwv2] {
    color: #b95c4e;
    font-weight: 600;
    margin-right: 8px;
}

/* NEW: FNMA сума в зелено */
.fnma-amount[b-5o9ma6kwv2] { /* NEW */
    color: #219174;
    font-weight: 600;
    margin-right: 16px;
    font-size: 1.15em;
    letter-spacing: 0.5px;
    text-align: right;
    width: 100px;
}

/* NEW: View и Update бутони (когато има FNMA) */
.view-btn[b-5o9ma6kwv2] { /* NEW */
    background: #5D8881 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: .38em 1.3em;
    font-size: 1.04em;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 4px #bdebf061;
    transition: background 0.13s;
}

    .view-btn:hover[b-5o9ma6kwv2] {
        background: #226a91 !important;
    }

.update-btn[b-5o9ma6kwv2] { /* NEW */
    background: none;
    color: #23527c;
    border: none;
    padding: .38em 1.0em;
    font-size: 1.04em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 7px;
    transition: color 0.1s;
}

    .update-btn:hover[b-5o9ma6kwv2] {
        color: #11344d;
        text-decoration: underline;
    }

/* Основни бутони отдолу */
.btn-row[b-5o9ma6kwv2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 1.2rem;
}

.edit-btn[b-5o9ma6kwv2], .finish-btn[b-5o9ma6kwv2] {
    flex: 1 1 0;
    min-width: 110px;
    max-width: 180px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 1em;
    padding: 0.7em 1.2em;
    box-sizing: border-box;
    box-shadow: 0 2px 7px #b3d7e0ae;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s;
}
.view-dropdown-wrap[b-5o9ma6kwv2] {
    position: relative;
    display: inline-block;
}

.view-dropdown-menu[b-5o9ma6kwv2] {
    position: absolute;
    z-index: 100;
    top: 110%;
    left: 0;
    min-width: 158px;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    box-shadow: 0 4px 14px #b3eaf041;
    padding: 3px 0;
    display: flex;
    flex-direction: column;
    animation: fadeIn-b-5o9ma6kwv2 0.16s;
}
.view-arrow[b-5o9ma6kwv2] {
    font-size: 1.3em;
    position: relative;
    top: 2px; /* леко центриране по височина, ако изглежда off */
}

@keyframes fadeIn-b-5o9ma6kwv2 {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view-dropdown-menu button[b-5o9ma6kwv2] {
    border: none;
    background: none;
    text-align: left;
    font-size: 1rem;
    color: #154b5a;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.11s;
    font-weight: 500;
}

    .view-dropdown-menu button:hover[b-5o9ma6kwv2] {
        background: #e6f8f3;
        color: #19776a;
    }

/* Edit docs (ляв) */
.edit-btn[b-5o9ma6kwv2] {
    background: #fff;
    color: #32699d;
    border: 2px solid #dbdbdb;
}

    .edit-btn:hover[b-5o9ma6kwv2] {
        background: #f3f8fc;
    }

/* Finish (десен) */
.finish-btn[b-5o9ma6kwv2] {
    background-color: #3585b7;
    color: #fff;
}

    .finish-btn:hover[b-5o9ma6kwv2] {
        background-color: #2367a4;
    }

    .finish-btn:disabled[b-5o9ma6kwv2] {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Responsive -- компактно на мобилен */
@media (max-width: 700px) {
    .summary-section[b-5o9ma6kwv2] {
        padding: 1.1rem 0.7rem;
    }

    .btn-row[b-5o9ma6kwv2] {
        gap: 7px;
    }

    .edit-btn[b-5o9ma6kwv2] {
        min-width: 0;
        max-width: 100%;
        font-size: 0.92em;
        padding-left: 0;
        padding-right: 0;
    }

    .borrower-box[b-5o9ma6kwv2] {
        padding: 1.1em .4em .5em .7em;
        border-radius: 10px;
    }

    .business-line[b-5o9ma6kwv2] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3em;
        margin-left: 0.5em;
    }

    .business-meta[b-5o9ma6kwv2] {
        max-width: 96vw;
    }

    .business-name[b-5o9ma6kwv2] {
        max-width: 94vw;
        white-space: normal;
    }

    .business-status[b-5o9ma6kwv2] {
        margin-left: 0;
        min-width: unset;
        gap: 6px;
        margin-top: .18em;
        width: 100%;
        justify-content: flex-end;
    }
}

/* Едно под друго на тесен мобилен */
@media (max-width: 480px) {
    .btn-row[b-5o9ma6kwv2] {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
}
/* /Pages/UploadDocuments.razor.rz.scp.css */
.container-upload[b-jp7r7wf5pc] {
    max-width: 650px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fafdff;
    border-radius: 24px;
    box-shadow: 0 2px 15px #c8eafd4d;
    border: 1px solid #e0edae0a;
}

h1[b-jp7r7wf5pc] {
    font-size: 2rem;
    margin-bottom: 0.35rem;
    color: #18304b;
    font-weight: 700;
}

.subtitle[b-jp7r7wf5pc] {
    font-size: 1.06rem;
    margin-bottom: 1.1rem;
}

.desc-muted[b-jp7r7wf5pc] {
    color: #5b6c89;
    font-size: 0.94em;
}

.upload-box[b-jp7r7wf5pc] {
    border: 2px dashed #7bc0db;
    padding: 2rem 0.5rem;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    background-color: #f8fbfd;
    transition: background-color 0.3s ease;
    position: relative;
}

    .upload-box.hover[b-jp7r7wf5pc] {
        background-color: #eaf6fa;
    }

.upload-label[b-jp7r7wf5pc] {
    cursor: pointer;
    display: block;
}

.select-files-link[b-jp7r7wf5pc] {
    color: #3e8eb6;
    text-decoration: underline;
    font-size: 1.18rem;
    cursor: pointer;
    font-weight: 500;
}

.text-muted[b-jp7r7wf5pc] {
    color: #7e9aad;
    font-size: 1em;
    margin-top: 0.3em;
}

input[type="file"][b-jp7r7wf5pc], #fileInput[b-jp7r7wf5pc] {
    display: none !important;
}

.file-list[b-jp7r7wf5pc] {
    background: #fafbfd;
    border-radius: 14px;
    padding: 1.2rem 1.1rem .8rem 1.1rem;
    margin-bottom: 1.2rem;
    border: 1.5px solid #e1eef5;
}

.file-entry[b-jp7r7wf5pc] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: .65rem;
    background: none;
}

.pdf-icon[b-jp7r7wf5pc] {
    width: 36px;
    margin-right: 0.7rem;
}

.filename[b-jp7r7wf5pc] {
    flex: 1;
    font-size: 1em;
    color: #2a3f57;
    font-weight: 500;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* PDF иконка с отстояние отгоре */
.pdf-icon.with-margin[b-jp7r7wf5pc] {
    margin-top: 7px;
}

/* Контейнерът с информацията за файла (за лейаута flex) */
.file-entry .info-container[b-jp7r7wf5pc] {
    flex: 1 1 0;
    min-width: 0;
}

/* Името на файла: bold, четливо и с отстояние */
.filename.custom-filename[b-jp7r7wf5pc] {
    display: block;
    font-weight: bold;
    color: #18304b;
    margin-bottom: 2px;
}

/* Блок за OCR информация под името */
.ocr-info-block[b-jp7r7wf5pc] {
    margin-bottom: 7px;
}

/* Един ред OCR информация (черен цвят, по-малък размер) */
.ocr-info-line[b-jp7r7wf5pc] {
    font-weight: bold;
    color: #222;
    font-size: 0.8em;
    margin-bottom: 2px;
    display: flex;
    align-items: baseline;
}

    /* Зелена икона за тикче */
    .ocr-info-line .fa-check[b-jp7r7wf5pc] {
        color: #189954;
        margin-right: 8px;
    }

/* Червен ред за "No income data found" */
.ocr-no-income[b-jp7r7wf5pc] {
    font-weight: bold;
    color: #d04848;
    font-size: 0.8em;
    display: flex;
    align-items: baseline;
}

    /* Червен Х и разстояние */
    .ocr-no-income .fa-xmark[b-jp7r7wf5pc] {
        color: #d04848;
        font-size: 1.19em;
        margin-right: 7px;
    }

.remove-btn[b-jp7r7wf5pc] {
    background: #fff1f1;
    border: 1px solid #f9dadb;
    color: #d44753;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.18rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1.3rem;
    transition: background 0.2s;
}

    .remove-btn:hover[b-jp7r7wf5pc] {
        background: #ffd0d5;
    }

.btn-row[b-jp7r7wf5pc] {
    text-align: right;
    padding-top: 1.2rem;
}

.continue-btn[b-jp7r7wf5pc] {
    background-color: #3e8eb6;
    color: #fafdff;
    padding: 0.7em 2.5em;
    border: none;
    border-radius: 7px;
    font-weight: 600;
    font-size: 1.14em;
    cursor: pointer;
    box-shadow: 0 2px 7px #b3d7e0ae;
}

    .continue-btn:hover[b-jp7r7wf5pc] {
        background-color: #226a91;
    }

    .continue-btn:disabled[b-jp7r7wf5pc] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.animated-message[b-jp7r7wf5pc] {
    min-width: 180px;
    max-width: 450px;
    margin: 15px auto 0 auto;
    background: linear-gradient(90deg,#ffe0e0, #fafdff 85%);
    color: #a23434;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 3px 24px #ecbbbb1e, 0 1px 3px #eebcbc60;
    border: 1.5px solid #ffc3c3;
    padding: 1.05em 1.6em;
    text-align: center;
    font-size: 1.08em;
    letter-spacing: 0.01em;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    position: relative;
    z-index: 20;
    cursor: pointer;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-line;
    max-width: 95vw;
    box-sizing: border-box;
}

    .animated-message.hidden[b-jp7r7wf5pc] {
        opacity: 0;
        transform: translateY(-16px) scale(0.98);
        pointer-events: none;
    }

    .animated-message .icon[b-jp7r7wf5pc] {
        display: inline-block;
        vertical-align: middle;
        margin-right: 8px;
        font-size: 1.08em;
    }

.file-entry.duplicate-flash[b-jp7r7wf5pc] {
    animation: flash-dupe-b-jp7r7wf5pc 2s;
    box-shadow: 0 0 8px 4px #ff8b8b96;
    border-radius: 16px;
    border: 2px solid #ff5555;
}

@keyframes flash-dupe-b-jp7r7wf5pc {
    0% {
        background: #ffe0e0;
    }

    40% {
        background: #ffd7d7;
    }

    66% {
        background: #ffeae6;
    }

    100% {
        background: transparent;
        border-color: transparent;
    }
}

/* --- CUSTOM PROGRESSBAR FOR UPLOAD/OCR/SUCCESS/ERROR --- */
.styled-progress[b-jp7r7wf5pc] {
    width: 210px;
    height: 2.3em;
    border-radius: 1.25em;
    overflow: hidden;
    border: 1.5px solid #bdf5ce;
    box-shadow: 0 2px 10px #d5f9eb53;
    position: relative;
    margin: 0 12px;
    display: inline-block;
    vertical-align: middle;
    background: linear-gradient(90deg, #e3ffed 0%, #eafafc 100%);
    /* Пулс само по време на активност, слагай го с "pulsing" клас! */
}

    .styled-progress.pulsing[b-jp7r7wf5pc] {
        animation: bar-pulse-b-jp7r7wf5pc 0.95s ease-in-out infinite alternate;
    }

@keyframes bar-pulse-b-jp7r7wf5pc {
    0% {
        filter: brightness(1);
        box-shadow: 0 2px 14px #c8fcc880;
    }

    67% {
        filter: brightness(1.18);
        box-shadow: 0 4px 22px #b4fec5ee;
    }

    100% {
        filter: brightness(1);
        box-shadow: 0 2px 14px #c8fcc880;
    }
}
/* Самият вътрешен бар */
.styled-progress .bar[b-jp7r7wf5pc] {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 1.25em;
    background: linear-gradient(90deg, #45df87 0%, #d2ffd9 100%);
    z-index: 1;
    transition: width 0.6s cubic-bezier(0.44,0.06,0.53,0.94);
    overflow: hidden;
    width: 0%;
}
/* Шимер ефект */
.styled-progress .shine[b-jp7r7wf5pc] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.19) 38%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.19) 62%, rgba(255,255,255,0.05) 100%);
    background-size: 210% 100%;
    animation: bar-shimmer-move-b-jp7r7wf5pc 1.2s linear infinite;
}

@keyframes bar-shimmer-move-b-jp7r7wf5pc {
    0% {
        background-position: -110% 0;
    }

    100% {
        background-position: 110% 0;
    }
}

.styled-progress .label[b-jp7r7wf5pc] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #189954;
    font-size: 0.9em;
    z-index: 5;
    user-select: none;
    pointer-events: none;
    letter-spacing: 0.01em;
    text-shadow: 0 0.5px 8px #fff9;
}

.styled-progress.green .bar[b-jp7r7wf5pc] {
    width: 100%;
    background: linear-gradient(90deg, #a1e7bb 0%, #d7fdeb 100%);
}

.styled-progress.green[b-jp7r7wf5pc] {
    border-color: #bdf5ce;
    background: linear-gradient(90deg, #d6ffe6 0%, #eafafc 100%);
}

    .styled-progress.green .label[b-jp7r7wf5pc] {
        color: #189954;
    }

.styled-progress.red .bar[b-jp7r7wf5pc] {
    width: 100%;
    background: linear-gradient(90deg, #f74b4b 0%, #ffdede 100%);
}

.styled-progress.red[b-jp7r7wf5pc] {
    border-color: #ecbfc8;
    background: linear-gradient(90deg, #ffe0e5 0%, #f8d9e7 100%);
}

    .styled-progress.red .label[b-jp7r7wf5pc] {
        color: #b4213a;
    }
