﻿.hide{
    display:none !important;
}
.ivs-button {
    padding: 8px 18px;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    max-width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    display: inline-block;
    margin-right: 5px;
}
#dgcProductionOrder {
    margin-top: 25px !important;
}

.search-table{
    border:none;
    display:table;
}
.search-table > td {
    border: none;
    padding:5px; 
}
.search-table .col-label {
    white-space: nowrap;
}
.breadcrumb-item {
    display: inline-block;
    max-width: 100px;
    margin-right: 5px;
    background-color: #f5f5f5;
}
.tab-pane {}
.tab-content{
    height: auto !important;
}
ul{padding:0px; margin:0px; margin-bottom:15px;}
.panel-default > .panel-heading{ min-height:30px;}
label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    cursor: default;
    font-weight: normal !important;
}
div[dx-select-box], div[dx-date-box], div[dx-text-box], div[dx-text-area] {
    background: #fff;
    border: 2px solid #00ffff;
    border-radius: 4px;
}

    div[dx-check-box] {
        background: #fff;
        border-radius: 4px;
        max-width: 30px;
        width: 30px;
        border: 2px solid #00ffff;
    }
    div[dx-check-box].dx-checkbox {
        border: 0px solid #00ffff;
    }
    div[dx-radio-group] {
        background: #fff;
        border-radius: 4px;
        border: 2px solid #00ffff;
    }
.dx-radiogroup {
    border: none !important;
}
ul.nav {
    height: 30px;
}

body{
    font-family:Arial;
}
.col-label{
    padding-left:10px !important;
}
    .col-label.l-required label{
        color:red !important;
    }
    .col-value {
    }
.panel-body{
    padding:0px;
    padding-top:5px;
    padding-bottom:10px;

}
.last-col{
    
}
.dx-checkbox-text{
    display:inline-block;
    width: auto;
}
.dx-checkbox-container{
    overflow:no-content;
    width:auto;
}
.split-container td{ vertical-align:top;}
.split-container tr {
    vertical-align: top;
}
.split-container{height:100%;}
.split-panel {
    vertical-align: top !important;
}

.MdiForm{
    width:100%;
    height:100%;
    border:none;
    padding:0; margin:0;
}
body > div:first-child {display:none !important;}
.dx-overlay-wrapper {
   /* display:normal !important; */
}
#tabPanel .dx-icon-close {
    position: absolute;
    right: 5px !important;
    top: 5px;
    color: #000 !important;
    opacity: 1;
    font-family: Arial;
    background-color: transparent !important;
}
#tabPanel .dx-tab {
    position: relative;
}
#tabPanel .dx-tab a{
    opacity:1 !important;
    background-color:transparent !important;
}
#tabPanel .dx-icon-close::before {
    content:""
}
#tabPanel .dx-tab .dx-icon-close {
    top: -995px;
}
#tabPanel .dx-tab-selected .dx-icon-close {
    top: 5px !important;
}

.search-table > tbody > tr > td {
    /*padding: 4px 0px 4px 0px !important;*/
}
.l-required{ color:red !important;}
.sitemap{
}

.dxeReadOnly_IvsYouthful :read-only {
    background-color: #dedede !important;
    pointer-events: none;
}
.dxeReadOnly_IvsYouthful .dxeButtonEditButton_IvsYouthful{
    display:none;
}
.dxeReadOnly_IvsYouthful {
   background-color: #dedede !important;
/*   border-radius:5px !important;*/
   padding:1px;
}
.dxeReadOnly_IvsYouthful > td {
    background-color: #dedede !important;
/*    border-radius:5px !important;*/
}
.dxeEditArea_IvsYouthful {
    border: 1px solid #e5eecf;
/*    border-radius: 5px;*/
/*    -webkit-border-radius: 5px;*/
}
.dxeDisabled_IvsYouthful{ color:#000 !important;}
.dxeEditArea_IvsYouthful.dxeDisabled_IvsYouthful {
    color: #000 !important;
}
.required{color:red !important;}
.error-box{display:none;}
.dxic{
    position:static !important;
}
.enable-sticky {
    position: sticky !important;
    left: auto;
}
.form-detail .dxpc-footer {
    background-color: #e9e9e900 !important;
    text-align: left;
    border-top: double 2px #29618E !important;
}

.form-detail .dxpcLite_IvsYouthful .dxpc-footer, .form-detail .dxdpLite_IvsYouthful .dxpc-footer {
    text-align: left;
}
#popFormDetail_PWC-1{
    padding:0 0 20px 0 !important;
}
#popFormDetail_PWC-1 .sitemap{
    padding: 5px;
    padding-left:10px;
    background:#e9e9e900;
    border-bottom:double 2px #ccc !important;
    margin-bottom: 10px;
    color:#333;
}
div {
scrollbar-width: thin; /* mảnh */
scrollbar-color: #29618E transparent; /* thumb xám, track trong suốt */
}

/* Chrome, Edge, Safari áp dụng cho tất cả div */
div::-webkit-scrollbar {
    width: 6px; /* chiều rộng scrollbar dọc */
    height: 6px; /* chiều cao scrollbar ngang */
}

div::-webkit-scrollbar-track {
    background: transparent; /* nền track trong suốt */
}

div::-webkit-scrollbar-thumb {
    background: #29618E; /* màu thanh kéo */
    border-radius: 10px; /* bo tròn cho mềm mại */
    transition: background 0.3s ease; /* hover mượt */
}

div::-webkit-scrollbar-thumb:hover {
background: #29618E; /* hover đậm hơn */
}
.detail-container {
  padding:5px !important;
}

li.dxtcLiteDisabled_IvsYouthful {
    position: relative;
    opacity: 1; /* giữ màu nền rõ */
    pointer-events: none; /* tạm thời không click được */
    padding-right:15px;
}
li.dxtcLiteDisabled_IvsYouthful::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    border-radius: 2px;
}
/* Spinner hiển thị trong tab */
li.dxtcLiteDisabled_IvsYouthful::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.6);
    border-top: 2px solid #ff0; /* xoay vàng nổi bật */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 11;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}
.slide-out-right {
    animation: slideRight 0.4s forwards;
}

@keyframes slideRight {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(100%); opacity: 0; }
}
.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.popup-message {
    display: grid;
    grid-template-columns: 50px 1fr;
    max-height: 300px;
    overflow-y: auto !important;
    position: relative; /* để sticky tính toán trong khung này */
}

.popup-icon {
    display: flex;
    align-items: center; /* icon luôn giữa chiều cao */
    justify-content: center;
    position: sticky;
    left: 0;
}

.default > .popup-icon {
    display: flex !important;
    align-items: center !important; /* icon luôn giữa chiều cao */
    justify-content: center !important;
    position: sticky !important;
    left: 0 !important;
}

.default > .popup-icon-placeholder {
    display: none;
}

.more > .popup-icon {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important; /* luôn giữa popup */
    width: 50px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.popup-content {
    overflow-y: auto; /* scroll khi nội dung dài */
    padding: 8px;
    width: 100%; /* chiếm toàn bộ phần còn lại */
    box-sizing: border-box;
}

.dxgvControl_IvsYouthful{
    width: 100% !important;
}