﻿


.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.full-image {
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
}

.panel-content img {
    max-width: 100vw;
    height: auto;
    margin-left: 30px;
}
.mud-nav-group {
    position: relative;
    z-index: 10; /* Cao hơn các phần tử khác */
}

.footer-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 5; /* Thấp hơn để không che phủ */
}
.custom-button {
    padding: 80px 8px; /* Giảm padding */
    min-width: 30px; /* Thu nhỏ chiều rộng */
    height: 30px; /* Thu nhỏ chiều cao */
    font-size: 12px; /* Giảm kích thước chữ */
}

.selected {
    background-color: #1E88E5 !important;
}

    .selected > td {
        color: white !important;
    }

        .selected > td .mud-input {
            color: white !important;
        }

.labelCustomColor label {
    font-weight: bold;
    color: #0078d4 !important;
}

.mud-table thead {
    background-color: #0077b6 !important;
}

.mud-table th {
    background-color: #0077b6 !important;
    color: white !important;
}

.mud-table1 {
    width: 100%;
    table-layout: auto;
}


.button-align {
    margin-top: 120px;
}

.mud-table-customtext {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}
.class-dialog-custom {
    backdrop-filter: blur(10px);
    transition: none !important;
    animation: none !important;
}
.table-shipment-bg {
    background-color: #E3F2FD !important;
}
.mud-table-foot tr {
    background-color: #118AB2 !important;
}

.footer-cell {
    background-color: #118AB2 !important;
    color: white !important;
}

.filter-header-cell {
    background-color: white !important;
    color: black !important;
}
.no-wrap {
    white-space: nowrap;
}

.text-right input,
.text-right textarea {
    text-align: right !important;
}

.custom-right-align {
    text-align: right !important;
}

.custom-label .mud-input-label {
    color: blue !important;
}

.label-right label {
    text-align: right;
    color: blue !important;
}

.no-wrap-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nondisplay {
    display: none;
}
.custom-credit  thead tr{
    background-color: #2E8B57 ! important;
}

.custom-credit th {
    background-color: #2E8B57 !important;
    color: white !important;
}

.table-hbl-bg {
    background-color: #FFF3E0 !important;
}
.custom-tab .mud-tabs-toolbar {
    font-size: 0.75rem;
    min-height: 36px;
    min-width: 100px !important;
}

.custom-tab .mud-tab {
    padding: 4px 8px;
}

.close-tab-icon {
    color: #b71c1c;
    font-size: 1rem;
    transition: color 0.2s ease;
}
.button-no-grow {
    max-height: 5vh !important;
    align-items: center;
    display: flex;
}
@media (max-width: 768px) {
    .datagrid-responsive {
        max-height: calc(100vh - 15vh);
        overflow-y: auto;
    }
}

.custom-disable {
    background-color: #f5f5f5; 
    color: gray; 
    opacity: 0.7;
}
.custom-disable:hover {
    background-color: #e0e0e0;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: var(--mud-input-label-size, 1rem) !important;
   
}

.mud-input {
    font-size: var(--mud-input-root-size, 1rem) !important;
}

.mud-table-cell {
    font-size: var(--mud-input-table-cell-size, 1rem) !important;
}
.mud-table-container {
    scrollbar-width: auto;
    scrollbar-color: #888 #f1f1f1;
}

.table-shipment-bg {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background-color: #fff;
    padding: 5px;
}
@media (max-width: 768px) {
    .mud-icon-button {
        font-size: .4500rem;
    }
    .gap-3 {
        gap: 0.4500rem !important;
    }
    .mud-switch-label-medium {
        font-size: 0.4500rem !important;
    }
    .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
        font-size: var(--mud-input-label-size, .5000rem) !important;
    }

    .mud-input {
        font-size: var(--mud-input-root-size, .5000rem) !important;
    }

    .mud-table-cell {
        font-size: var(--mud-input-table-cell-size, .5000rem) !important;
    }
    .mud-icon-size-small {
        font-size: .4500rem;
    }

    mud-checkbox-input {
        font-size: .4500rem;
    }
    .mud-typography-body1 {
        font-size: .4500rem;
        font-weight: 600;
        color: #333333;
    }
    .mud-switch-label-medium {
        font-size: .4500rem;
    }

    .mud-button-icon-size-small > *:first-child {
        font-size: 10px; /* hoặc kích thước bạn mong muốn */
    }
    .mud-button-filled-size-small {
        font-size: .4500rem; /* tuỳ chỉnh kích thước bạn muốn */
        padding: 1px 11px;
    }

    .mud-button {
        min-width: 50px;
    }

    .mud-button-text-size-small {
        padding: 4px 5px;
        font-size: .5125rem;
    }

    .mud-table-customtext,
    .no-wrap-cell {
        max-width: 50px;
        font-size: 9px;
    }

    .mud-table th,
    .mud-table td {
        font-size: 9px !important;
        padding: 2px !important;
    }

    .mud-tab {
        font-size: 0.6rem;
    }

    .mud-nav-group {
        font-size: 10px;
    }

    .button-align {
        margin-top: 30px;
    }

    .datagrid-responsive {
        max-height: calc(100vh - 25vh);
        overflow-y: auto;
    }

    .mud-table-container {
        overflow-x: auto;
    }

    .full-image,
    .panel-content img {
        max-width: 100%;
        height: auto;
        margin-left: 0;
    }

    .footer-container {
        font-size: 10px;
        padding: 4px;
    }

    .mud-tabs-toolbar {
        flex-wrap: wrap;
    }

    .close-tab-icon {
        font-size: 0.7rem;
    }

    .table-responsive {
        overflow-x: auto;
        display: block;
        width: 100%;
    }

    .no-wrap-cell {
        white-space: nowrap;
    }
}
