﻿.modal-dialog .alert .btn {
    pointer-events: auto;
}

.form-control.form-inline {
    display: inline-block;
}

.price-common {
    font-weight: 500;
    color: #5E6278;
}

.pe-none {
    background-color: #EFF2F5;
    opacity: 1;
}

table>tbody>tr:has(td):has(div):has(.collapse) {
    display: none;
}

table>tbody>tr:has(td):has(div):has(.collapse.show) {
    display: contents;
}

.border-between>div:not(:last-child) {
    border-bottom: 1px dashed #EFF2F5;
    padding-bottom: 1.25rem;
}

.border-between>div:not(:last-child):not(:first-child) {
    padding-top: 1.25rem;
}

.border-between>div:last-child:not(:only-child) {
    padding-top: 1.25rem;
}

.quote-table>thead>tr>th:nth-child(1),
.quote-table>tbody>tr>td:nth-child(1) {
    padding-left: 5px;
}

.quote-table>thead>tr>th:nth-last-child(1),
.quote-table>tbody>tr>td:nth-last-child(1) {
    padding-right: 5px;
}

li {
    display: list-item;
    text-align: left;
}

.min-w-125 {
    min-width: 125px;
}

.min-w-60 {
    min-width: 56px;
}

.surcharge {
    margin-left: 58px;
}

.service-in-day {
    max-height: 500px;
    overflow: scroll;
}

.readonly {
    background: #f8fafb !important;
    pointer-events: none;
}

.has-click-event:hover {
    cursor: pointer;
}

.payrolls-table {
    tr {
        border-bottom-color: #bababa !important;
        border-bottom-width: 1px !important;
        border-bottom-style: dashed !important;
    }

    th {
        font-weight: bold !important;
        white-space: nowrap;
        /* Không cho phép xuống dòng */
        width: auto;
        border-left: 1px dashed #bababa;
        border-right: 1px dashed #bababa;
        border-top: 1px dashed #bababa;
        border-bottom: 1px dashed #bababa !important;

    }

    td {
        white-space: nowrap;
        /* Không cho phép xuống dòng */
        width: auto;
        border-left: 1px dashed #bababa;
        border-right: 1px dashed #bababa;
    }

    tr th:last-child,
    td:last-child {
        padding-right: 0.75rem;
    }

    tr th:first-child,
    td:first-child {
        padding-left: 0.75rem;
    }

    .booking-row {
        border-bottom: 1px solid #ccc !important
    }

    #table-sticky-left td {
        background: #eff7f6 !important;
    }

    tfoot tr {
        border-bottom: 1px solid #ccc !important
    }
}

/* .scrollbooster-content{
    cursor: grab;
    transition: box-shadow 0.2s ease;
}
.scrollbooster-content:hover {
    box-shadow: 0 0 0 2px rgba(0, 0, 0); 
  }
.scrollbooster-content:active {
    cursor: grabbing;
    box-shadow: 0 0 0 3px rgba(0, 0, 0);
  } */
.scrollbooster-viewport {
    overflow-x: hidden;
}

.skeleton-loader {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.skeleton-loader::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100px;
    left: -100px;
    top: 0;
    background: linear-gradient(to right, transparent, #ffffff70, transparent);
    animation: reflect 800ms ease-out infinite;
}

@keyframes reflect {
    to {
        left: calc(100% + 100px);
    }
}

#date-commission-item {
    cursor: pointer;
}

.commission-card.active {
    border-color: #17a2b8;
    transition: border-color 0.25s ease;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.commission-card {
    border-top: 2px solid #dfe0e0;
}

.commission-table tr {
    border-bottom-color: #bcbcbc !important;

}

.commission-table tr:last-child {
    border: 0 !important;
}

.title-commission-center {
    align-items: center;
    display: flex;
    height: 60px;
}

[tool-tip] {
    position: relative;
}

[tool-tip]::before {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translate(-50%, 0);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--bs-primary);
    opacity: 1;
    content: "";
    transition: all 0.25s linear;
    opacity: 0;
}

[tool-tip]::after {
    position: absolute;
    padding: 2px 7px 2px 7px;
    border-radius: 5px;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: calc(100% + 7px);
    background-color: var(--bs-primary);
    width: max-content;
    opacity: 0;
    content: attr(tool-tip);
    color: white;
    transition: all 0.25s linear;
}

[tool-tip]:hover:after,
[tool-tip]:hover:before {
    opacity: 1;
}

.my-kanban {

    body {
        font-family: 'Arial', sans-serif;
        background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
        margin: 0;
        padding: 20px;
        color: #333;
    }

    .kanban-board {
        display: flex;
        gap: 20px;
        justify-content: space-around;
        padding: 20px;
    }

    /* Column Styles */
    /* Column Header Styles */
    .column-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .column-header h2 {
        font-size: 1.5rem;
        color: #444;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    .export-excel-btn {
        color: #000000;
        border: none;
        border-radius: 6px;
        padding: 8px 12px;
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .export-excel-btn:hover {
        background: #007afd;
        color: #ffffff;
        transform: translateY(-2px);
    }

    .export-excel-btn:hover i {
        color: #fff;
    }

    .export-excel-btn:active {
        transform: translateY(0);
    }

    .export-excel-btn i {
        font-size: 1rem;
    }

    .column {
        background: #ffffff;
        width: 23%;
        padding: 20px;
    }

    .column h2 {
        font-size: 1.5rem;
        text-transform: uppercase;
        color: #444;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .column h2 i {
        color: #666;
    }

    /* Card Styles */
    .card {
        background: #ffffff;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-left: 4px solid #007bff;
    }

    .red-border {
        border-left: 4px solid #FF0000 !important;
    }

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    }


    .card h3 {
        font-size: 1.2rem;
        margin: 0 0 10px;
        color: #007bff;
    }

    .card p {
        font-size: 0.9rem;
        color: #666;
        margin: 0 0 10px;
    }

    .column:nth-child(1) h2 {
        color: #ff6b6b;
    }

    .column:nth-child(2) h2 {
        color: #2ed573;
    }

    .column:nth-child(3) h2 {
        color: #ffa502;
    }

    .column:nth-child(4) h2 {
        color: #1e90ff;
    }

    .tags {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .tag {
        display: inline-flex;
        align-items: center;
        background-color: #f0f0f0;
        color: #333;
        padding: 6px 12px;
        border-radius: 20px;
        font-weight: 600;
        transition: all 0.3s ease-in-out;
    }

    .tag i {
        margin-right: 6px;
        color: #007bff;
    }

    .tag:hover {
        background-color: #007bff;
        color: #fff;
    }

    .tag:hover i {
        color: #fff;
    }
}

.detail-service-calendar {

    body {
        font-family: Arial, sans-serif;
        background-color: #f9f9f9;
        margin: 20px;
    }

    .table-container {
        max-width: 800px;
        margin: auto;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .header-customer {
        background-color: #ffa726;
        color: #fff;
        padding: 8px 15px;
        font-size: 18px;
        font-weight: bold;
        display: flex;
        align-items: center;
    }

    .header-customer i {
        margin-right: 10px;
        color: #000000;
    }

    .sub-header {
        background-color: #e3f2fd;
        font-weight: bold;
        color: #0d47a1;
        padding: 8px 15px;
        display: flex;
        align-items: center;
    }

    .sub-header i {
        margin-right: 10px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
    }

    th,
    td {
        padding: 12px 15px;
        border: 1px solid #ddd;
        text-align: left;
    }

    th {
        background-color: #f1f1f1;
    }

    td {
        color: #333;
    }

    .highlight {
        background-color: #fafafa;
    }

    td.payment-cell {
        justify-content: space-between;
        align-items: center;
    }

    .payment-cell a {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

}

.detail-service-calendar table {
    width: 100%;
    table-layout: fixed;
    /* Đảm bảo các cột có chiều rộng cố định */
    border-collapse: collapse;
}

.detail-service-calendar th,
.detail-service-calendar td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}

.detail-service-calendar th:nth-child(1),
.detail-service-calendar td:nth-child(1) {
    width: 50%;
    /* Cột 1 chiếm 50% */
}

.detail-service-calendar th:nth-child(2),
.detail-service-calendar td:nth-child(2) {
    width: 25%;
    /* Cột 2 chiếm 25% */
}

.detail-service-calendar th:nth-child(3),
.detail-service-calendar td:nth-child(3) {
    width: 25%;
    /* Cột 3 chiếm 25% */
}