@import 'Robot.Client.lldrbyplc7.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-s44wu6i4eu] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-s44wu6i4eu] {
    flex: 1;
}

.sidebar[b-s44wu6i4eu] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-s44wu6i4eu] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-s44wu6i4eu]  a, .top-row[b-s44wu6i4eu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-s44wu6i4eu]  a:hover, .top-row[b-s44wu6i4eu]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-s44wu6i4eu]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-s44wu6i4eu] {
        justify-content: space-between;
    }

    .top-row[b-s44wu6i4eu]  a, .top-row[b-s44wu6i4eu]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-s44wu6i4eu] {
        flex-direction: row;
    }

    .sidebar[b-s44wu6i4eu] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-s44wu6i4eu] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-s44wu6i4eu]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-s44wu6i4eu], article[b-s44wu6i4eu] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-s44wu6i4eu] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-s44wu6i4eu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-vvxoquw4ui] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-vvxoquw4ui] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-vvxoquw4ui] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-vvxoquw4ui] {
    font-size: 1.1rem;
}

.bi[b-vvxoquw4ui] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-vvxoquw4ui] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-vvxoquw4ui] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-vvxoquw4ui] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-vvxoquw4ui] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-vvxoquw4ui] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-vvxoquw4ui] {
        padding-bottom: 1rem;
    }

    .nav-item[b-vvxoquw4ui]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-vvxoquw4ui]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-vvxoquw4ui]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-vvxoquw4ui] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-vvxoquw4ui] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-vvxoquw4ui] {
        display: none;
    }

    .nav-scrollable[b-vvxoquw4ui] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/PrivateContainer.razor.rz.scp.css */
.page[b-vjhdwo6mkz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-vjhdwo6mkz] {
    flex: 1;
}

.sidebar[b-vjhdwo6mkz] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-vjhdwo6mkz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-vjhdwo6mkz]  a, .top-row[b-vjhdwo6mkz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-vjhdwo6mkz]  a:hover, .top-row[b-vjhdwo6mkz]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-vjhdwo6mkz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-vjhdwo6mkz] {
        justify-content: space-between;
    }

    .top-row[b-vjhdwo6mkz]  a, .top-row[b-vjhdwo6mkz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-vjhdwo6mkz] {
        flex-direction: row;
    }

    .sidebar[b-vjhdwo6mkz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-vjhdwo6mkz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-vjhdwo6mkz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-vjhdwo6mkz], article[b-vjhdwo6mkz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
 

#blazor-error-ui[b-vjhdwo6mkz] {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.75); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    text-align: center;
}

    #blazor-error-ui p[b-vjhdwo6mkz] {
        font-size: 1.2em;
        width: 400px;
        padding: 25px;
        border-radius: 10px;
        color: white;
        background-color: #0000cd;
        border-color: white;
        border-width: 3px;
        border-style: solid;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    #blazor-error-ui .dismiss[b-vjhdwo6mkz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* /Components/Layout/PublishContainer.razor.rz.scp.css */
.page[b-qkfm29kg7i] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-qkfm29kg7i] {
    flex: 1;
}

.sidebar[b-qkfm29kg7i] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-qkfm29kg7i] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-qkfm29kg7i]  a, .top-row[b-qkfm29kg7i]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-qkfm29kg7i]  a:hover, .top-row[b-qkfm29kg7i]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-qkfm29kg7i]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-qkfm29kg7i] {
        justify-content: space-between;
    }

    .top-row[b-qkfm29kg7i]  a, .top-row[b-qkfm29kg7i]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-qkfm29kg7i] {
        flex-direction: row;
    }

    .sidebar[b-qkfm29kg7i] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-qkfm29kg7i] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-qkfm29kg7i]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-qkfm29kg7i], article[b-qkfm29kg7i] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
 

#blazor-error-ui[b-qkfm29kg7i] {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.75); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    text-align: center;
}

    #blazor-error-ui p[b-qkfm29kg7i] {
        font-size: 1.2em;
        width: 400px;
        padding: 25px;
        border-radius: 10px;
        color: white;
        background-color: #0000cd;
        border-color: white;
        border-width: 3px;
        border-style: solid;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    #blazor-error-ui .dismiss[b-qkfm29kg7i] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* /Components/Pages/OTax/OTaxSubmitDetail.razor.rz.scp.css */
.otax-detail[b-yzkeci3e7u] {
    font-size: 0.8125rem;
    color: #334155;
}

[b-yzkeci3e7u] .otax-detail .k-input-spinner {
    display: none;
}

[b-yzkeci3e7u] .otax-detail .k-state-disabled,
[b-yzkeci3e7u] .otax-detail .k-disabled,
[b-yzkeci3e7u] .otax-detail .k-widget[disabled] {
    background: #e9ecef !important;
    opacity: 1;
}

.otax-toolbar[b-yzkeci3e7u] {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
}

.otax-toolbar .otax-action-btn[b-yzkeci3e7u] {
    font-size: 0.75rem !important;
    padding: 0.2rem 0.65rem !important;
    line-height: 1.25 !important;
    min-width: 4.5rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.otax-toolbar .otax-nav-group[b-yzkeci3e7u] {
    flex: 0 0 auto;
}

.otax-toolbar .otax-nav-btn[b-yzkeci3e7u] {
    font-size: 0.75rem !important;
    padding: 0.2rem 0.35rem !important;
    line-height: 1.25 !important;
    min-width: auto;
    width: auto;
}

.otax-toolbar .dropdown-toggle[b-yzkeci3e7u]::after {
    margin-left: 0.35em;
    vertical-align: middle;
}

[b-yzkeci3e7u] .otax-toolbar .otax-doc-picker {
    width: 220px;
    font-size: 0.75rem;
}

[b-yzkeci3e7u] .otax-toolbar .otax-doc-picker .k-input-inner {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
    min-height: auto !important;
    line-height: 1.25 !important;
}

.otax-panel[b-yzkeci3e7u] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.4rem;
}

.otax-panel-title[b-yzkeci3e7u] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin: 0 0 0.35rem;
    letter-spacing: 0.02em;
}

.field-label[b-yzkeci3e7u] {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.otax-summary-bar[b-yzkeci3e7u] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    color: #475569;
}

.otax-summary-bar strong[b-yzkeci3e7u] {
    color: #0f172a;
    font-weight: 600;
}

.otax-summary-sep[b-yzkeci3e7u] {
    color: #cbd5e1;
    user-select: none;
}

.otax-summary-cancelled[b-yzkeci3e7u] {
    color: #dc3545;
}

.otax-summary-cancelled strong[b-yzkeci3e7u] {
    color: #b02a37;
}

.otax-section-head[b-yzkeci3e7u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.otax-section-head h6[b-yzkeci3e7u] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.otax-tab-content[b-yzkeci3e7u] {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.otax-tab-content .otax-section-title[b-yzkeci3e7u] {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 0.5rem;
}

/* Telerik TabStrip – ::deep เพื่อให้สไตล์ทำงานกับ markup ภายใน component */
[b-yzkeci3e7u] .otax-tabs.k-tabstrip .k-tabstrip-items .k-item .k-link,
[b-yzkeci3e7u] .otax-tabs.k-tabstrip .k-tabstrip-item .k-link,
[b-yzkeci3e7u] .otax-tabs .k-tabstrip-items-wrapper .k-item .k-link {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.65rem !important;
    line-height: 1.25 !important;
}

[b-yzkeci3e7u] .otax-tabs .k-tabstrip-content {
    padding-top: 0.35rem;
}

[b-yzkeci3e7u] .otax-detail .k-input,
[b-yzkeci3e7u] .otax-detail .k-picker,
[b-yzkeci3e7u] .otax-detail .k-dropdownlist,
[b-yzkeci3e7u] .otax-detail .k-multiselect {
    font-size: 0.78rem;
}

/* Grid – ให้ตรงกับ OTaxSubmitList (.otax-list .k-grid.small = 0.75rem) */
[b-yzkeci3e7u] .otax-detail .k-grid.small,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-table,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-table-td,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-table-th,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-grid-header,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-grid-footer,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-grid-footer .k-table-td,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-grid-footer .k-table-th,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-grid-pager,
[b-yzkeci3e7u] .otax-detail .k-grid.small .k-pager-wrap {
    font-size: 0.75rem !important;
}

.otax-detail .dropdown-menu .dropdown-item[b-yzkeci3e7u] {
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
}

[b-yzkeci3e7u] .otax-detail .rownormal {
    background-color: white;
}

[b-yzkeci3e7u] .otax-detail .rowcancel {
    color: hotpink;
}

.pv-quest-pdf-window-content[b-yzkeci3e7u] {
    height: calc(96vh - 92px);
    min-height: 560px;
    display: flex;
}
