﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.status-buttons {
    display: flex;
    flex-direction: column; /* Xếp dọc */
    align-items: center; /* Canh giữa ngang */
    gap: 1rem; /* Khoảng cách giữa các nút */
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 320px; /* Giới hạn chiều rộng */
    margin-left: auto;
    margin-right: auto; /* Canh giữa khối container */
}

    .status-buttons button {
        width: 100%; /* Nút chiếm hết chiều ngang của container */
        max-width: 320px; /* Giới hạn độ rộng lớn nhất */
        min-width: 200px; /* Đảm bảo nút không quá nhỏ trên màn hình lớn */
        font-weight: 600;
        border-radius: 8px;
        padding: 0.6rem 1rem;
        font-size: 1.1rem;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

        .status-buttons button.active {
            background-color: #0d6efd;
            color: white;
            border-color: #0d6efd;
        }

        .status-buttons button:disabled {
            opacity: 0.6;
            background-color: #f1f3f5; /* Nền xám nhẹ */
            color: #343a40 !important; /* Chữ xám đậm gần đen */
            border: 1px solid #6c757d; /* Viền xám đậm hơn */
            font-weight: 700;
            cursor: not-allowed;
        }

/* Responsive cho màn hình nhỏ (điện thoại) */
@media (max-width: 400px) {
    .status-buttons {
        max-width: 90vw; /* rộng gần hết màn hình điện thoại */
    }

        .status-buttons button {
            min-width: unset;
            font-size: 1rem;
        }
}

.status-label {
    font-size: 1.5rem;
}




.title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.status-buttons button {
    min-width: 100px;
}

.card .row {
    display: flex;
    align-items: center;
}

.card label {
    font-weight: 500;
}


#header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 16px;
}

    #header h1 {
        font-size: 1.25rem;
        margin: 0;
        color: #333;
    }


.sty_difference_pay_statement_dialog {
    background-color: #fff;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.rebar-info-header {
    background: linear-gradient(90deg, #a0c4ff, #bdb2ff); /* xanh nhạt sang tím nhạt */
    color: white;
    font-size: 1.25rem; /* Tăng cỡ chữ */
    text-align: center; /* Canh giữa nội dung */
    padding: 12px 0;
    border-bottom: 2px solid #0a58ca;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Rebar*/
/* Mặc định: chỉ hiển thị table (PC) */
.desktop-table {
    display: block;
}

.mobile-cards {
    display: none;
}

/* Khi width <= 768px thì ẩn table, hiện card */
@media screen and (max-width: 768px) {
    .desktop-table {
        display: none;
    }
    

    .mobile-cards {
        display: block;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(2px);
    }

    75% {
        transform: translateX(-2px);
    }
}

.attention {
    animation: shake 1.5s infinite;
}

/*phát------------------------------------------------------------------*/
.month-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month-modal-dialog {
    min-width: 350px;
    max-width: 90vw;
    z-index: 1060;
}

.status-circles {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0 0 0;
}

.status-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 500;
    color: #222;
    padding: 7px;
    border-radius: 3px;
    box-sizing: border-box;
    transition: background 1s, border 1s;
    overflow: hidden;
    white-space: nowrap;
}


    .status-circle.total {
        height: 35px;
        font-size: 2.2rem;
    }

        .status-circle.total.started {
            background: #ffa94d;
        }

        .status-circle.total.done {
            background: #b2ffb2;
        }

        .status-circle.total.late {
            background: red;
        }

    .status-circle.processed {
        height: 30px;
        background: #b2ffb2;
    }

    .status-circle.unprocessed {
        height: 30px;
    }

        .status-circle.unprocessed.white {
            animation: none !important;
        }

        .status-circle.unprocessed.blinking-orange {
            background: orange;
            animation: blink-orange 1.5s linear infinite;
        }

        .status-circle.unprocessed.late {
            background: #ff4d4d;
            animation: blink-late 1.5s linear infinite;
        }

@keyframes blink-orange {
    0%, 100% {
        background-color: orange;
    }

    50% {
        background-color: #fff7e0; /* màu nhạt hơn của orange */
    }
}

@keyframes blink-late {
    0%, 100% {
        background-color: #ff4d4d;
    }

    50% {
        background-color: #ffeaea; /* màu nhạt hơn của đỏ */
    }
}

.star-icon {
    cursor: pointer;
    font-size: 1.3em;
    color: #ccc;
    transition: color 0.2s;
    margin-right: 6px;
    vertical-align: middle;
}

    .star-icon.starred {
        color: #FFD600;
        text-shadow: 0 0 2px #bfa100;
    }
/* Sticky table header for Home.razor */
#data-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}
#data-table2 thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}
#data-table2 {
    font-size: 17px;
}

    #data-table2 th, #data-table2 td {
        white-space: nowrap;
        padding: 0.3rem;
    }
    #data-table2 td {
        height: 75px !important;
        min-height: 75px !important;
        max-height: 75px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        vertical-align: middle !important;
        box-sizing: border-box;
    }

/* Sticky table header for Index.razor */
#data-table1 thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}
.status-action-btn {
    position: static;
    right: 0;
    top: 50%;
    transform: none;
    border: 2px solid white;
    width: 70px;
    font-weight: bold;
    margin: 0 !important;
    border-radius: 3px;
    padding: 0 !important;
    transition: border-color 1s, background 1s, color 1s;
    outline: none;
    z-index: 2;
    visibility: hidden;
}

    .status-action-btn.ready-blink {
        min-height: 32px;
        border-color: #28a745;
        color: #28a745;
        animation: blink-border 1.5s infinite;
        visibility: visible;
    }

@keyframes blink-border {
    0% {
        border-color: #28a745;
    }

    50% {
        border-color: #fff;
    }

    100% {
        border-color: #28a745;
    }
}

.status-action-btn.ready-blink span {
    color: #28a745;
}

#data-table {
    font-size: 17px;
}

    #data-table th, #data-table td {
        white-space: nowrap;
        padding: 0.3rem;
    }

/*------------------------------------------------------------------*/

:root {
    --bg-color: #fff;
    --text-color: #333;
    --card-bg-bg: #f8f9fa;
    --table-bg-bg: #f8f9fa;
    --table-border-color: Gray;
    --bs-border-color:gray !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.card-list-mobile {
    max-height: 600px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

    .card-list-mobile .card-list-mobile .card {
        background-color: var(--card-bg);
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .card-list-mobile .card:hover {
        background-color: #e8e9fa;
    }

.table-light {
    background-color: var(--table-bg);
}

.table-bordered {
    border-color: var(--table-border-color) !important;
}

.text-truncate {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .card-list-mobile {
        display: none;
    }

    .table-responsive-mobile {
        display: table;
    }
}

@media (max-width: 768px) {
    .table-responsive-mobile {
        display: none;
    }

    .card-list-mobile {
        display: block;
    }
}

.btn-circle {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}


.status-action-btn.delivered-white {
    background: #28a745;
    color: white;
    border-color: #28a745;
    visibility: visible;
}
/*phát------------------------------------------------------------------*/

.status-action-btn.delivered-black {
    background: #28a745;
    color: black;
    border-color: #28a745;
    visibility: visible;
}

.status-action-btn.processing-yellow {
    visibility: visible;
    border-color: #ffc107; /* màu vàng cam cho dễ phân biệt */
    color: black; /* Cho màu chữ đen */
    min-height: 32px;
}

.status-action-btn.processing-progress {
    position: relative;
    background: linear-gradient(to right, #4caf50 var(--progress), #e0e0e0 var(--progress));
    overflow: hidden;
}

    /* Ánh sáng xanh lá dịu, rõ, không quá trong suốt cũng không quá sắc nét */
    .status-action-btn.processing-progress::after {
        content: "";
        position: absolute;
        top: 0;
        left: -30%;
        width: 30%;
        height: 100%;
        background: linear-gradient( 120deg, rgba(0, 200, 100, 0.2) 0%, rgba(0, 255, 100, 0.5) 50%, rgba(0, 200, 100, 0.2) 100% );
        animation: shine 2s infinite;
        pointer-events: none;
        border-radius: 4px;
        filter: blur(2px); /* làm dịu cạnh ánh sáng */
    }

/* Keyframes ánh sáng chạy ngang */
@keyframes shine {
    0% {
        left: -30%;
    }

    100% {
        left: 100%;
    }
}




.btn-circle {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

    .btn-circle i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 1.2rem;
        line-height: 1;
    }

/* Đường line dưới tab đang active */
.nav-tabs {
    --bs-nav-tabs-border-color: black !important;
    --bs-nav-tabs-link-active-border-color: #000000 #080808 #ffffff !important;
}
input:focus {
    box-shadow: none;
    outline: none;
}
/*.container-fluid {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}*/

/* popup */
.aps-ico {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center; /* căn icon vào giữa chiều cao dòng */
    justify-content: center;
    font-size: 16px;
    line-height: 1; /* tránh icon bị lệch */
    vertical-align: middle; /* căn cùng hàng với text */
}

/* 1) Khóa cuộn toàn trang */
html, body {
    margin: 0;
    height: 100%;
    overflow: hidden; /* tắt scrollbar dọc/ngang */
}

.icon-holder {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
}

    .icon-holder > i {
        font-size: 28px;
        line-height: 1;
        z-index: 2;
    }

/* vòng xử lý */
.ring {
    position: absolute;
    inset: 0;
    z-index: 1;
    transform: rotate(-90deg);
}

.ring-track {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 6;
}

.ring-fill {
    fill: none;
    stroke: orange;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 99;
}

/* màu icon theo state */
.state-empty > i {
    color: black;
}

.state-done > i {
    color: green;
}

.state-proc > i {
    color: orange;
}

.state-warning > i {
    color: orange;
}

/* chấm than đỏ */
.warn-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: red;
    color: white;
    font-size: 12px;
    line-height: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-weight: bold;
}

/* badge “có bản mới” */
.update-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    z-index: 3;
    font-size: 14px;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}

/* animation vòng */
@keyframes ring-fill {
    from {
        stroke-dashoffset: 99;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* Banner trên đầu trang */
.ps-banner {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border: 1px solid #e5e7eb;
    background: #fff7ed;
    color: #7c2d12;
    border-radius: 8px;
}

.ps-icon {
    font-size: 18px
}

.ps-link {
    border: 0;
    background: #2563eb;
    color: #fff;
    padding: .35rem .7rem;
    border-radius: 6px;
    cursor: pointer
}

    .ps-link:hover {
        filter: brightness(.95)
    }

.ps-ghost {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    padding: .3rem .6rem;
    border-radius: 6px;
    cursor: pointer;
}

.vm-cell .btn {
    position: relative;
}

@media (max-width: 767.98px) {
    .card-list-mobile {
        /* Cho phép cuộn danh sách card; chừa phần trên cho tabs/toolbox */
        max-height: calc(100vh - 220px);
        overflow-y: auto;
    }
    /* Lưới nhãn-giá trị gọn gàng */
    .mobile-kv {
        display: grid;
        grid-template-columns: 88px 1fr;
        row-gap: 6px;
        column-gap: 8px;
        align-items: center;
        font-size: 0.95rem;
    }

        .mobile-kv .k {
            color: #6c757d;
        }

        .mobile-kv .v {
            font-weight: 600;
        }

    .mobile-card h6 {
        margin: 0;
    }
    /* Giữ nguyên style VM / warn-badge bạn đang dùng */
    .icon-holder {
        position: relative;
        width: 40px;
        height: 40px;
        border: none;
    }

        .icon-holder > i {
            font-size: 22px;
        }
}

/* popup show 3D views */
/* overlay */
.vp-modal {
    background: rgba(0,0,0,.35);
}

/* URN box */
.vp-urn {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: .5rem .75rem;
    word-break: break-all; /* tránh tràn, không đè lên ô search */
    white-space: normal;
    color: #111827;
}

/* Bảng + header sticky + đường kẻ rõ */
.vp-table-wrap {
    max-height: 420px;
    overflow: auto;
}

.vp-thead-sticky th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.vp-table > :not(caption) > * > * {
    border-color: #e5e7eb !important; /* đường kẻ dọc/ngang đồng bộ */
}

.vp-table tbody tr:hover {
    background: #f9fafb;
}


/* Status css */
/* ===== MOBILE: Panel fit trong #preview + xử lý Settings ===== */
@media (max-width:576.98px) {
    /* nền đặc, không blur */
    .docking-panel, .docking-panel .docking-panel-container, .docking-panel .docking-panel-footer, .docking-panel .docking-panel-title {
        background: #2b2b2b !important;
        color: #f1f1f1 !important;
        backdrop-filter: none !important;
    }
    /* bám 4 cạnh + padding, giới hạn kích thước */
    #preview .docking-panel,
    #preview .docking-panel-shadow {
        position: absolute !important;
        left: 8px !important;
        right: 8px !important;
        top: 8px !important;
        bottom: 8px !important;
        width: auto !important;
        height: auto !important;
        max-width: calc(100% - 16px) !important; /* Giới hạn chiều rộng tối đa */
        transform: none !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        z-index: 100 !important;
    }

    #preview .docking-panel-shadow {
        display: none !important;
    }
    /* Settings: container nội bộ phải co giãn & có scroll ngang/dọc */
    #preview .docking-panel .docking-panel-container {
        overflow: auto !important;
        padding: 8px !important;
    }

    #preview .settings-panel, /* lớp gán thêm bằng JS */
    #preview .settings-container {
        min-width: 0 !important;
        width: 100% !important;
    }

    #preview .docking-panel .docking-panel-title {
        padding: 10px 14px !important;
    }
    /* Ẩn toolbar mặc định trên mobile (nếu muốn) */
    #preview .adsk-toolbar {
        display: none !important;
    }
}

/* Status css */
/* Desktop only */
@media (min-width: 577px) {
    /* PAN: bàn tay kéo */
    #preview.pan-cursor canvas {
        cursor: grab !important;
        cursor: -webkit-grab !important;
    }

        #preview.pan-cursor canvas:active {
            cursor: grabbing !important;
            cursor: -webkit-grabbing !important;
        }

    /* ZOOM: gợi ý dùng zoom-in (dễ hiểu hơn ns-resize) */
    #preview.zoom-cursor canvas {
        cursor: zoom-in !important;
    }

    /* ORBIT: để default */
    #preview.orbit-cursor canvas {
        cursor: default !important;
    }
}

/* Trên thiết bị cảm ứng: luôn trả về default để khỏi “nháy” cursor */
@media (pointer: coarse) {
    #preview canvas {
        cursor: default !important;
    }
}
:root {
    --dock-h: 140px;
}
.login-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.login-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: min(480px, 100%);
    padding: 1.5rem;
}

/* SHARE DOCUMENT — FIX COLUMN HEIGHT + RESPONSIVE */
.doc-left-col {
    max-width: 100%;
}

/* card spacing */
.doc-upload-card,
.doc-option-card,
.doc-sender-card,
.doc-result-card {
    border-radius: 10px;
}

/* allow vertical scrolling so password fields are not cut */
.doc-scrollable {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 10px;
}

/* VÙNG DROP */
.dropzone-box {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    background: #fff;
    transition: 0.25s ease-in-out;
}

    .dropzone-box.drag-over {
        border-color: #4da3ff !important;
        background: #eef6ff;
        box-shadow: 0 0 12px rgba(77,163,255,0.45);
    }

.dropzone-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}



/* FILE TABLE */
.table-file-list tbody tr {
    vertical-align: middle;
}
.table-file-list tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.btn-delete {
    padding: 2px 10px;
    border-radius: 6px;
}
.btn-delete:hover {
    background: #dc3545;
    color: white;
}
