body {  
  /*font-family: verdana;*/
  color: #333;
  
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
  line-height: 1.5;
}

/* Center the loader */

#loader {
  display:none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color:rgba(90,90,90,0.7);
  border-radius: 6px;
}
#loader .spinner {
  position:absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

#loaderImg {
	width: 100%;
	height: 100%; 
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	display:none;
}
#loaderImg .lds {
	margin: auto; 
	padding: 0; 
	position: absolute; 
	top: 0px; 
	bottom: 0;
	right: 0;
	left: 0;
	border-radius: 4px; 
	width: 128px;
	height: 128px; 
	background-color: rgba(0,0,0,.3);
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
  top:32px;
  left:32px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 32px 32px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin: -3px 0 0 -3px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 50px;
  left: 50px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 54px;
  left: 45px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 57px;
  left: 39px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 58px;
  left: 32px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 57px;
  left: 25px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 54px;
  left: 19px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 50px;
  left: 14px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 45px;
  left: 10px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

label {
    margin-bottom: 5px;
    font-size: 11px;
}

.alert {
  padding: 15px 15px 15px 61px;
}

.alert.fixed {
  z-index: 2;
  position: fixed; 
  top: 80px; 
  right: 30px; 
  max-width:400px;
}

@media (max-width: 768px) {
    .alert.fixed {
        top: 108px; 
        left: 15px;
        right: 15px;
    }
}

.close {
	font-size: 16px;
	margin-left: 10px;
}

.form-horizontal .login {
	background-color: #eee;
}

.login-container .out-links a {
	/*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);*/
	text-shadow: none !important;
	font-size: 10px;
    font-weight: bold;
}

/*.form-control {
    height: 36px;
}
.input-group .btn {
    line-height: 22px;
}*/

.w-80 {
    width:80%;
}
.w-100 {
    width:100%;
}

.x-10 { width: 10px !important; }
.x-20 { width: 20px !important; }
.x-30 { width: 30px !important; }
.x-40 { width: 40px !important; }
.x-50 { width: 50px !important; }
.x-60 { width: 60px !important; }
.x-70 { width: 70px !important; }
.x-80 { width: 80px !important; }
.x-90 { width: 90px !important; }
.x-100 { width: 100px !important; }
.x-110 { width: 110px !important; }
.x-120 { width: 120px !important; }
.x-130 { width: 130px !important; }
.x-140 { width: 140px !important; }
.x-150 { width: 150px !important; }
.x-160 { width: 160px !important; }
.x-170 { width: 170px !important; }
.x-180 { width: 180px !important; }
.x-190 { width: 190px !important; }
.x-200 { width: 200px !important; }

.fw-bold {
    font-weight : 700;
}

/*#cl-wrapper .cl-sidebar {
    min-width: 216px;
}

#cl-wrapper.sb-collapsed .cl-sidebar {
    min-width: 55px;
}

#cl-wrapper .cl-sidebar .side-user .info {
	width: 100%;
    text-align: center;
}*/

#dialogWrapper{
	width:100%; height:100%; background-color: rgba(0,0,0,.9); position: fixed; z-index: 9999; top: 0; left: 0; display:none;
}
#dialogPopUp{
	background-color: #fff;
    margin: auto;
    padding: 0;
    position: absolute;
    top: 10%;
    right: 0;
    /* bottom: 10%; */
    left: 0;
    border-radius: 4px;
    height: 80%;
}
#dialogHeader {
	width: 100%;   
    height: 50px;
    color: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
#dialogHeader h2 {
	line-height: 50px;
    text-align: center;
	width:95%;
	font-size: 26px;
}
#closeDialogWrapper {
	cursor: pointer; position: absolute; top: 8px; right: 8px;font-size: 16px;
}

#dialogContent{
	top: 50px;
    width: 100%;
    height: calc(100% - 50px);    
    overflow-y: auto;   
    padding: 10px 20px;
    position: absolute;
    left: 0;
}

.cl-mcont {
	font-weight: 400;
	font-size: 12px;
}

.dd-handle-custom {
   display: block;
   position: absolute; 
   margin: 0; 
   left: 0; 
   top: 0; 
   width: 30px;
   overflow: hidden; 
   height:36px; 
   line-height:36px;
   text-align: center; 
   padding:2px;
}

table thead th {
	/*font-weight: 600;
	font-size: 10px;*/
}

table tbody td { 
	/*padding: 7px 4px;  
	font-size: 10px;*/
}

table tbody tr:hover {
  background: #e8eaef;
}

table tbody tr.is-read {
  background: #f6f6f6;  
}

table tbody tr.is-unread {
  background: #fff; 
}


div.blueTable {
  /*background-color: #EEEEEE;*/
  background-color: #FFF;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
.divTable.blueTable .divTableHead {
  border: 1px solid #384f74;
  padding: 7px 5px;
}
.divTable.blueTable .divTableCell .btn {
	margin-bottom: 0px !important;
}

.divTable.blueTable .divTableBody .divTableCell {
    border: 1px solid #c5c5c5;
    padding: 5px;
    font-size: 11px;
    white-space: nowrap;
    overflow:hidden;
    line-height:24px;
    vertical-align: top;
}

.divTable.blueTable .divTableBody .divTableRow.divEmptyRow .divTableCell {
    border: 0;
}

/* doar iconul e “mânerul” */
.divTable.blueTable .divTableBody .divTableRow .divTableCell:first-child i.fa-grip-vertical.handle{
  cursor: move;
  user-select: none;
  opacity: .65;
  transition: opacity .12s ease, transform .12s ease;
}

/* hover pe rând -> icon mai vizibil */
.divTable.blueTable .divTableBody .divTableRow:hover .divTableCell:first-child i.fa-grip-vertical.handle{
  opacity: .95;
  transform: translateY(-1px);
}

/* când îl ții apăsat */
.divTable.blueTable .divTableBody .divTableRow .divTableCell:first-child i.fa-grip-vertical.handle:active{
  cursor: grabbing;
}

.divTable.blueTable .divTableBody .divTableCell .btn-group > .btn{ 
   float: none;
}

.divTable.blueTable .divTableBody .divTableCell .btn-group .btn + .btn {
    margin-left: -5px;
}

.divTable.blueTable .divTableBody .divTableRow.divEmptyRow:hover{
    background-color: inherit;
}

.divTable.blueTable .divTableBody .divTableCell div{
	/*display:inline-block;*/
	/*padding: 0 5px;*/
	/*width: 50%;*/
	vertical-align: middle;
}
.divTable.blueTable .divTableBody .divTableCell span {
    color: #fff;
    border-radius: 4px;
}
.divTable.blueTable .divTableBody .divTableCell span.red {
    background-color: #bb0000;
}
.divTable.blueTable .divTableBody .divTableCell span.green {
    background-color: #54A754;
}
.divTable.blueTable .divTableBody .divTableCell span.collection {
    padding: 3px 5px;
}

.divTable.blueTable .divTableBody .divTableCell .caret {
    border-top: 4px solid #fff;
}

.divTable.blueTable .divTableHeading .divTableHeadingWrapper {
    display: table-row
}

.divTable.blueTable .divTableHeading .divTableHead.option {
    min-width:140px;
}

.divTable.blueTable .divTableBody .divTableCell.option {
	width:140px;
	overflow:visible;
}

.divTable.blueTable .divTableBody .divTableCell.option a {
	margin-right: 8px;
}

.divTable.blueTable .divTableBody .divTableCell.option a:last-child{
	margin-right: inherit;
}

.divTable.blueTable .divTableBody .divTableCell.option .action-label{
    width: 83px;
}

.divTable.blueTable .divTableBody .divTableCell.option .action-menu{
    min-width:108px;
    width:108px;
    /*left:5px;*/
    margin-top:-1px;
}

.divTable.blueTable .divTableBody .divTableCell.option .action-menu li{
    font-size:11px;
    /*padding: 5px 24px 5px 5px;*/
    overflow: hidden;
}

.divTable.blueTable .divTableHeading .divTableHead.status {
    min-width:160px;
}

.divTable.blueTable .divTableBody .divTableCell.status{
    width: 160px;
	overflow:visible;
}

.divTable.blueTable .divTableBody .divTableCell.status .status-label{
    width: 102px;
}

.divTable.blueTable .divTableBody .divTableCell.status .status-menu{
    min-width:127px;
    width:127px;
    /*left:5px;*/
    margin-top:-1px;
}

.divTable.blueTable .divTableBody .divTableCell.option .btn-group, .divTable.blueTable .divTableBody .divTableCell.status .btn-group{
	margin-left:0;
	margin-right:0;
}

.divTable.blueTable .divTableBody .divTableCell input, .divTable.blueTable .divTableBody .divTableCell select, .divTable.blueTable .divTableBody .divTableCell textarea {
    font-size:10px; height:24px; padding: 2px;
}

.divTable.blueTable .divTableRow:nth-child(even) {
  /*background: #D0E4F5;*/
  background: #F6F6F6;
}
.divTable.blueTable .divTableRow:hover {
 /*background-color:rgba(50,50,50,.2);
 background-color:rgba(157,208,0,.9);
 background-color:#68a656;
 color:#fff;
 background-color: #d7d7d7;
 background-color:#cbccd1;*/
 background-color:#e7e7e7;
}

.divTable .divTableRow.divTableEmpty:hover {
    background-color: inherit;
}

.divTable.blueTable .divTableHeading {
  /*background: #1C6EA4;
  background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);*/
  /*background: #11659e;
  background: -moz-linear-gradient(top, #2494f2 0%, #2080d0 55%, #11659e 100%);
  background: -webkit-linear-gradient(top, #2494f2 0%, #2080d0 55%, #11659e 100%);
  background: linear-gradient(to bottom, #2494f2 0%, #2080d0 55%, #11659e 100%);
  border-bottom: 1px solid #444444;*/
  /*background: #efb104;*/
  /*background: #bba98f;*/
  /*background: #2082d5;*/
  background: #6b7081;
}
.divTable.blueTable .divTableHeading .divTableHead {
  font-size: 11px;
  color: #FFFFFF;
  white-space: nowrap;
  cursor: pointer;
  font-weight: bold;
}

.divTable.blueTable .divTableHeading .divTableHead.sorting {
	background: url(../images/sort_both.png) no-repeat center right;
}
.divTable.blueTable .divTableHeading .divTableHead.sorting.sorting_asc {
	background: url(../images/sort_asc.png) no-repeat center right;
}
.divTable.blueTable .divTableHeading .divTableHead.sorting.sorting_desc {
	background: url(../images/sort_desc.png) no-repeat center right;
}
.divTable.blueTable .divTableHeading .divTableHead:first-child {
  /*border-left: none;*/
}

.divTable.greyTable .divTableHeading {
    background: #272930;
}

.divTable.greyTable .divTableHead {
    border-right: 1px solid #535456;
}

.divTable.greyTable .divTableHead:last-child{
    border-right: none;
}

.blueTable .tableFootStyle {
  font-size: 14px;
  font-weight: bold;
  color: #FFFFFF;
  background: #FFFFFF;
  background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 66%, #FFFFFF 100%);
  background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 66%, #FFFFFF 100%);
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 66%, #FFFFFF 100%);
  border-top: 1px solid #444444;
}
.blueTable .tableFootStyle {
  font-size: 14px;
}
.blueTable .tableFootStyle .links {
	 text-align: right;
}
.blueTable .tableFootStyle .links a{
  display: inline-block;
  background: #1C6EA4;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 5px;
}
.blueTable.outerTableFooter {
  border-top: none;
}
.blueTable.outerTableFooter .tableFootStyle {
  padding: 10px 5px; 
}
/* DivTable.com */
.divTable{ display: table; /*table-layout: fixed;*/ }
.divTableRow { display: table-row; }
.divTableHeading { display: table-header-group;}
.divTableCell, .divTableHead { display: table-cell;}
.divTableHeading { display: table-header-group;}
.divTableFoot { display: table-footer-group;}
.divTableBody { display: table-row-group;}

.text-uppercase { text-transform: uppercase; }



#searchClear {
    line-height:34px;
    margin-bottom:15px;
    display:none;
}

#searchClear i {
    color:#ff0000;
    font-size: 18px;
}

.login-container  .out-links {
    color: #fff;
}

.login-container  .out-links a {
    color: #f3f3f3 !important;
}

.login-container  .out-links a:hover {
    color: #3380FF !important;
}

.table-responsive .table thead {
	/*background-color: #dfdfdf;*/
	background: rgb(217,217,217);
    background: linear-gradient(0deg, rgba(217,217,217,1) 0%, rgba(224,224,224,1) 35%, rgba(241,241,241,1) 100%);
}

.table-responsive .table th {
    position: relative;
	border-top: 1px solid #cfcfcf !important;
	border-bottom: 1px solid #a1a1a1 !important;
	border-right: 1px solid #d5d4d4;
	padding-right: 15px;
	vertical-align: middle;
    font-weight: 600;
    color: #333;
    font-size: 12px;
}

.table-responsive .table thead th {
    
}

.table-responsive .table th:last-child {
    border-right: none;
}

/*.table-responsive .table .sorting {
    background: url(../images/sort_both_black.png) no-repeat center left;
}
.table-responsive .table .sorting.sorting_asc {
	background: url(../images/sort_asc.png) no-repeat center left;
}
.table-responsive .table .sorting.sorting_desc {
	background: url(../images/sort_desc.png) no-repeat center left;
}*/

.table-responsive .table .sorting, .table-responsive .table .sorting.sorting_asc, .table-responsive .table .sorting.sorting_desc {
    background: none;
}

.table-responsive .table thead .sorting:before, .table-responsive .table thead .sorting:after, .table-responsive .table thead .sorting.asc:after, .table-responsive .table thead .sorting.desc:after, .dataTable thead .sorting_asc_disabled:after, .table-responsive .table thead .sorting_desc_disabled:after {
    content: '';
    font-family: 'FontAwesome';
    /*font-family: 'Font Awesome 5 Free';*/
    position: absolute;
    top: 50%;
    right: 5px;
    font-size: 12px;
    margin-top: -6px;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.table-responsive .table thead .sorting:before {
    content: '\f0dc';
    margin-top: -5px;
    color: #6c6c6c;
    font-weight: 900; /* v Font Awesome Free 5.15.4 */
}

.table-responsive .table thead .sorting.asc:before {
    content: '\f0de';
    margin-top: -5px;
    color: #ed5b56;
    font-weight: 900; /* v Font Awesome Free 5.15.4 */
}

.table-responsive .table thead .sorting.desc:before {
    content: '\f0dd';
    margin-top: -5px;
    color: #ed5b56;
    font-weight: 900; /* v Font Awesome Free 5.15.4 */
}

.table-responsive .table tbody {
    border-top: none;
}

.table-responsive .table tbody.filter tr {
    /*background-color: #f1eeda;*/
    background-color: #f0f0f0
}

.table-responsive .table tbody.filter td {
    padding: 4px;
}

.table-responsive .table tbody.filter td .input-group {
    margin-bottom: 0px;
}

.table-responsive .table tbody.filter td .input-group .input-group-btn .btn {
    padding-bottom: 3px; 
    padding-top: 3px;
}

.table-responsive .table tbody.filter td .input-group .input-group-addon {
    padding: 2px 4px; 
    height: 28px;
}

.table-responsive .table tbody.filter td .form-control {
    font-size: 10px;
    padding: 4px 8px; height: 28px;
}

.table-responsive .table tbody.filter td .btn-search {
    font-size: 10px;
    padding: 0px 8px; 
    height: 28px;
    line-height:26px;
}

.table-responsive .table tbody.filter td .btn-close {
    display:inline-block;
    cursor:pointer;
    line-height: 10px;
    vertical-align: middle;
}

.table-responsive .table tbody.filter td .btn-close i {
    font-size:18px;
}

.table-responsive .table tbody.filter td .btn-filter {
    display:inline-block;
}

.table-responsive .table td {
	font-size: 11px;
	/*line-height: 24px;*/
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 4px 6px;
	border-right: 1px solid #e8e8e8;
}

.table-responsive .table td span{
	font-size: 10px;
}

.table-responsive .table td i {
	font-size: 14px;
	line-height: 20px;
}

.table-responsive .table tbody td {
    vertical-align: middle;
}

.table-responsive .table tbody img {
    width: 35px;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor:zoom-in;
}

.table-responsive .table tbody input {
    
}

.table-responsive .table input[type="radio"], .table-responsive .table input[type="checkbox"] {
    margin: 0;
    box-shadow: none;
}

.table-responsive .table .btn-group.action > .btn {
    float: none;
}

.table-responsive .table .btn-group > .btn{ 
   float: none;
   overflow: hidden;
}

.table-responsive .table .btn-group .btn + .btn {
    margin-left: -5px;
    border-color: #878787;
}

@media (max-width: 767px) {
	div.blueTable {
		background-color: #fff;
		margin-top: 15px;
	}
	
	.divTable.blueTable .divTableRow:nth-child(even){
		background: #fafafa;
	}
	
	.divTable.blueTable .divTableRow:hover {
	 background-color:rgba(50,50,50,.2);
	 color:#fff;
	}
	
	.divTable.blueTable .divTableHeading {
		/*display:none;*/
	}
	.divTableCell, .divTableHead {
		/*display: block;*/
	}
	
	.divTable.blueTable .divTableBody .divTableCell div{		
		padding: 0;		
	}
	
	.divTable.blueTable .divTableCell, .divTable.blueTable .divTableHead {
		/*border: none;*/
	}
	
	.divTableRow {
		border-bottom: 1px solid #AAAAAA;
	}
	
	.form-group div {
		margin-bottom:10px;
	}
	
	.table-responsive{
		border:none;
	}
	
	.mb-15 {
	    margin-bottom: 15px;
	}
}
.green {
	color: green;
}
.red {
	color: red;
}
.gray {
	color: #565656;
}
.pagination ul li {cursor:pointer;}




   /* border-radius: 5px*/




.photos-show-mini {
    width: 100%
}

.photos-show-mini .empty {
	padding: 3px 5px;
    /* margin-right: 6px; */
}

.photos-show-mini .empty a{
	width: 87px;
    height: 74px;
    border: 1px solid #fff;
	display: block;
}

.photos-show-mini .empty>div {
    margin: 0;
    background: #f4f4f4;
    border: 1px dashed #cbd2d7;
}

.photos-show-mini .empty a i {
    top: 21px;
    font-size: 31px;
    position: relative;
}

.photos-show-mini .empty .img-preview {
    width: 84px;
    height: 72px;
}
.photos-show-mini .empty .icon-delete{
	position: absolute;
    color: #dc0000;
    margin-top: -78px;
    margin-left: 62px;   
    font-size: 31px;
	width:26px;
	height:26px;
    background-color: white;
    border-radius: 20px;
    cursor: pointer;
}

.br5 {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.opacity-30 {
	opacity: 0.3;
}

.opacity-40 {
	opacity: 0.4;
}

.opacity-60 {
	opacity: 0.6;
}

.multi-field-1 div, .multi-field-2 div {
	padding-left:5px;
	padding-right:5px;
}

body.texture {
  background: url(../images/bg-abstract.jpg);
  background-size:cover;
  background-repeat:no-repeat;
}

.label {
	border-radius: 3px;
	padding: .3em .6em .4em;
}
.label-lg {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 300;
}
.label-lg i {
  font-size: 18px;
}
.label-sm {
  padding: 4px 7px;
  font-size: 12px;
}
.label-sm i {
  font-size: 14px;
}
.label-xs {
  padding: 2px 6px;
  font-size: 11px;
}
.label-xs i {
  font-size: 12px;
}

/* ISSUING */
.issuing-product-table {
	margin: 10px 0 20px;
	font-size:11px;
}

.issuing-product-table .empty_product_row, .issuing-product-table .issuing-product-table-footer, .issuing-product-table .issuing-product-table-header, .issuing-product-table .product_entry {
    padding: 10px 0 10px 10px;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}

.issuing-product-table .product_entry {
    cursor: pointer;
}

.issuing-product-table .product_entry:hover {
    background-color: #efefef;
}

.issuing-product-table .issuing-product-table-header {
    background-color: #2f313a;
    color: #fff;
    position: relative;
    font-size:13px;
}

.issuing-product-table .empty_product_row>*, .issuing-product-table .issuing-product-table-footer>*, .issuing-product-table .issuing-product-table-header>*, .issuing-product-table .product_entry>* {
    padding: 0 10px 0 0;
    word-wrap: break-word;
    -webkit-flex: 1 0 0px;
    flex: 1 0 0px;
    width: auto!important;
    min-width: 0;
    display: block;
}

.issuing-product-table .emitere_nr_crt_td, .issuing-product-table .emitere_nr_crt_th {
    -webkit-flex: 0 0 35px;
    flex: 0 0 35px;
}

.issuing-product-table .empty_product_row .custom_checkbox_th, .issuing-product-table .issuing-product-table-footer .custom_checkbox_th, .issuing-product-table .issuing-product-table-header .custom_checkbox_th, .issuing-product-table .product_entry .custom_checkbox_th {
    -webkit-flex: 0 0 20px;
    flex: 0 0 20px;
}

.issuing-product-table .empty_product_row .emitere_denumire_td, .issuing-product-table .empty_product_row .emitere_denumire_td2, .issuing-product-table .empty_product_row .emitere_denumire_th, .issuing-product-table .empty_product_row .emitere_denumire_th2, .issuing-product-table .issuing-product-table-footer .emitere_denumire_td, .issuing-product-table .issuing-product-table-footer .emitere_denumire_td2, .issuing-product-table .issuing-product-table-footer .emitere_denumire_th, .issuing-product-table .issuing-product-table-footer .emitere_denumire_th2, .issuing-product-table .issuing-product-table-header .emitere_denumire_td, .issuing-product-table .issuing-product-table-header .emitere_denumire_td2, .issuing-product-table .issuing-product-table-header .emitere_denumire_th, .issuing-product-table .issuing-product-table-header .emitere_denumire_th2, .issuing-product-table .product_entry .emitere_denumire_td, .issuing-product-table .product_entry .emitere_denumire_td2, .issuing-product-table .product_entry .emitere_denumire_th, .issuing-product-table .product_entry .emitere_denumire_th2 {
    -webkit-flex-grow: 4;
    flex-grow: 4;
}

.issuing-product-table .empty_product_row .emitere_cant_td, .issuing-product-table .empty_product_row .emitere_cant_td2, .issuing-product-table .empty_product_row .emitere_cant_th, .issuing-product-table .empty_product_row .emitere_cant_th2, .issuing-product-table .empty_product_row .emitere_um_td, .issuing-product-table .empty_product_row .emitere_um_th, .issuing-product-table .issuing-product-table-footer .emitere_cant_td, .issuing-product-table .issuing-product-table-footer .emitere_cant_td2, .issuing-product-table .issuing-product-table-footer .emitere_cant_th, .issuing-product-table .issuing-product-table-footer .emitere_cant_th2, .issuing-product-table .issuing-product-table-footer .emitere_um_td, .issuing-product-table .issuing-product-table-footer .emitere_um_th, .issuing-product-table .issuing-product-table-header .emitere_cant_td, .issuing-product-table .issuing-product-table-header .emitere_cant_td2, .issuing-product-table .issuing-product-table-header .emitere_cant_th, .issuing-product-table .issuing-product-table-header .emitere_cant_th2, .issuing-product-table .issuing-product-table-header .emitere_um_td, .issuing-product-table .issuing-product-table-header .emitere_um_th, .issuing-product-table .product_entry .emitere_cant_td, .issuing-product-table .product_entry .emitere_cant_td2, .issuing-product-table .product_entry .emitere_cant_th, .issuing-product-table .product_entry .emitere_cant_th2, .issuing-product-table .product_entry .emitere_um_td, .issuing-product-table .product_entry .emitere_um_th {
    text-align: center;
}

.issuing-product-table .empty_product_row .emitere_pret_td, .issuing-product-table .empty_product_row .emitere_pret_th, .issuing-product-table .empty_product_row .emitere_tva_td, .issuing-product-table .empty_product_row .emitere_tva_th, .issuing-product-table .empty_product_row .emitere_val_td, .issuing-product-table .empty_product_row .emitere_val_th, .issuing-product-table .issuing-product-table-footer .emitere_pret_td, .issuing-product-table .issuing-product-table-footer .emitere_pret_th, .issuing-product-table .issuing-product-table-footer .emitere_tva_td, .issuing-product-table .issuing-product-table-footer .emitere_tva_th, .issuing-product-table .issuing-product-table-footer .emitere_val_td, .issuing-product-table .issuing-product-table-footer .emitere_val_th, .issuing-product-table .issuing-product-table-header .emitere_pret_td, .issuing-product-table .issuing-product-table-header .emitere_pret_th, .issuing-product-table .issuing-product-table-header .emitere_tva_td, .issuing-product-table .issuing-product-table-header .emitere_tva_th, .issuing-product-table .issuing-product-table-header .emitere_val_td, .issuing-product-table .issuing-product-table-header .emitere_val_th, .issuing-product-table .product_entry .emitere_pret_td, .issuing-product-table .product_entry .emitere_pret_th, .issuing-product-table .product_entry .emitere_tva_td, .issuing-product-table .product_entry .emitere_tva_th, .issuing-product-table .product_entry .emitere_val_td, .issuing-product-table .product_entry .emitere_val_th {
    text-align: right;
}

.issuing-product-table .emitere_actiuni_td, .issuing-product-table .emitere_actiuni_th {
    -webkit-flex: 0 0 120px;
    flex: 0 0 120px;
    padding-right: 0;
    text-align: center;
}

.issuing-product-table .emitere_furnizor_td, .issuing-product-table .emitere_furnizor_th {
    -webkit-flex: 0 0 160px;
    flex: 0 0 160px;
    text-align: center;
}

.issuing-product-table .empty_product_row .product_menu, .issuing-product-table .product_entry .product_menu {
    transition: opacity .25s;
    -webkit-align-self: stretch;
    align-self: stretch;
    display: -webkit-flex;
    -js-display: flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    padding: 5px 5px 5px 0;
    cursor: default;
}

.issuing-product-table .issuing-product-table-empty {
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.wGrayBox {
    margin: 0;
}

.wGrayBox .Info {
    border-color: transparent;
    background-image: url(/media/images/info.png);
    background-color: transparent;
}
.wGrayBox .box {
    color: #888;
}
#wErrorBox .Error, #wInfoBox .Info, #wInfoBox .Info2, #wSecurityBox .Security, #wSuccessBox .Success, #wTipBox .Tip, #wWarningBox .Warning, .wBox .Error, .wBox .Info, .wBox .Security, .wBox .Success, .wBox .Tip, .wBox .Warning, .wGrayBox .Error2, .wGrayBox .Info, .wGrayBox .Info2, .wGrayBox .Security, .wGrayBox .Success2, .wGrayBox .Tip2, .wGrayBox .Warning, .wGrayBox .Warning2 {
    border: 1px solid transparent;
    background-repeat: no-repeat;
    background-position: 10px 50%;
    border-radius: 4px;
}
#wErrorBox .box, #wInfoBox .box, #wSecurityBox .box, #wSuccessBox .box, #wTipBox .box, #wWarningBox .box, .wBox .box, .wGrayBox .box {
    position: relative;
    display: block;
    padding: 10px 22px 10px 52px;
    color: #2f313a;
    margin: 5px 0;
    font-size: 13px;
    height: auto;
    cursor: default;
    text-decoration: none;
}

.dashboard-separator{
    background-color: #f1f1f1;
    height: 1px;
    margin-bottom: 20px;
    margin-top: 20px;
}

#cl-wrapper .cl-sidebar .side-user .info img {
    max-width: 180px;
}

#datatable .option {
    min-width:90px; 
    max-width:120px;
    white-space: nowrap;
    text-align: center;
}

.table .status, .table .option {
    min-width:110px; 
    max-width:110px;
    white-space: nowrap;
    text-align: center;
}

.table .status .status-label {
    width:75px;
}

.d-none {
    display: none;
}

.dropzone {
    border: 1px dashed rgba(102,102,102);
    min-height: 360px;
    padding: 10px;
}

.dropzone .dz-preview, .dropzone-previews .dz-preview {
    font-size: 12px !important;
    line-height: 14px;
}

.dropzone.dz-clickable * {
    cursor: pointer;
}

.serp-preview {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 2px;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 12%);
    background-color: #ffffff;
    border: solid 1px #e7e7e7;
    padding: 30px;
    max-width: 700px;
    overflow: hidden;
}

.serp-preview .serp-title {
    color: #1A0DAB;
    cursor: pointer;
    font-family: arial, regular;
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    text-decoration: none;
    visibility: visible;
    white-space: nowrap;
}

.serp-preview .serp-arrow {
    border-bottom-color: #006621;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    border-left-color: rgba(0,0,0,0);
    border-left-style: solid;
    border-left-width: 4px;
    border-right-color: rgba(0,0,0,0);
    border-right-style: solid;
    border-right-width: 4px;
    border-top-color: #006621;
    border-top-style: solid;
    border-top-width: 5px;
    color: gray;
    cursor: default;
    font-family: arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    height: 0px;
    position: absolute;
    line-height: 27px;
    margin-left: 3px;
    margin-top: 6px;
    text-align: center;
    user-select: none;
    visibility: visible;
    white-space: nowrap;
    width: 0px;
}

.serp-preview .serp-url {
    color: #006621;
    font-family: arial, regular;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 24px;
    text-align: left;
    visibility: visible;
}

.serp-preview .serp-description {
    color: #545454;
    font-family: arial, regular;
    font-size: 13px;
    font-weight: normal;
    text-align: left;
    visibility: visible;
    word-wrap: break-word;
}

/* END */

/* FORM FLEX */
 .form-flex {
     margin-top: 15px;
 }
 .form-group-flex {
   display: flex;
   flex-direction: row;
 }
 
 .form-group-flex label {
     white-space: nowrap;
     overflow: hidden;
     display: inline-flex;
     font-size: 11px;
 }
 .form-group-flex .input-control {
   flex: 1 1 auto;
   display: block;
   margin-bottom: 10px;
   margin-right: 8px;
 }
 
 .form-group-flex .input-control:last-child{
   margin-right: 0;
 }
 
 .form-group-flex .input-control .btn{
   margin-left: 0;
   width: 100%;
   border-color: #7e7e7e;
 }
 
 .form-group-flex .input-control .form-control{
   border: 1px solid #7e7e7e;
 }
 
 .form-group-flex .select2-container .select2-choice {
     padding: 3px 8px;
     border: 1px solid #7e7e7e !important;
 }
 
 .form-group-flex .input-group {
    margin-bottom: 0px;
 }
 
 .form-group-flex .input-group-addon {
   border-color: #7e7e7e;
 }

 .form-group-flex .input-control .form-control:focus {
    border-color: #2598f9;
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%) inset;
 }
 
 .form-group-flex .input-control .dropdown-menu {
    max-height: 300px;
    overflow: scroll;
 }
 
 .form-group-flex .input-control .dropdown-menu > li > a {
     padding: 5px 10px;
 }
 
 .flex-1 {
     flex: 1 !important;
 }
 .flex-2 {
     flex: 2 !important;
 }
 .flex-3 {
     flex: 3 !important;
 }
 .flex-4 {
     flex: 4 !important;
 }
 .flex-5 {
     flex: 5 !important;
 }
 .flex-6 {
     flex: 6 !important;
 }
 .flex-7 {
     flex: 7 !important;
 }
 .flex-8 {
     flex: 8 !important;
 }
 .flex-9 {
     flex: 9 !important;
 }
 .flex-10 {
     flex: 10 !important;
 }
 
 .max-w30{
    max-width: 30px;
 }
 .max-w40{
    max-width: 40px;
 }
 .max-w50{
    max-width: 50px;
 }
 .max-w60{
    max-width: 60px;
 }
 .max-w70{
    max-width: 70px;
 }
 .max-w80{
    max-width: 80px;
 }
 .max-w90{
    max-width: 90px;
 }
 .max-w100{
    max-width: 100px;
 }
 .max-w110{
    max-width: 110px;
 }
 .max-w120{
    max-width: 120px;
 }
 .max-w130{
    max-width: 130px;
 }
 .max-w140{
    max-width: 140px;
 }
 .max-w150{
    max-width: 150px;
 }
 .max-w160{
    max-width: 160px;
 }
 .max-w170{
    max-width: 170px;
 }
 .max-w180{
    max-width: 180px;
 }
 .max-w190{
    max-width: 190px;
 }
 .max-w200{
    max-width: 200px;
 }
 .max-w250{
    max-width: 250px;
 }
 .max-w300{
    max-width: 300px;
 }
 
 .text-wrap {
    white-space: normal !important;
 }
 
 #pcont {
     /*overflow: auto*/;
 }
 
 @media (max-width: 768px) {
   .form-group-flex {
     flex-direction: column;
   }
   .form-group-flex .input-control, .form-group-flex .input-group {
     margin-right: 0px
   }
   .form-group-flex .input-group .input-control {
       line-height:21px;
   }
   .form-group-flex label.right-inline {
     text-align: left;  
     padding-right: 0;
     padding-left: 0;   
   }
   .max-w90, .max-w100, .max-w110, .max-w120{
       max-width: inherit;
       margin: 0;
   }
 }
 
 
 @media (min-width: 768px) and (max-width: 979px) {
    .cl-sidebar {
        min-width: 56px;
    }
 }
 @media (min-width: 980px) {
    .cl-sidebar {
        min-width: 216px;
    }
    
    .sb-collapsed .cl-sidebar {
        min-width: 55px;
    }
 }
 @media (min-width: 768px) and (max-width: 1200px) {
    .navbar-default .navbar-brand {
        width: 120px;
        padding-left: 0px;
    }
    .navbar-nav > li > a {
        padding: 15px 10px;
    }
 }
 
 /* END FORM FLEX */
 
/* BOOTSTRAP 5.0 */

:root {
  /* Culori principale */
  --bs-primary: #0d6efd;
  --bs-primary-rgb: 13, 110, 253;

  --bs-secondary: #6c757d;
  --bs-secondary-rgb: 108, 117, 125;

  --bs-success: #198754;
  --bs-success-rgb: 25, 135, 84;

  --bs-danger: #dc3545;
  --bs-danger-rgb: 220, 53, 69;

  --bs-warning: #ffc107;
  --bs-warning-rgb: 255, 193, 7;

  --bs-info: #0dcaf0;
  --bs-info-rgb: 13, 202, 240;

  --bs-light: #f8f9fa;
  --bs-light-rgb: 248, 249, 250;

  --bs-dark: #212529;
  --bs-dark-rgb: 33, 37, 41;

  --bs-black: #000000;
  --bs-black-rgb: 0, 0, 0;

  --bs-white: #ffffff;
  --bs-white-rgb: 255, 255, 255;

  /* Fundaluri */
  --bs-body-bg: #ffffff;
  --bs-body-bg-rgb: 255, 255, 255;

  --bs-secondary-bg: #f8f9fa;
  --bs-secondary-bg-rgb: 248, 249, 250;

  --bs-tertiary-bg: #e9ecef;
  --bs-tertiary-bg-rgb: 233, 236, 239;

  /* Subtle backgrounds */
  --bs-primary-bg-subtle: 13, 110, 253;
  --bs-secondary-bg-subtle: 108, 117, 125;
  --bs-success-bg-subtle: 25, 135, 84;
  --bs-danger-bg-subtle: 220, 53, 69;
  --bs-warning-bg-subtle: 255, 193, 7;
  --bs-info-bg-subtle: 13, 202, 240;
  --bs-light-bg-subtle: 248, 249, 250;
  --bs-dark-bg-subtle: 33, 37, 41;

  /* Opacitate */
  --bs-bg-opacity: 1;
  --bs-border-opacity: 1;

  /* Borduri și colțuri */
  --bs-border-width: 1px;
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
}

.float-start {
  float: left !important;
}

.float-end {
  float: right !important;
}

.float-none {
  float: none !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

@media (min-width: 576px) {
  .float-sm-start {
    float: left !important;
  }

  .float-sm-end {
    float: right !important;
  }

  .float-sm-none {
    float: none !important;
  }
}
@media (min-width: 768px) {
  .float-md-start {
    float: left !important;
  }

  .float-md-end {
    float: right !important;
  }

  .float-md-none {
    float: none !important;
  }
}
@media (min-width: 1200px) {
  .float-xl-start {
    float: left !important;
  }

  .float-xl-end {
    float: right !important;
  }

  .float-xl-none {
    float: none !important;
  }
}
@media (min-width: 1400px) {
  .float-xxl-start {
    float: left !important;
  }

  .float-xxl-end {
    float: right !important;
  }

  .float-xxl-none {
    float: none !important;
  }
}

.m-0 {
  margin: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-auto {
  margin-top: auto !important;
}

.me-0 {
  margin-right: 0 !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.me-4 {
  margin-right: 1.5rem !important;
}

.me-5 {
  margin-right: 3rem !important;
}

.me-auto {
  margin-right: auto !important;
}

.ms-0 {
  margin-left: 0 !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-5 {
  margin-left: 3rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.mx-0 {
  margin-left: 0 !important; margin-right: 0 !important;
}
.my-0 {
  margin-top: 0 !important; margin-bottom: 0 !important;
}

.mx-1 {
  margin-left: 0.25rem !important; margin-right: 0.25rem !important;
}
.my-1 {
  margin-top: 0.25rem !important; margin-bottom: 0.25rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important; margin-right: 0.5rem !important;
}
.my-2 {
  margin-top: 0.5rem !important; margin-bottom: 0.5rem !important;
}

.mx-3 {
  margin-left: 1rem !important; margin-right: 1rem !important;
}
.my-3 {
  margin-top: 1rem !important; margin-bottom: 1rem !important;
}

.mx-4 {
  margin-left: 1.5rem !important; margin-right: 1.5rem !important;
}
.my-4 {
  margin-top: 1.5rem !important; margin-bottom: 1.5rem !important;
}

.mx-5 {
  margin-left: 3rem !important; margin-right: 3rem !important;
}
.my-5 {
  margin-top: 3rem !important; margin-bottom: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.pb-auto {
  padding-bottom: auto !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pt-auto {
  padding-top: auto !important;
}

.pe-0 {
  padding-right: 0 !important;
}

.pe-1 {
  padding-right: 0.25rem !important;
}

.pe-2 {
  padding-right: 0.5rem !important;
}

.pe-3 {
  padding-right: 1rem !important;
}

.pe-4 {
  padding-right: 1.5rem !important;
}

.pe-5 {
  padding-right: 3rem !important;
}

.pe-auto {
  padding-right: auto !important;
}

.ps-0 {
  padding-left: 0 !important;
}

.ps-1 {
  padding-left: 0.25rem !important;
}

.ps-2 {
  padding-left: 0.5rem !important;
}

.ps-3 {
  padding-left: 1rem !important;
}

.ps-4 {
  padding-left: 1.5rem !important;
}

.ps-5 {
  padding-left: 3rem !important;
}

.ps-auto {
  padding-left: auto !important;
}

.px-0 {
  padding-left: 0 !important; padding-right: 0 !important;
}
.py-0 {
  padding-top: 0 !important; padding-bottom: 0 !important
}

.px-1 {
  padding-left: 0.25rem !important; padding-right: 0.25rem !important;
}
.py-1 {
  padding-top: 0.25rem !important; padding-bottom: 0.25rem !important
}

.px-2 {
  padding-left: 0.5rem !important; padding-right: 0.5rem !important;
}
.py-2 {
  padding-top: 0.5rem !important; padding-bottom: 0.5rem !important
}

.px-3 {
  padding-left: 1rem !important; padding-right: 1rem !important;
}
.py-3 {
  padding-top: 1rem !important; padding-bottom: 1rem !important
}

.px-4 {
  padding-left: 1.5rem !important; padding-right: 1.5rem !important;
}
.py-4 {
  padding-top: 1.5rem !important; padding-bottom: 1.5rem !important
}

.px-5 {
  padding-left: 3rem !important; padding-right: 3rem !important;
}
.py-5 {
  padding-top: 3rem !important; padding-bottom: 3rem !important
}

/* Horizontal gap (gx-X) */
.gx-0 { column-gap: 0 !important; }
.gx-1 { column-gap: .25rem !important; }  /* 4px */
.gx-2 { column-gap: .5rem !important; }   /* 8px */
.gx-3 { column-gap: 1rem !important; }    /* 16px */
.gx-4 { column-gap: 1.5rem !important; }  /* 24px */
.gx-5 { column-gap: 3rem !important; }    /* 48px */

/* Vertical gap (gy-X) */
.gy-0 { row-gap: 0 !important; }
.gy-1 { row-gap: .25rem !important; }
.gy-2 { row-gap: .5rem !important; }
.gy-3 { row-gap: 1rem !important; }
.gy-4 { row-gap: 1.5rem !important; }
.gy-5 { row-gap: 3rem !important; }

/* Combined gap (g-X), if vrei ca în BS5 */
.g-0 { column-gap: 0 !important; row-gap: 0 !important; }
.g-1 { column-gap: .25rem !important; row-gap: .25rem !important; }
.g-2 { column-gap: .5rem !important; row-gap: .5rem !important; }
.g-3 { column-gap: 1rem !important; row-gap: 1rem !important; }
.g-4 { column-gap: 1.5rem !important; row-gap: 1.5rem !important; }
.g-5 { column-gap: 3rem !important; row-gap: 3rem !important; }

/*.d-none {
  display: none !important;
}*/

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.d-inline-flex {
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

.text-white {
  color: #fff !important;
}

.g-3 > [class*="col-"] {
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin-bottom: 15px !important;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.card-header {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 10px 15px;
  font-weight: bold;
}

.card-body {
  padding: 15px;
}

.text-right {
  text-align: right !important;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: .5rem;
}

.form-select {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn-outline-secondary {
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
}
.btn-outline-secondary:hover {
  color: #000;
  background-color: #e6e6e6;
  border-color: #adadad;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-table {
    display: table !important;
  }
  .d-sm-table-row {
    display: table-row !important;
  }
  .d-sm-table-cell {
    display: table-cell !important;
  }
  .d-sm-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-sm-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-table {
    display: table !important;
  }
  .d-md-table-row {
    display: table-row !important;
  }
  .d-md-table-cell {
    display: table-cell !important;
  }
  .d-md-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-md-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-inline {
    display: inline !important;
  }
  .d-lg-inline-block {
    display: inline-block !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-table {
    display: table !important;
  }
  .d-lg-table-row {
    display: table-row !important;
  }
  .d-lg-table-cell {
    display: table-cell !important;
  }
  .d-lg-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-lg-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-inline {
    display: inline !important;
  }
  .d-xl-inline-block {
    display: inline-block !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-table {
    display: table !important;
  }
  .d-xl-table-row {
    display: table-row !important;
  }
  .d-xl-table-cell {
    display: table-cell !important;
  }
  .d-xl-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-xl-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

@media print {
  .d-print-none {
    display: none !important;
  }
  .d-print-inline {
    display: inline !important;
  }
  .d-print-inline-block {
    display: inline-block !important;
  }
  .d-print-block {
    display: block !important;
  }
  .d-print-table {
    display: table !important;
  }
  .d-print-table-row {
    display: table-row !important;
  }
  .d-print-table-cell {
    display: table-cell !important;
  }
  .d-print-flex {
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .d-print-inline-flex {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
  }
}

.align-baseline {
    vertical-align: baseline !important;
}
.align-top {
    vertical-align: top !important;
}
.align-middle {
    vertical-align: middle !important;
}
.align-bottom {
    vertical-align: bottom !important;
}


.form-control-lg {
    min-height: calc(1.5em + 1rem + calc(var(--bs-border-width)* 2));
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border-radius: var(--bs-border-radius-lg);
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-primary-subtle {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-primary-bg-subtle), var(--bs-bg-opacity)) !important;
}

.bg-secondary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-secondary-subtle {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-secondary-bg-subtle), var(--bs-bg-opacity)) !important;
}

.bg-success {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}

.bg-success-subtle {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-success-bg-subtle), var(--bs-bg-opacity)) !important;
}

.bg-danger {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

.bg-danger-subtle {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-danger-bg-subtle), var(--bs-bg-opacity)) !important;
}

.bg-warning {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

.bg-warning-subtle {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-warning-bg-subtle), var(--bs-bg-opacity)) !important;
}

.bg-info {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
}

.bg-info-subtle {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-info-bg-subtle), var(--bs-bg-opacity)) !important;
}

.bg-light {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.bg-light-subtle {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-bg-subtle), var(--bs-bg-opacity)) !important;
}

.bg-dark {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

.bg-dark-subtle {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-dark-bg-subtle), var(--bs-bg-opacity)) !important;
}

.bg-body {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;
}

.bg-body-secondary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important;
}

.bg-body-tertiary {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
}

.bg-black {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important;
}

.bg-white {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}

.bg-transparent {
  background-color: transparent !important;
}

.cursor-pointer {
    cursor: pointer;
}

.gap-2 {
  gap: 0.5rem;
}

.align-items-center {
  align-items: center !important;
  display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
    display: flex !important;
}

.justify-content-between {
  justify-content: space-between !important;
  display: flex !important;
}

.justify-content-end {
    justify-content: flex-end !important;
    display: flex !important;
}

.form-control-sm {
    height: calc(1.5em + .5rem + 4px);
    padding: .25rem .5rem;
    font-size: 10px;
    line-height: 1.5;
    border-radius: .2rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-md {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .px-sm-0 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.overflow-auto {
  overflow: auto !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.overflow-visible {
  overflow: visible !important;
}

.overflow-scroll {
  overflow: scroll !important;
}

.overflow-x-auto {
  overflow-x: auto !important;
}

.overflow-x-hidden {
  overflow-x: hidden !important;
}

.overflow-x-visible {
  overflow-x: visible !important;
}

.overflow-x-scroll {
  overflow-x: scroll !important;
}

.overflow-y-auto {
  overflow-y: auto !important;
}

.overflow-y-hidden {
  overflow-y: hidden !important;
}

.overflow-y-visible {
  overflow-y: visible !important;
}

.overflow-y-scroll {
  overflow-y: scroll !important;
}

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

.font-weight-bold {
  font-weight: bold !important;
}

.font-weight-normal {
  font-weight: normal !important;
}

.font-weight-light {
  font-weight: 300 !important;
}

.font-italic {
  font-style: italic !important;
}

.rounded-0 {
    border-radius: 0 !important;
}

.rounded-sm {
    border-radius: 3px !important;
}

.rounded {
    border-radius: 4px !important;
}

.rounded-lg {
    border-radius: 6px !important;
}

/* ===== BORDER BASE ===== */

.border {
    border: 1px solid #dee2e6 !important;
}

.border-0 {
    border: 0 !important;
}

/* ===== BORDER PER SIDE ===== */

.border-top {
    border-top: 1px solid #dee2e6 !important;
}

.border-end {
    border-right: 1px solid #dee2e6 !important;
}

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.border-start {
    border-left: 1px solid #dee2e6 !important;
}

/* ===== REMOVE BORDER PER SIDE ===== */

.border-top-0 {
    border-top: 0 !important;
}

.border-end-0 {
    border-right: 0 !important;
}

.border-bottom-0 {
    border-bottom: 0 !important;
}

.border-start-0 {
    border-left: 0 !important;
}

/* ===== BORDER WIDTH ===== */

.border-1 { border-width: 1px !important; }
.border-2 { border-width: 2px !important; }
.border-3 { border-width: 3px !important; }
.border-4 { border-width: 4px !important; }
.border-5 { border-width: 5px !important; }

/* ===== BORDER COLORS ===== */

.border-primary { border-color: #0d6efd !important; }
.border-secondary { border-color: #6c757d !important; }
.border-success { border-color: #198754 !important; }
.border-danger { border-color: #dc3545 !important; }
.border-warning { border-color: #ffc107 !important; }
.border-info { border-color: #0dcaf0 !important; }
.border-light { border-color: #f8f9fa !important; }
.border-dark { border-color: #212529 !important; }
.border-white { border-color: #fff !important; }

/* ===== BORDER RADIUS ===== */

.rounded { border-radius: .375rem !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: .2rem !important; }
.rounded-2 { border-radius: .25rem !important; }
.rounded-3 { border-radius: .5rem !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50rem !important; }


 /* END BOOTSTRAP */
 
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: #242424 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 10px;
height: 10px;
}

*::-webkit-scrollbar-track {
background: #ffffff;
}

*::-webkit-scrollbar-thumb {
background-color: #242424;
border-radius: 10px;
border: 3px solid #ffffff;
}

.btn-lg i {
    font-size: 14px;
}

.dropdown-menu-search {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 0;
    margin: -1px 0 0 0;
    font-size: 14px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    overflow: visible !important;
}

.open > .dropdown-menu-search {
    display: block;
}

.dropdown-menu-search.pull-right {
    right: 0;
    left: auto;
}

.search-list {
  border: 1px solid #ccc;
  background-color: #fffdd5;
  max-height: 400px;
  overflow: auto;
  white-space: nowrap;
  display: grid;
  min-width: 100%;
  box-sizing: border-box;
}

.dropdown-option {
  padding: 5px;
  cursor: pointer;
  font-size:10px;
  line-height: 12px;
  text-transform: uppercase;
  width: 100%;
}

.search-list .dropdown-option:nth-child(even) {
    background-color: #efeeca;
}

.search-list .dropdown-option:hover {
  background-color: #b2b397;
}

.search-list .dropdown-option.selected {
  background-color: #b2b397;
  color: #fff; 
}

.medium-text {
  font-size: 46px;
  line-height: 34px !important;
  text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.2);
  padding-bottom: 5px;
}

.page-head .btn {
    margin: 5px;
}

/* ═══════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════ */
:root {
  --bg-main:         #f0f2f5;
  --bg-panel:        #ffffff;
  --bg-header:       #2c3e50;
  --bg-row-even:     #f8f9fb;
  --bg-row-hover:    #e8f0fe;
  --bg-row-selected: #1a56db;
  --border:          #7e7e7e;
  --text-primary:    #1a2332;
  --text-secondary:  #5a6a7a;
  --text-muted:      #b0bec5;
  --accent:          #1a56db;
  --accent-glow:     rgba(26,86,219,.12);
  --shadow:          0 4px 24px rgba(0,0,0,.11);
  --shadow-dd:       0 8px 32px rgba(0,0,0,.15);
  --radius:          4px;
  --font:            'IBM Plex Sans', sans-serif;
}

/* ═══════════════════════════════════════════════
   FIELD LABEL
═══════════════════════════════════════════════ */
.field-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 5px;
}

/* ═══════════════════════════════════════════════
   DD-WRAPPER  (one per dropdown instance)
═══════════════════════════════════════════════ */
.dd-wrapper {
  position: relative;
}

/* trigger input row */
.dd-wrapper .dd-trigger {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
  cursor: text;
}
.dd-wrapper .dd-trigger:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.dd-wrapper .dd-trigger input {
  flex: 1;
  border: none;
  outline: none;
  padding: 6px 10px 5px;
  font-family: var(--font);
  font-size: 12px;
  color: var(--text-primary);
  background: transparent;
  min-width: 0;
}
.dd-wrapper .dd-trigger input::placeholder { color: var(--text-muted); }
.dd-wrapper .dd-chevron {
  padding: 0 11px;
  color: var(--text-secondary);
  font-size: 10px;
  cursor: pointer;
  user-select: none;
  transition: transform .2s;
  flex-shrink: 0;
}
.dd-wrapper .dd-chevron.open { transform: rotate(180deg); }

/* ─── panel ─── */
.dd-wrapper .dd-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dd);
  z-index: 9999;
  overflow: hidden;
  min-width: 100%;
}
.dd-wrapper  .dd-panel.open { display: block; }

/* search bar inside panel */
.dd-wrapper .dd-filter-bar {
  padding: 7px 9px;
  border-bottom: 1px solid var(--border);
  background: #f8f9fb;
}
.dd-wrapper .dd-filter-bar input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 5px 9px;
  font-family: var(--font);
  font-size: 12px;
  outline: none;
  background: #fff;
  color: var(--text-primary);
  transition: border-color .15s;
}
.dd-wrapper .dd-filter-bar input:focus { border-color: var(--accent); }

/* column headers — flex, widths driven by CSS vars set inline */
.dd-wrapper .dd-col-header {
  display: flex;
  background: var(--bg-header);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 0;
}
.dd-wrapper .dd-col-header > span {
  padding: 0 5px;
  flex: var(--col-flex, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* rows */
.dd-wrapper .dd-list {
  max-height: 250px;
  overflow-y: auto;
}
.dd-wrapper .dd-list::-webkit-scrollbar { width: 5px; }
.dd-wrapper .dd-list::-webkit-scrollbar-track { background: #f0f2f5; }
.dd-wrapper .dd-list::-webkit-scrollbar-thumb { background: #b0bec5; border-radius: 3px; }

.dd-wrapper .dd-row {
  display: flex;
  cursor: pointer;
  transition: background .1s;
  border-bottom: 1px solid #f0f2f5;
}
.dd-wrapper .dd-row:nth-child(even) { background: var(--bg-row-even); }
.dd-wrapper .dd-row:hover           { background: var(--bg-row-hover); }
.dd-wrapper .dd-row.focused         { background: var(--bg-row-hover); }
.dd-wrapper .dd-row.selected        { background: var(--bg-row-selected) !important; color: #fff; }

.dd-wrapper .dd-row > span {
  padding: 5px;
  flex: var(--col-flex, 1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.dd-wrapper .dd-row > span.col-secondary         { color: var(--text-secondary); }
.dd-wrapper .dd-row > span.col-mono              { font-family: 'Courier New', monospace; font-size: 11px; color: var(--text-secondary); }
.dd-wrapper .dd-row.selected > span.col-secondary,
.dd-wrapper .dd-row.selected > span.col-mono     { color: rgba(255,255,255,.72); }

.dd-wrapper .dd-no-results {
  padding: 10px;
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
}

.dd-wrapper .mark {
  background: #fff3cd;
  padding: 0;
  color: inherit;
}

/*═══════════════════════════════════════════════ */

:root {
    --bg: #f4f6f9;
    --surface: #ffffff;
    --text: #2c3345;
    --text-muted: #6b7280;
    --accent: #1a73e8;
    --header-bg: #2d3a4a;
    --row-hover: #f0f4ff;
    --row-edit: #fffbe6;
    --selected-bg: #1a73e8;
    --font: 'Segoe UI', system-ui, sans-serif;
    --mono: 'Consolas', 'Courier New', monospace;
  }
  
/* ══ DD-INLINE ══ */
  .dd-inline-wrapper { position: relative; display: block; width: 100%; }
  .dd-inline-panel { display: none; position: absolute; z-index: 9999; background: #fff; border: 1px solid #c8cdd3; border-radius: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.13); overflow: hidden; }
  .dd-inline-panel.open { display: block; }
  .dd-inline-panel.dd-inline-above { bottom: 100%; top: auto; margin-bottom: 3px; }
  .dd-inline-panel.dd-inline-below { top: 100%; bottom: auto; margin-top: 3px; }

  .dd-inline-col-header { display: flex; align-items: center; background: var(--header-bg); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-bottom: 1px solid #1e2a36; user-select: none; }
  .dd-inline-list { max-height: 240px; overflow-y: auto; }
  .dd-inline-list::-webkit-scrollbar { width: 5px; }
  .dd-inline-list::-webkit-scrollbar-thumb { background: #bbb; border-radius: 3px; }

  .dd-inline-row { display: flex; align-items: center; padding: 6px 10px; font-size: 10px; line-height:12px; cursor: pointer; border-bottom: 1px solid #f0f0f0; transition: background .08s; }
  .dd-inline-row:last-child { border-bottom: none; }
  .dd-inline-row:hover, .dd-inline-row.focused { background: var(--row-hover); }
  .dd-inline-row.selected { background: var(--selected-bg); color: #fff; }
  .dd-inline-row.selected span { color: #cfe0fc !important; }
  .dd-inline-row.selected .dd-inline-col-name { color: #fff !important; }
  
  .dd-inline-col-header span { flex: var(--col-flex, 1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color:#fff !important; line-height: 16px;}
  .dd-inline-row span { flex: var(--col-flex, 1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color:#555 !important;}
  .dd-inline-col-name  { flex: 4; }
  .dd-inline-col-sku   { flex: 2; font-family: var(--mono); font-size: 11px; color: #555; }
  .dd-inline-col-mpn   { flex: 2; font-family: var(--mono); font-size: 11px; color: #555; }
  .dd-inline-col-stoc  { flex: 1; font-family: var(--mono); font-size: 11px; color: #555; text-align: right; }
  .dd-inline-col-um    { flex: 1; font-size: 11px; color: #555; text-align: center; padding-right: 0; }
  .dd-inline-col-header .dd-inline-col-sku,
  .dd-inline-col-header .dd-inline-col-mpn,
  .dd-inline-col-header .dd-inline-col-stoc,
  .dd-inline-col-header .dd-inline-col-um { color: #ccc; }

  .dd-inline-no-results { padding: 12px 14px; font-size: 12px; color: #999; font-style: italic; }
  .dd-inline-row mark { background: #fff176; padding: 0; border-radius: 2px; color: #333; }
  
  .dd-inline-search {width:100%;}

/* SELECT2 */
.select2-container--default .select2-selection--single {
    border-radius: 0px;
}

.select2-container .select2-selection--single {    
    height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {    
    line-height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--multiple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4px; /* Ajustează spațiul interior */
}

.select2-container .select2-selection__choice {
  background-color: #e4e4e4; /* Culoare fundal etichete */
  border: 1px solid #ccc;
  border-radius: 1px;
  -webkit-border-radius: 1px;
  color: #333;
  margin: 2px 4px 2px 0; /* Spațiere între etichete */
  padding: 2px 6px; /* Spațiere interioară */
  display: flex;
  align-items: center;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top:2px;
}

.select2-container .select2-selection__choice__remove {
  color: #666;
  margin-right: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  margin-bottom:0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  font-size: 0.875em; /* Dimensiunea fontului pentru etichete */
}
.select2-container .select2-search--inline .select2-search__field {
    line-height: 16px;
    margin-top: 0;
}
/* END SELECT2 */

.app-logo, .auth-avatar, .auth-lock-avatar, .auth-mfa-avatar, .auth-mfa-failed, .auth-phone-avatar {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    background: url(../images/auth-avatar-placeholder.svg) no-repeat center center;
    background-size: contain;
}

.auth-lock-avatar, .auth-mfa-avatar, .auth-mfa-failed, .auth-phone-avatar {
    border-radius: 0;
    background-image: url(../images/auth-lock-avatar-placeholder.svg);
}

.auth-mfa-avatar {
    background-image: url(../images/auth-mfa-avatar-placeholder.svg);
}

.verify-number-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 10px;
}

.verify-number-inputs input {
    height: 63px;
    width: 44px;
    background-color: transparent;
    border-radius: 5px;
    border: 2px solid #d5dee6;
    text-align: center;
    outline: 0;
    font-size: 24px;
    font-weight: 700;
    caret-color: transparent;
}

.verify-number-inputs input:focus {
    border-color: #0082e6;
}

.block .header , .widget-block .header, .block-flat .header {
    padding: 8px;
    margin-top: 20px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    border: 1px solid #d7d7d7;
    background-color: #eee;
}
.block .header:first-child, .block-flat .header:first-child {
    margin-top: 0;
}

.block .header h4, .block-flat .header h4 {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
    line-height: 26px;
    font-weight: 500;
}

.fake-textarea {
    /*border: 1px solid #ced4da;*/
    border-radius: 3px;
    background-color: #eeeeee;
    padding: 0.375rem 0.75rem;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-y: auto;
    resize: vertical;
}

.h-30px {
  height: 30px !important;
}

.h-32px {
  height: 32px !important;
}

.h-40px {
  height: 40px !important;
}

.h-50px {
  height: 50px !important;
}

.h-60px {
  height: 60px !important;
}

.h-70px {
  height: 70px !important;
}

.h-80px {
  height: 80px !important;
}


.accordion .panel-heading {
    background-color: #f1eeda;
}

.accordion .panel-heading {
    background-color: #f1eeda;
}

.accordion .panel-heading .panel-title {
    margin-top:0;
    padding: 8px;
    font-size: 14px;
}

.accordion .panel-heading a {
    font-size: 15px;
    padding: 0;
    display: block;
    color: #000;
}

.accordion .panel-heading + .panel-collapse .panel-body {
     padding: 15px;
}

.ui-dialog-titlebar-close {
    position: relative;
    background: #fff !important;
    border: 1px solid #000 !important;
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
}

.ui-dialog-titlebar-close::before {
    content: "×";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    font-size: 19px;
    font-weight: bold;
    color: #000;
}

.ui-dialog-titlebar-close:hover {
    background: #f8f8f8 !important;
}

.ui-dialog-titlebar-close:hover::before {
    color: #d00;
}

.panel-body-form .row > [class*='col-'] {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.panel-body-form .row {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

/* NOTE */
.note-list { list-style: none; margin: 0; padding: 0; }
.note-item { padding: 5px; border-bottom: 1px solid #e5e5e5; font-size: 13px; display:flex; gap:10px; }

.note-list.pinned .note-item {
    background-color: #fffdf2;
}

.note-head { color: #777; }
.note-user { font-weight: bold; color: #444; }
.note-action { font-weight: normal; color: #555; }
.note-label {
    display: inline-block;
    color: #fff;
    padding: 0 5px;
    border-radius: 3px;
    font-size: 11px;
    margin-top: 4px;
}


.note-text { margin-top: 4px; color: #333; }
.note-time { font-size: 11px; color: #999; margin-top: 2px; }

/* Container general */
.note-post-container {
    margin-top: 10px;
    margin-bottom: 14px;
}

/* Textarea container */
.note-textarea-container {
    position: relative;
}

.note-textarea-container .auto-height {
    overflow-x: hidden;
}

.note-textarea-container textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
    resize: none;
    transition: border-color 0.15s ease;
}

/* Focus effect (Espo style) */
.note-textarea-container textarea:focus {
    border-color: #9ab5d6;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    outline: none;
}

/* Panel pentru butoane */
.note-post-container .buttons-panel {
    display: flex;
    justify-content: flex-start;
    margin-top: 6px;
}

/* layout helpers */
.note-post-container .floated-row::after {
    content: "";
    display: block;
    clear: both;
}
.note-body {
    flex-grow: 1;  
    min-width: 0; 
}
.note-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.note-dropdown .btn {
    padding: 0 5px;
}

.note-item {
    position: relative;
}

.note-list-container .dropdown-toggle,
.note-list-container .dropdown-toggle:focus,
.note-list-container .dropdown-toggle:active,
.note-list-container .dropdown-toggle:hover {
    box-shadow: none !important;
    outline: none;
}

.note-list-container .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dfe3e8;
    color: #555;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:11px;
    flex-shrink:0;
}
/* END NOTE */

/* CONTACT */
.phone-block {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    height: 34px;
    overflow: hidden;
    margin-bottom: 6px;
}

.phone-type-wrap {
    border-right: 1px solid #ccc;
    background: #f7f7f7;
    height: 100%;
}

.phone-type {
    height: 100%;
    border: none;
    padding: 0 10px;
    background: transparent;
    font-size: 12px;
    outline: none;
}

.phone-number {
    flex: 1;
    border: none;
    outline: none;
    padding: 6px 10px;
    font-size: 12px;
}

.phone-actions {
    display: flex;
    height: 100%;
}

.phone-actions .btn-icon {
    border: none;
    border-left: 1px solid #ddd;
    background: #fafafa;
    height: 100%;
    width: 34px;
    color: #666;
    cursor: pointer;
}

.phone-actions .btn-icon:hover {
    background: #eee;
    color: #333;
}

.phone-actions .btn-icon.active {
    background: #ffd200;
    color: #000;
}

.phone-actions .btn-icon i {
    pointer-events: none;
}

.btn-add-phone {
    margin-top: 0px;
    background: #f8f8f8;
    border: 1px solid #ccc;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    color: #444;
}

.btn-add-phone i {
    margin-right: 0px;
}

.btn-add-phone:hover {
    background: #eee;
    border-color: #bbb;
}

.email-block {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    height: 34px;
    overflow: hidden;
    margin-bottom: 6px;
}

.email-type-wrap {
    border-right: 1px solid #ccc;
    background: #f7f7f7;
    height: 100%;
}

.email-type {
    height: 100%;
    border: none;
    padding: 0 10px;
    background: transparent;
    font-size: 12px;
    outline: none;
}

.email-address {
    flex: 1;
    border: none;
    outline: none;
    padding: 6px 10px;
    font-size: 12px;
}

.email-actions {
    display: flex;
    height: 100%;
}

.email-actions .btn-icon {
    border: none;
    border-left: 1px solid #ddd;
    background: #fafafa;
    height: 100%;
    width: 34px;
    color: #666;
    cursor: pointer;
}

.email-actions .btn-icon:hover {
    background: #eee;
    color: #333;
}

.email-actions .btn-icon.active {
    background: #ffd200;
    color: #000;
}

.email-actions .btn-icon i {
    pointer-events: none;
}

.btn-add-email {
    margin-top: 0px;
    background: #f8f8f8;
    border: 1px solid #ccc;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    color: #444;
}

.btn-add-email i {
    margin-right: 0px;
}

.btn-add-email:hover {
    background: #eee;
    border-color: #bbb;
}
/* END CONTACT */

/* ===== Export grid ===== */
.export-menu .btn {
    padding: 5px 7px;
}

.export-menu .dropdown-menu {
    margin-top: 0;
    min-width: 125px;
    padding: 0;
}

.export-menu .dropdown-menu > li > a {
    padding: 6px 12px;
    line-height: 18px;
    font-size: 13px;
}

.export-menu .dropdown-menu > li > a i {
    width: 16px;
    margin-right: 6px;
    text-align: center;
}

.export-menu .dropdown-menu .divider {
    margin: 0;
}
/* ===== end ===== */

/* ==========================================================================
   Shim Bootstrap 5.3.8 pentru ARTEMIS (aplicatia ruleaza inca pe Bootstrap 3.0.0)
   --------------------------------------------------------------------------
   Markup-ul din app-data-offer.php foloseste EXCLUSIV clase Bootstrap 5.3.8.
   Fisierul de fata defineste doar clasele 5.3.8 care lipsesc din 3.0.0,
   cu mecanismul exact din 5.3.8. Dupa migrare se sterge integral.

   Se incarca DUPA bootstrap.css. Daca o clasa e deja in custom.css
   (d-none, mb-0, mt-0 ...), sari peste ea — nu dubla regula.
   ========================================================================== */

/* --- 1. Display ---------------------------------------------------------- */
.d-none { /*display: none !important; */}
.d-flex { display: flex !important; }
.d-block { display: block !important; }

/* --- 2. Flex ------------------------------------------------------------- */
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }

/* --- 3. Grid -------------------------------------------------------------
   .col-12 nu exista in 3.0.0 (acolo era .col-xs-12).
   ATENTIE: custom.css se incarca dupa bootstrap.css, deci un simplu
   .col-12{width:100%} ar bate .col-md-6 din bootstrap.css la orice latime
   si tot layout-ul ar cadea pe o coloana. De aceea perechea col-12 + col-md-*
   se rezolva cu selector compus, care are specificitate mai mare
   si afecteaza DOAR elementele care au ambele clase.
   Breakpoint 768px = valoarea "md" din Bootstrap 5 (in 3.0.0 md era 992px);
   asa arata identic si inainte, si dupa migrare.
   ------------------------------------------------------------------------- */
.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 768px) {
    .col-12.col-md-6  { flex: 0 0 auto; width: 50%; }
    .col-12.col-md-4  { flex: 0 0 auto; width: 33.33333333%; }
    .col-12.col-md-12 { flex: 0 0 auto; width: 100%; }
}

/* --- 4. Spacing (spacer = 1rem) ------------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.ms-auto { margin-left: auto !important; }
.px-3 { padding-right: 1rem !important; padding-left: 1rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }

/* --- 5. Culori 5.3 ------------------------------------------------------- */
.bg-body-tertiary { background-color: #f8f9fa !important; }
.text-body-secondary { color: rgba(33, 37, 41, .75) !important; }

/* --- 6. Borduri ----------------------------------------------------------
   In Bootstrap 5, .border-3 si .border-* NU scriu direct border-width /
   border-color: seteaza variabilele --bs-border-width si --bs-border-color,
   pe care le consuma doar utilitarele .border*. Altfel ar ingrosa si colora
   si bordurile venite din stilul aplicatiei (ex. .header, care are deja
   border pe toate laturile — de aici chenarele rosii/albastre complete).
   ------------------------------------------------------------------------- */
.border-start {
    border-left: var(--bs-border-width, 1px) var(--bs-border-style, solid) var(--bs-border-color, #dee2e6) !important;
}
.border-3 { --bs-border-width: 3px; }
.border-danger { --bs-border-color: #dc3545; }
.border-primary { --bs-border-color: #0d6efd; }
.border-success { --bs-border-color: #198754; }
.border-warning { --bs-border-color: #ffc107 }
.rounded-end {
    border-top-right-radius: .375rem !important;
    border-bottom-right-radius: .375rem !important;
}

/* --- 7. Text ------------------------------------------------------------- */
.text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; }
.text-reset { color: inherit !important; }

/* --- 8. Formulare si collapse -------------------------------------------- */
.form-label { margin-bottom: .5rem; }
/* Bootstrap 3 deschide collapse-ul cu .in, Bootstrap 5 cu .show */
.collapse.show { display: block; }

/* --------------------------------------------------------------------------
   Optional: .small, .text-danger si .text-primary EXISTA in 3.0.0, dar cu alte
   valori. Decomenteaza daca vrei nuantele din 5.3.8 de pe acum.
   -------------------------------------------------------------------------- */
/*
.small { font-size: .875em; }
.text-danger { color: #dc3545 !important; }
.text-primary { color: #0d6efd !important; }
*/

