
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}
.modal-full {
    min-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    height: 100vh;
}

.modal-transaction, .modal-transaction .modal-dialog, .modal-transaction .modal-content {
    /*min-height: 95vh;*/
    max-height: 100vh;
    height: 100vh;
}

.input-error-border{
    border-color: #e74a3b !important;
}
#transactionmodal, #product-detail-modal, #legal-info-modal, #choose-legal-product-file, #choose-image-modal{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* #transactionmodal .modal-header{
    padding: 0 5px;
} */
/* #transactionmodal .modal-body{
    padding-top: 0;
} */
.modal-transaction {
    max-width: 100%;
    margin: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex !important;
}
#transactionmodal .bs-stepper .step-trigger{
    background-color: white !important;
}
#transactionmodal .bs-stepper .step-trigger{
    padding: 0;
}
#transactionmodal .bs-stepper-label{
    text-transform: none !important;
}
.bs-stepper-content{
  padding: 0px !important;
}
#create-transaction:disabled {
    background-color: #007bff;
    border-color: #007bff;
    opacity: 0.5;
    cursor: not-allowed;
}
.btn-create-transaction-next{
    display: none;
}
.action-item{
  margin-left: 10px;
}
.loader {
    border: 4px solid #f3f3f3; /* Adjust border thickness */
    border-radius: 50%;
    border-top: 4px solid #3498db; /* Adjust border thickness */
    width: 35px; /* Adjust width */
    height: 35px; /* Adjust height */
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    display: none;
  }
/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
.supplier-legend{
  color: white;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #5a6268;
    border-radius: 5px;
    background-color: #000;
}
.supplier-fieldset{
  border: 2px solid #5a6268;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 10px;
}
.create-transaction-action-group{
    display: flex;
    align-items: center;
}
.create-transaction-action-group .loader{
    margin-left: 10px;
}

#form-create-supplier-info fieldset {
    border: 2px solid #5a6268;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 10px;
}

#form-create-supplier-info legend {
    color: white;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #5a6268;
    border-radius: 5px;
    background-color: #000;
}

#list-product-info {
max-width: 100%; 
margin-bottom: 10px;
}
#list-product-info table  th{
    white-space: normal !important;
    text-align: center; 
    vertical-align: middle; 
}
#list-product-info table  td{
    white-space: normal !important;
    text-align: center; 
    vertical-align: middle; 
}

#legal-info-modal  td , #legal-info-modal  th{
  white-space: normal !important;
  vertical-align: middle; 
}
.set-parent-loader{
    padding-left: 0;
    padding-top: 2px;
}
.clear-margin-bottom{
    margin-bottom: 0 !important;
}
.margin-top-10{
    margin-top: 10px;
}

/* Set a style for all buttons */
#id01 button {
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
  }
  
  #id01 button:hover {
    opacity:1;
  }
  
  /* Float cancel and delete buttons and add an equal width */
  #id01 .cancelbtn, #id01 .deletebtn {
    float: left;
    width: 50%;
  }
  
  /* Add a color to the cancel button */
  #id01 .cancelbtn {
    background-color: #ccc !important;
    color: black;
  }
  
  /* Add a color to the delete button */
  #id01 .deletebtn {
    background-color: #f44336 !important;
  }
  
  /* Add padding and center-align text to the container */
  #id01 .container {
    padding: 16px;
    text-align: center;
  }
  
  /* The Modal (background) */
  #id01 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #474e5d;
    padding-top: 50px;
  }
  
  /* Modal Content/Box */
  #id01 .modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* Style the horizontal ruler */
  #id01 hr {
    border: 1px solid #f1f1f1;
    margin-bottom: 25px;
  }
   
  /* The Modal Close Button (x) */
  #id01 .close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: #f1f1f1;
  }
  
  #id01 .close:hover,
  #id01 .close:focus {
    color: #f44336;
    cursor: pointer;
  }
  
  /* Clear floats */
  #id01 .clearfix::after {
    content: "";
    clear: both;
    display: table;
  }
  
  /* Change styles for cancel button and delete button on extra small screens */
  @media screen and (max-width: 300px) {
    #id01 .cancelbtn, #id01 .deletebtn {
       width: 100%;
    }
  }

/*TAB ACTION*/

.tab-remove-action{
  display: flex;
  justify-content: end;
}

.nav-pills .nav-item .nav-link:not(.active) {
  color: #fff; /* Màu chữ */
  background-color: #858796; /* Màu nền */
}


/*START Danh sách chào hàng*/
.tab-content fieldset , .product-info fieldset{
  border: 2px solid #5a6268;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 10px;
}
.tab-content legend, .product-info legend{
  color: white;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #5a6268;
    border-radius: 5px;
    background-color: #000;
}
.nav-add-btn {
  font-size: 25px; padding-top: 7px;
}
.nav-add-btn:hover {
  cursor: pointer;
}
/*END Danh sách chào hàng*/


/*START Danh mục sản phẩm*/
.product-image:hover{
  cursor: pointer;
}
.image-choose-container,.legal-product-file-choose-container {
  width: 90%;
  border: 5px dashed #cccccc;
  border-radius: 10px;
  box-sizing: border-box;
  height: auto;
  padding: 100px;
  text-align: center;
}
p {
  margin-top: 5px;
  margin-bottom: 0px;
}
.upload-icon {
  font-size: 50px;
  color: #00dee6;
}
.choose-button ,.legal-choose-button{
  border-radius: 50px;
  width: 130px;
  background: #ffffff;
  border-color: #00dde5;
  color: #00dde5;
}
.choose-button:hover,
.choose-button:active,
.choose-button:focus,.legal-choose-button:hover,
.legal-choose-button:active,
.legal-choose-button:focus {
  background: #00dde5;
  color: #ffffff;
  border-color: #00dde5;
  transition: 0.5s;
}
#product-image-input,#legal-product-file-input {
  display: none;
}
.image-preview-item , .legal-file-preview-item{
  display: flex;
  border: 3px dashed #cccccc;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
}
.image-preview-image img {
  width: 100px !important;
  height: 100px !important;
}
.image-preview-list {
  display: flex;
  flex-wrap: wrap;
}
.image-preview-active-item, .legal-file-preview-active-item{
  border-color: #00dde5;
  transition: 1s;
}
.image-action-button {
  display: none;
}
/*END Danh mục sản phẩm*/

#transaction-receive-modal fieldset {
  border: 1px solid #dee2e6;
  padding: 10px;
}

#transaction-receive-modal legend {
  width: auto;
  padding: 0 10px;
  font-size: 1.2em;
}

#product-list .action {
  margin-bottom: 10px;
}
.row-active {
  background-color: rgba(0, 0, 0, 0.05);
}
.product-detail-group {
  margin-top: 10px;
  background: #edf0f2;
  -webkit-transition: linear 0.1s;
  transition: linear 0.1s;
  border-radius: 15px;
}
.group-content {
  padding: 20px;
}
.supplier-info{
  margin-top: 10px;
  width: 100%;
}
.legal-info-detail {
  margin-top: 10px;
}
.receive-info-table  th , .receive-info-table td{
  white-space: normal !important;
  text-align: center; 
  vertical-align: middle; 
}
.popover {
  text-align: center;
}
.receive-popper-body,.receive-result-popper-body{
  text-align: center;
}
.receive-btn-action{
  margin-top: 5px;
}
.type-item {
  border-radius: 6px;
  padding: 1em;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
#receive-transaction-table td{
  white-space: normal !important;
}
.receive-status{
  text-align: center;
}
.lightbox-thumbnail{
  width: 100%;
  height: 80px;
}
.feedback-column{
  width: 300px !important;
  max-width: 300px !important;
}
.border-require{
  border: 1px solid red !important;
}
#transaction-table th, td {
  white-space: normal !important;
}
.validate-error{
  margin-bottom: 5px;
}

.word-wrap, td[scope="row"]{
    vertical-align: middle !important;
}

/* ----- EDITED ----- */
#receive-transaction-contain-table .select2-container{
    width: 100% !important;
    margin-bottom: 3px;
}