html,
body {
    height: 100%;
    font-weight: 500;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.main-panel>.content {
    min-height: calc(100vh - 105px);
    /*height: 100%;*/
}

.main-panel .header {
    margin-bottom: 0px;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.footer {
    background-color: #e66231;
    height: 60px;
    max-height: 60px;
    color: #FFF;
    padding-top: 20px;
}

#loader-fade {
	position: fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	z-index:999997;
	background-color: rgba(0,0,0,.8);
	display: block;
	opacity:0;
	visibility: hidden;
	transition: 0.3s ease all;
}

#loader-fade.faded {
	opacity: 1;
	visibility: visible;
}

#loader {
	display: none;
	z-index:999998;
	top: 38%;
    margin:auto;
	position: relative;
	border: 5px solid white;
	border-radius: 50%;
	border-top: 5px solid #2ca8ff;
	width: 150px;
	height: 150px;
	-webkit-animation: spin 1.5s linear infinite; /* Safari */
	animation: spin 1.5s linear infinite;
}

#loader-image {
	position: relative;
	display: none;
	z-index:999999;
	background: url('/img/icon.png');
	background-position: center; 
    background-repeat: no-repeat;    
    margin:auto;
    height: 150px;
    top:39%;
}

#loader-text {
	position: relative;
	display: none;
	z-index:999999;
    margin:auto;
    top:38%;
    padding-top: 1em;
	width: 500px;
    color: #FFF;
    text-align: center;
    font-size: larger;
}

/* Safari */
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc, a.desc{
    color:#000 !important;
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.grid-item-inactive{
    color: #bbb;
}

.inactive{
    color: #bbb;
    background-color: #eef1f5;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.off-canvas-sidebar:after, .sidebar:after {
    /*background: #707070;*/
}

.off-canvas-sidebar .nav li>a, .sidebar .nav li>a {
    border-radius: 0px;
}

.off-canvas-sidebar .nav li.active>a[data-toggle=collapse]+div .nav .active a:after, .sidebar .nav li.active>a[data-toggle=collapse]+div .nav .active a:after {
    border-radius: 0px;
}

.off-canvas-sidebar .nav .collapse, .sidebar .nav .collapse, .off-canvas-sidebar .nav .collapsing, .sidebar .nav .collapsing {
    padding-left: 10px;
}

.navbar a.dropdown-item {
    color: #383838;
    font-weight: 500;
}

.header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-white{
    background-color: #fff !important;
}

a{
    color: #55a5fa;
}

small {
    font-weight: 500 !important;
}

.title {
    text-transform: uppercase;
}

.form-control {
    border-radius: 0.25rem;
}

.form-control, .form-control option {
    font-weight: 500;
}

.input-group-text i {
    font-size: 21px;
}

.input-group-addon {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: #555555;
    text-align: center;
    border: 1px solid #ccc;
}

.input-group .input-group-addon {
    border-radius: 0;
    background-color: #fff;
}

.input-group-addon:first-child {
    border-right: 0;
}

.input-group-addon, .input-group-btn {
    white-space: nowrap;
    vertical-align: middle;
}

.input-group-text {
    padding: .375rem .75rem !important;
    color: #FFF !important;
    /*background-color: #888888 !important;
    border: 1px solid #888888 !important;*/
}

.input-group .password-input {
    border-radius: 0px !important;
}


.input-group > .select2-container {
    width: auto !important;
    flex: 1 1 auto !important;
}

.input-group .select2-selection {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.input-group-select2 > .btn {
    max-height: 34px !important;
    border-radius: 0px !important;
}

.datepicker{
    z-index: 9999 !important;
    padding: 10px;
    border: 1px solid #ccc;
}

.card label{
    color: #777777;
}

.table th { 
    font-size: 14px !important;
}

.table td { 
    font-size: 12px !important;
}

.table tbody td a:hover, .card-header a:hover{
    text-decoration: none;
}

.table-data th{
    font-size: small !important;
}

.table-lot-data th{
    font-size: smaller !important;
}

.table-many-lot-data th{
    font-size: x-small !important;
}

.table-header-small > thead > tr > th, .table-header-small > thead > tr > th > a{
    font-size: small !important;
}

.table-header-smaller > thead > tr > th, .table-header-smaller > thead > tr > th > a{
    font-size: smaller !important;
}

.font-smaller, .table-font-smaller{
    font-size: smaller;
}

.font-x-small, .table-font-x-small{
    font-size: x-small;
}

.table-add-column{
    text-align: center !important;
    width: 50px !important;
    max-width: 50px !important;
}

.table-add-column-big{
    text-align: center !important;
    width: 80px !important;
    max-width: 80px !important;
}

.table-data-column-small{
    min-width: 80px !important;
    width: 80px !important;
    max-width: 80px !important;
}

.table-data-column{
    min-width: 150px !important;
    width: 150px !important;
    max-width: 150px !important;
}

.table-data-column-big{
    min-width: 250px !important;
    width: 250px !important;
    max-width: 250px !important;
}

.table-data-column-xxl {
    min-width: 350px !important;
    width: 350px !important;
    max-width: 350px !important;
}

.table-date-column{
    min-width: 230px !important;
    width: 230px !important;
    max-width: 230px !important;
}

.table-date-range-column{
    min-width: 340px !important;
    width: 340px !important;
    max-width: 360px !important;
}

.table-number-column{
    min-width: 100px !important;
    width: 100px !important;
    max-width: 100px !important;
    text-align: right;
}

.table-action-column {
    display: table-cell;
    min-width: 150px;
    width: 150px;
    max-width: 150px;
}

.delivery-action-column {
    min-width: 190px !important;
    width: 190px !important;
    max-width: 190px !important;
}

.tour-action-buttons a,
.tour-action-buttons span {
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
    line-height: 0;
}

.tour-action-buttons a:last-child,
.tour-action-buttons span:last-child {
    margin-right: 0;
}

.table-action-x-small {
    display: table-cell;
    min-width: 55px;
    width: 55px;
    max-width: 55px;
}

.table-action-column-smaller {
    display: table-cell;
    min-width: 80px;
    width: 80px;
    max-width: 80px;
}

.table-action-column-small {
    display: table-cell;
    min-width: 115px;
    width: 115px;
    max-width: 115px;
}

.table-action-column-mobile {
    display: none;
    min-width: 115px;
    width: 115px;
    max-width: 115px;
}

.table-firstrow-noborder > tbody > tr:first-child > td, .table-firstrow-noborder > tbody > tr:first-child > th{
    border: none;
}

.table>thead>tr>th {
    font-weight: 500;
}

.table > thead > tr > th > a{
    color: #888888;
    /*font-size: 16px;*/
    transition: 0.3s;
}

.table > thead > tr > th > a.btn, .table > thead > tr > th > a.btn:hover{
    color: #fff;
}

.table > thead > tr > th > a:hover{
    color: #000;
}

.table > thead > .filters{
    background-color: #f0f0f0;
}

.table > thead > .filters > td > input[type="text"]{
    background-color: #fff !important;
}

.table-bordered-top td{
    border-top: 1px solid #000;
}

table.table-bordered-dark, .table.table-bordered-dark tbody+tbody, table.table-bordered-dark > thead > tr > th, table.table-bordered-dark > tbody > tr > td, table.table-bordered-dark > tbody > tr > th{
    border: 1px solid #989898 !important;
}

.table-item-viewer h6, .table-item-viewer span{
    font-size: 0.8em;
}

.table-compact th, .table-compact td {
    font-size: 12px !important;
    padding: 3px !important;
}

.table-compact th .btn.btn-icon.btn-sm, .table-compact td .btn.btn-icon.btn-sm {
    height: 1.5rem;
    min-width: 1.5rem;
    width: 1.5rem;
}

.column-text{
    min-width: 100px;
    width: 100px;
    max-width: 100px;
}

.column-text-small{
    min-width: 80px;
    width: 80px;
    max-width: 80px;
}

.column-text-large{
    min-width: 150px;
    width: 150px;
    max-width: 150px;
}

.column-value{
    min-width: 90px;
    width: 90px;
    max-width: 90px;
}

.column-size{
    min-width: 300px;
    width: 300px;
    max-width: 300px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    font-style: italic;
    color:    rgb(202, 202, 202) !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    rgb(202, 202, 202) !important;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    rgb(202, 202, 202) !important;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    rgb(202, 202, 202) !important;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    rgb(202, 202, 202) !important;
}

::placeholder { /* Most modern browsers support this now. */
   color:    rgb(202, 202, 202) !important;
}

.custom-input-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-left: 25px;
    margin-bottom: 14px !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.custom-input-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: rgb(226, 222, 222);
}

.custom-input-container .text{
    display: inline-block;
    padding-top: 4px;
    padding-left: 4px;
    font-size: 14px;
    color: #000;
}

/* On mouse-over, add a grey background color */
.custom-input-container:hover input ~ .checkmark {
    background-color:  rgb(185, 184, 184);
}

/* When the checkbox is checked, add a blue background */
.custom-input-container input:checked ~ .checkmark {
    background-color: #5EA5CF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.custom-input-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.custom-input-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Create a custom radio button */
.radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 26px;
    width: 26px;
    background-color: rgb(226, 222, 222);
    border-radius: 50%;
    transition: 0.3s;
}

/* On mouse-over, add a grey background color */
.custom-input-container:hover input ~ .radiomark {
    background-color: rgb(204, 204, 204);
}

/* When the radio button is checked, add a blue background */
.custom-input-container input:checked ~ .radiomark {
    background-color: #5EA5CF;
}

.custom-input-container input:checked ~ .info{
    background-color: #2ca8ff !important;
}

.custom-input-container:hover input ~ .info {
    background-color: #2ca8ff !important;
}

.custom-input-container input:checked ~ .success{
    background-color: #18ce0f !important;
}

.custom-input-container:hover input ~ .success {
    background-color: #18ce0f !important;
}

.custom-input-container input:checked ~ .warning{
    background-color: #ffb236 !important;
}

.custom-input-container:hover input ~ .warning {
    background-color: #ffb236 !important;
}

.custom-input-container input:checked ~ .danger{
    background-color: #ff3636 !important;
}

.custom-input-container:hover input ~ .danger {
    background-color: #ff3636 !important;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.custom-input-container input:checked ~ .radiomark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.custom-input-container .radiomark:after {
 	top: 7px;
	left: 7px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: white;
}

.section-title {
    width: 100%;
    margin-top: 2em;
    margin-bottom: 1em;
    border-bottom: 5px solid #888888;
    text-align: left;
    text-transform: uppercase;
    font-weight: 700;
}

.section-title-small{   
	margin-top: 0.5em; 
	font-size: large;
}

.tree-view-wrapper{
    margin-bottom: 1em;
}

.treeview .btn.btn-icon.btn-sm{
    margin: 0 5px 0 0;
}

.tree-header{
    padding-top: 10px;
    background-color: #888888;
    margin-top: -15px;
    margin-bottom: 10px;
}

.tree-header .glyphicon{
    color: #353333;
    text-shadow: none;
}

.tree-heading-container{
	margin: 0px !important;
    padding: 5px;
    color: #FFF !important;
    font-weight: normal !important;
    font-size: large;
}

.treeview.small .list-group-item:first-child, .treeview.small .list-group-item:last-child, .treeview.middle .list-group-item:first-child, .treeview.middle .list-group-item:last-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.small, small {
    font-size: 70%;
}

.node-result{
    font-weight: bold;
}

.breadcrumb .btn{
    margin: 0 !important;
    margin-top: -5px !important;
}

.breadcrumb.back{
    max-height: 45px;    
}

.breadcrumb .back-button{
    margin-left: auto !important;
    margin-right: auto !important;
}

.breadcrumb{
    border-radius: .25rem;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.breadcrumb > i{    
    margin-right: 0.7em;
    color: #999;
}

.breadcrumb > li{
    padding-right: 0.7em;
}

.pagination{
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid #d8d8d8;
    border-radius: 0;
}

.pagination > li{
    margin-right: 2px;
}

.pagination > li a, .pagination > li.disabled{
    text-align: center;
    font-size: 1rem;
    display:block;
    height: 1.875rem;
    min-width: 1.875rem;
    width: 1.875rem;
    line-height: 1.8rem;
    border: 2px solid #9e9e9e !important;
    color: #9e9e9e;
    border-radius: 50%;
    padding: 0 !important;
    text-decoration: none;
}

.pagination > li.active a, .pagination > li a:hover{
    background-color: #fff !important;
    border: 2px solid #5EA5CF !important;
    color: #5EA5CF !important;
    box-shadow: none !important;
}


.pagination > li.prev a, .pagination > li.next a, .pagination > li.disabled span{ 
    line-height: 1.5rem !important;   
    font-size: 1.4rem !important;
    text-decoration: none !important;
}

.pagination > li.disabled{
    border: 2px solid #cfcfcf!important;
    color: #cfcfcf !important;
}

input[type=file]{
    content: "";
    border: 1px solid rgb(204, 204, 204);
    border-radius: 0.25rem;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    padding-top: 5px;
    margin-top: 11px !important;
    height: 38px;
    cursor: pointer;
    font-style: italic;
    color: #777777;
    /*width:100%;*/
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

input[type=file]:hover::before{
    background-color: rgb(110, 110, 110);
    border-color: rgb(110, 110, 110);
}


input[type=file]:before {
    font-family: "Font Awesome 5 Free";
    content: "\f07c";
    padding-left: 10px;
    padding-right: 10px;
    margin-top: -5px;
    padding-top: 0px;
    border: none;    
    border-radius: 0.25rem;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    position: absolute;
    height: 36px;
    max-height: 36px;
    width: 128px;
    background-color: #888888;
    color: #fff;
    text-transform: uppercase;
    font-style: normal;
    font-weight: bold;
    font-size: x-large;
    text-align: center;
    transition: 0.3s;
}

.save-area{
    width: 49%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
}

.btn-purple {
    background-color: #6e2478;
    color: #FFFFFF;
}

.btn-purple:hover, .btn-purple:active {
    background-color: #5c1e65;
}

.btn-orange {
    background-color: #ff6600;
    color: #FFFFFF;
}

.btn-orange:hover, .btn-orange:active {
    background-color: #ff8533;
}

textarea{
    max-height: none !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 0.25rem !important;
}

.profile-picture {
    width: 38px;
    height: 38px;
    background-color: #999999;
    color: #FFFFFF;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.profile-picture img{
    width: 100%;
}

/*.off-canvas-sidebar .nav li>a, .sidebar .nav li>a {
    font-size: 0.65em;
    font-weight: 600;
    padding: 5px;
}

.off-canvas-sidebar .nav li.active>a[data-toggle=collapse]+div .nav .active a:after, .sidebar .nav li.active>a[data-toggle=collapse]+div .nav .active a:after {
    height: 33px;
}*/

.sidebar-wrapper li.active > a, .sidebar-wrapper li.active > a > i, 
.off-canvas-sidebar .sidebar-wrapper [data-toggle=collapse]~div>ul>li.active>a .sidebar-mini-icon, .sidebar .sidebar-wrapper [data-toggle=collapse]~div>ul>li.active>a .sidebar-mini-icon{
    color: #555555;
}

.sidebar-wrapper .user-name{
    padding: 0px; 
    padding-right: 30px; 
    font-size:small; 
    color: #fff; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.panel-header {
    background-position: center;
    background-size: cover;
}

.panel-header-gray {
    background-image: linear-gradient(90deg, rgb(99, 99, 99) 0px, rgb(136, 136, 136) 60%, rgb(153, 153, 153));
}

.panel-header-gray-transparent {
    background-image: linear-gradient(90deg, rgb(99, 99, 99, 0.8) 0px, rgb(136, 136, 136, 0.6) 60%, rgb(153, 153, 153, 0.5));
}

.panel-header-yellow {
    background-image: linear-gradient(90deg, rgb(232, 165, 58) 0px, rgb(232, 165, 58) 60%, rgb(232, 165, 58));
}

.panel-header-yellow-transparent {
    background-image: linear-gradient(90deg, rgb(231, 162, 51, 0.9) 0px, rgb(231, 162, 51, 0.9) 60%, rgb(231, 162, 51, 0.9));
}

.panel-header-blue {
    background-image: linear-gradient(90deg, rgb(12, 38, 70) 0px, rgb(32, 64, 101) 60%, rgb(42, 87, 136));
}

.panel-header-blue-transparent {
    background-image: linear-gradient(90deg, rgb(12, 38, 70, 0.8) 0px, rgb(32, 64, 101, 0.6) 60%, rgb(42, 87, 136, 0.5));
}

.panel-header-green {
    background-image: linear-gradient(90deg, rgb(99, 155, 62) 0px, rgb(111, 172, 70) 60%, rgb(122, 190, 77));
}

.panel-header-green-transparent {
    background-image: linear-gradient(90deg, rgb(2150, 208, 112, 0.8) 0px, rgb(151, 211, 111, 0.6) 60%, rgb(166, 229, 124, 0.5));
}

.panel-header-orange {
    background-image: linear-gradient(90deg, rgb(245, 111, 60) 0px, rgb(245, 111, 60) 60%, rgb(245, 111, 60));
}

.panel-header-orange-transparent {
    background-image: linear-gradient(90deg, rgb(234, 97, 45, 0.8) 0px, rgb(234, 97, 45, 0.6) 60%, rgb(234, 97, 45, 0.5));
}

.panel-header-red {
    background-image: linear-gradient(90deg, rgb(167, 16, 16) 0px, rgb(200, 32, 32) 60%, rgb(220, 53, 53));
}

.panel-header-red-transparent {
    background-image: linear-gradient(90deg, rgb(167, 16, 16, 0.8) 0px, rgb(200, 32, 32, 0.6) 60%, rgb(220, 53, 53, 0.5));
}

/*.panel-header-blue {
    background-image: linear-gradient(90deg,rgba(0, 51, 153, 0.8) 0,rgba(0, 68, 204, 0.6) 60%,rgba(51, 119, 255, 0.5)), url("/img/menu_header_image.jpg");
}*/

.timeline-news .timeline:before{
    left: 0;
}

.timeline-news .timeline>li>.timeline-badge{
    left: 0;
}

.timeline-news .timeline>li>.timeline-panel{
    width: 95%;
}

.bg-white{
    background-color: #fff !important;
}

.bg-black{
    background-color: #000 !important;
}

.bg-brown{
    background-color: #c68c53 !important;
}

.bg-transparent{
    background-color: transparent !important;
}

.text-brown{
    color: #c68c53 !important;
}

.bg-purple{
    background-color: #df80ff !important;
}

.text-purple{
    color: #df80ff !important;
}

.text-orange{
    color: #ff8533 !important;
}

.bg-orange{
    background-color: #ff8533 !important;
}

.text-lightblue{
    color: #99e1f9 !important;
}

.bg-lightblue{
    background-color: #99e1f9 !important;
}

.badge-small {
    padding: 2px 4px;
    font-size: .7em;
    line-height: 9px;
}

.badge-secondary {
    color: #fff;
    background-color: #888888;
}

.badge-dark {
    color: #fff;
    background-color: #343a40;
}

.badge-light{
    color: #212529;
    background-color: #f8f9fa;
}

.hover-light:hover{
    background-color: #E8E8E8 !important;
    transition: 0.3s;
}

.cursor-pointer{
    cursor: pointer;
}

.gallery-item img {
    width: 100px;
    margin-top: 3px;
}

.select2-container--krajee .select2-selection{
    border-radius: 3px;
}

.select2-container--krajee.select2-container--open.select2-container--above .select2-selection {
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.select2-container--krajee.select2-container--open.select2-container--below .select2-selection {
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

.select2-container--krajee .select2-selection--multiple .select2-selection__choice {
    border-radius: 5px;
    margin-left: 10px;
}

.select2-container--krajee.select2-container--open .select2-selection, .select2-container--krajee .select2-selection:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.tooltip{
    top: 0px !important;
}

ul.timeline-list {
    list-style-type: none;
    position: relative;
}

ul.timeline-list:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline-list > li {
    margin: 20px 0;
    padding-left: 20px;
}

ul.timeline-list > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #555555;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

ul.timeline-list.timeline-list-info > li:before {
    border: 3px solid #3399ff;
}

ul.timeline-list.timeline-list-success > li:before {
    border: 3px solid #00cc00;
}

ul.timeline-list.timeline-list-warning > li:before {
    border: 3px solid #ff9900;
}

ul.timeline-list.timeline-list-danger > li:before {
    border: 3px solid #ff3333;
}

ul.timeline-list.timeline-list-purple > li:before {
    border: 3px solid #8c1aff;
}

.img-aspect-ratio{
    display: block;
    max-width:1920x;
    max-height:1080px;
    width: auto;
    height: auto
}

.modal {
    z-index: 9999 !important;
}

.modal-content .modal-header button {
    padding: 5px;
}

.select2-dropdown {
    z-index: 10000 !important;
}

/*.progress-container .progress {
    height: 5px;
}*/

.news-header-image{
    width: 100%;
    height: 300px;
    max-height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-product{
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    border-radius: 3px;
}

.card-product-food{
    height: 230px;
    min-height: 230px;
    max-height: 230px;
    margin-bottom: 35px;
}

.card-product-image{
    width: 100%;
    height: 75%;
    background-size: cover;
    background-repeat: no-repeat;
}

.card-product-text{
    padding: 5px;
    width: 100%;
    height: 25%;
    background-color: #FFF;
    color: #000;
}

.card-black{
    background-color: #000;
    color: #FFF;
}

.card-transparent{    
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFF;
    transition: 0.3s;
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.3s;
    border-radius: 3px;
}

.card-transparent-brown{
    background-color: rgba(51, 26, 0, 0.5);
}

.card-transparent-blue{
    background-color: rgba(0, 38, 77, 0.5);
}

.card-content-white{
    color: #FFF;
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
}

.discount-badge{
    line-height: 2.35em;
    border-radius: 50%;
}

.thumbnail-picture {
    width: 38px;
    height: 38px;
    background-color: #999999;
    color: #FFFFFF;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.card .author {
    text-align: center;
    text-transform: none;
    margin-top: -77px;
}

.card .avatar {
    width: auto;
    height: 124px;
    border-radius: 5px;
    position: relative;
}

.bootstrap-switch-info .ui-1_simple-remove{
    color: #ff8080;
}

.page-item i{
    line-height: 1.8rem;
}

.progress-container .progress {
    height: 5px;
    margin-top: 0px;
    margin-bottom: 10px;
}

.progress-container .progress-badge {
    font-weight: 600;
}

.progress-bar{
    font-size: smaller;
}

.dropdown-button .dropdown-toggle{
    max-width: 30px;
}

.dropdown-button .dropdown-toggle::after {
    font-size: large;
    margin-left: -11px;
}

.search-list {
    max-height: 300px;
    overflow-x: hidden; 
    overflow-y: auto;
    z-index: 999999;
    background-color: #fff;
    border: 1px solid #A8A8A8;
    border-radius: 5px;
    /*box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .15);*/
}

.search-list a {
    color: #000 !important;
}

.search-list .search-item {
    min-height: 70px; 
    height: 70px; 
    max-height: 70px;
}

.search-list .search-image img {
    max-width: 90px; 
    max-height: 60px; 
    width: auto; 
    height: auto;
}

.search-list .search-text {
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.btn.btn-icon, .btn.btn-icon.btn-sm .fa {
    font-size: .9375rem !important;
}

.btn .btn-icon .btn-sm .bi {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-12px, -12px) !important;
    line-height: 1.5626rem !important;
    width: 24px !important;
}

small {
    font-weight: 500;
}

textarea.form-control {
    padding: .375rem .75rem !important;
}

.collapse-icon {
    float: none !important;
    color: #6c757d !important;
    transform: none !important
}

.border-info {
    border-color: #4bb5ff !important;
}

.btn.btn-icon .bi {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-12px, -9px);
    line-height: 1.5626rem;
    width: 24px;
}

.image-selector, .kv-file-content {
    background-color: #F8F8F8;
}

.image-selector .btn-link {
    margin-top: -3px !important;
}

.text-no-break {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (-webkit-min-device-pixel-ratio: 1.1) { 
    .nav-link{
        padding: 0px !important;
        font-size: smaller;
    }

    .table-responsive-hd {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

@media (-webkit-min-device-pixel-ratio: 1.25) { 
    .nav-link{
        padding: 0px !important;
        font-size: smaller;
    }

    .table-responsive-hd {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

@media(max-width:1366px) {
    .nav-link{
        padding: 5px 10px !important;
        font-size: smaller;
    }

    .table-responsive-hd {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

@media(max-width:1280px) {
    .table-action-column {
        display: none;
    }

    .table-action-column-mobile {
        display: table-cell;
    }

    .table-action-column-mobile.delivery-action-column {
        min-width: 155px !important;
        width: 155px !important;
        max-width: 155px !important;
    }

    .save-area {
        width: 60%;
    }

    .modal-dialog {
        width: 90% !important;
        max-width: 90% !important;
    }

    .modal-body {
        padding: 15px !important;
    }
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .timeline-news .timeline>li>.timeline-panel{
        width: 85% !important;
    }

    .timeline-news .timeline:before{
        left: 0 !important;
    }

    .timeline-news .timeline>li>.timeline-badge{
        margin-left: -42px;
    }

    .nav-pills > .nav-item{
        margin-left: auto;
        margin-right: auto;
        margin-top: 1em;
    }

    .nav-pills.nav-pills:not(.flex-column) .nav-item:not(:last-child) .nav-link {
        margin-right: 0px;
    }

    .save-area{
        width: 100%;
    }

    .card-content-white{
        font-size: smaller;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* ========== Betárolás (putaway) – lista oldal ========== */
.putaway-page {
    width: 100%;
}

.putaway-page .putaway-table {
    width: 100%;
    table-layout: auto;
}

.putaway-page .putaway-col-partner {
    width: auto;
}

.putaway-page .putaway-actions {
    white-space: nowrap;
}

.putaway-page .putaway-btn {
    margin: 2px 0 2px 4px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
}

.putaway-page .putaway-btn i {
    margin-right: 4px;
}

.putaway-mobile-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.putaway-mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.putaway-mobile-partner {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    word-break: break-word;
}

.putaway-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #666;
    font-size: 14px;
    margin-bottom: 14px;
}

.putaway-mobile-meta i {
    margin-right: 4px;
}

.putaway-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.putaway-btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    margin: 0;
}

.putaway-btn-mobile i {
    margin-right: 8px;
    font-size: 16px;
}

@media (max-width: 767px) {
    .putaway-page .card-body {
        padding: 10px !important;
    }

    .putaway-mobile-filters .form-group label {
        font-weight: 600;
        margin-bottom: 4px;
    }

    .putaway-mobile-filters .btn-block {
        min-height: 44px;
        font-weight: 600;
    }
}

/* ========== Betárolás – részletek (header, tételek, progress) ========== */
.putaway-detail-page .putaway-detail-title {
    font-size: 1.15rem;
    line-height: 1.4;
}

.putaway-detail-page .putaway-header-details {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 14px 16px;
}

.putaway-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.putaway-product-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e3e3e3;
    flex-shrink: 0;
}

.putaway-product-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    color: #adb5bd;
}

.putaway-product-sku {
    font-size: 13px;
}

.putaway-product-name {
    font-size: 16px;
    line-height: 1.3;
}

.putaway-items-table .putaway-item-actions .btn {
    margin: 2px 0 2px 4px;
}

/* --- mobil tételkártyák --- */
.putaway-mobile-item {
    background: #fff;
    border: 1px solid #e6e9ec;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(20, 40, 60, 0.06);
}

.putaway-mobile-item.putaway-item-done {
    border-color: #c3e6cb;
    background: #f4fff6;
}

.putaway-mobile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    background: #f7f8fa;
    border-radius: 10px;
    padding: 10px 12px;
}

.putaway-mobile-stats > div > .text-muted.small {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.putaway-mobile-stats .putaway-qty-total-value,
.putaway-mobile-stats .putaway-qty-done-value {
    font-size: 17px;
    font-weight: 700;
}

.putaway-mobile-stats .putaway-row-unit-mark {
    font-size: 13px;
    color: #6c757d;
}

.putaway-status-badge {
    flex-shrink: 0;
    font-size: 11px;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    align-self: flex-start;
}

.putaway-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
}

.putaway-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #34c759, #28a745);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.putaway-mobile-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Tételek / Részletek fülek: szegmentált kapcsoló mobilon */
.putaway-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    background: #eef1f4;
    border: 0;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}

.putaway-tabs .nav-item {
    flex: 1;
    margin: 0;
}

.putaway-tabs .nav-link {
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px !important;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent;
    color: #495057 !important;
    width: 100%;
}

.putaway-tabs .nav-link.active {
    background: #fff !important;
    color: #212529 !important;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.putaway-back-btn {
    min-height: 44px;
    font-weight: 600;
    width: auto;
    display: inline-block;
}

.putaway-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.putaway-complete-wrap,
.putaway-complete-form {
    display: inline-block;
}

.putaway-complete-btn {
    min-height: 44px;
    font-weight: 600;
}

.putaway-items-table .putaway-btn-edit {
    color: #495057;
    background: #fff;
    border: 1px solid #ced4da;
}

.putaway-items-table .putaway-btn-edit:hover {
    color: #212529;
    background: #e9ecef;
    border-color: #adb5bd;
}

.putaway-btn-mobile {
    min-height: 52px;
    font-size: 16px;
    font-weight: 700;
}

/* ========== Betárolás – modal (fejléce, sorok, összegző) ========== */
.putaway-modal-product-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 6px;
}

.putaway-modal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.putaway-meta-label {
    font-size: 12px;
    color: #6c757d;
}

.putaway-modal-received-value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.putaway-oversized-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
}

.putaway-oversized-toggle input {
    width: 22px;
    height: 22px;
    margin: 0;
}

.putaway-add-row-btn {
    width: 100%;
    min-height: 52px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 4px;
}

.putaway-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.putaway-line {
    display: flex;
    gap: 10px;
    border: 1px solid #dde1e6;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.putaway-line-num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e9ecef;
    color: #495057;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.putaway-line-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.putaway-line-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 13px;
}

.putaway-line-qty-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10px;
}

.putaway-shelf-typeahead,
.putaway-shelf-typeahead .twitter-typeahead {
    width: 100%;
    display: block !important;
}

.putaway-shelf-typeahead .tt-input,
.putaway-shelf-typeahead .tt-hint {
    width: 100%;
}

.putaway-line-remove {
    width: 100%;
    min-height: 44px;
    border: 1px solid #f5c6cb;
    color: #c82333;
    background: #fff5f5;
    border-radius: 8px;
    font-weight: 600;
}

/* --- meglévő tárhely javaslat (PDA lista) --- */
.putaway-existing-shelves {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #c8ddff;
    border-radius: 12px;
    background: #f3f8ff;
}

.putaway-existing-shelves-title {
    font-size: 13px;
    font-weight: 700;
    color: #1c4e93;
    margin-bottom: 8px;
}

.putaway-existing-shelves-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 28vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.putaway-existing-shelf-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid #9fc0eb;
    border-radius: 10px;
    background: #fff;
    color: #1c4e93;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.putaway-existing-shelf-btn:active,
.putaway-existing-shelf-btn:focus {
    outline: none;
    background: #e7f1ff;
    border-color: #4a7dbd;
}

.putaway-existing-shelf-name {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
    word-break: break-word;
}

.putaway-existing-shelf-qty {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    color: #495057;
    white-space: nowrap;
}

.putaway-line-flash {
    box-shadow: 0 0 0 2px #4a7dbd;
    transition: box-shadow 0.3s ease;
}

/* --- túlméretes mód: csoport blokkok --- */
.putaway-oversized-info {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #e7f1ff;
    border: 1px solid #c8ddff;
    color: #1c4e93;
    font-size: 13px;
    line-height: 1.4;
}

.putaway-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #dde1e6;
    border-left: 4px solid #4a7dbd;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.putaway-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.putaway-group-title {
    flex: 1;
    font-weight: 700;
    font-size: 15px;
}

.putaway-group-remove {
    min-height: 40px;
    border: 1px solid #f5c6cb;
    color: #c82333;
    background: #fff5f5;
    border-radius: 8px;
    font-weight: 600;
    padding: 0 12px;
}

.putaway-group-shelves {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.putaway-shelf-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.putaway-shelf-row .putaway-shelf-typeahead {
    flex: 1;
    min-width: 0;
}

.putaway-shelf-full-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.putaway-shelf-full-toggle input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.putaway-group-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #6c757d;
}

.putaway-group-hint.is-warning {
    color: #b06a00;
    font-weight: 600;
}

.putaway-shelves-summary {
    margin-top: 2px;
    line-height: 1.4;
}

/* --- modal összegző sáv + gombok --- */
.putaway-sum-bar {
    border-radius: 10px;
    padding: 6px 12px;
    margin-bottom: 8px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
}

.putaway-sum-bar.is-ok {
    background: #d4edda;
    border-color: #c3e6cb;
}

.putaway-sum-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
}

.putaway-sum-main strong {
    font-size: 16px;
}

.putaway-sum-hint {
    margin-top: 1px;
    font-size: 12px;
    color: #856404;
}

.putaway-sum-bar.is-ok .putaway-sum-hint {
    color: #155724;
}

.putaway-modal-actions {
    display: flex;
    gap: 8px;
}

.putaway-modal-btn {
    flex: 1;
    min-height: 52px;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

/* a Mentés gomb legyen a hangsúlyosabb */
.putaway-modal-actions .btn-primary {
    flex: 1.6;
}

/* Teljes képernyős modal – felülírja a globális .modal-dialog 90%-ot */
#modalPutaway {
    padding: 0 !important;
}

#modalPutaway .putaway-modal-dialog,
#modalPutaway .modal-dialog {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
}

#modalPutaway .putaway-modal-content,
#modalPutaway .modal-content {
    height: 100%;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    background: #f4f6f8;
    box-shadow: none;
}

/* --- modal layout (top / scroll / bottom) --- */
.putaway-modal-top {
    flex: 0 0 auto;
    padding: 12px 14px 14px;
    background: #fff;
    border-bottom: 1px solid #e3e3e3;
}

.putaway-modal-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.putaway-modal-close {
    border: 0;
    background: #f1f3f5;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 28px;
    line-height: 1;
    color: #333;
    padding: 0;
}

.putaway-modal-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px 16px;
}

.putaway-modal-bottom {
    flex: 0 0 auto;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e3e3e3;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

#modalPutaway .form-control,
#modalPutaway select.form-control {
    min-height: 52px;
    font-size: 18px !important;
    border-radius: 10px;
}

.putaway-line-shelf {
    font-weight: 600;
}

.putaway-shelf-typeahead .tt-menu {
    max-height: 40vh;
    overflow-y: auto;
    width: 100%;
    font-size: 16px;
}

.putaway-shelf-typeahead .tt-suggestion {
    padding: 14px 12px;
    min-height: 52px;
    line-height: 1.3;
    border-bottom: 1px solid #f1f3f5;
}

/* --- desktop modal méret --- */
@media (min-width: 992px) {
    #modalPutaway .putaway-modal-dialog,
    #modalPutaway .modal-dialog {
        max-width: 560px !important;
        width: 560px !important;
        margin: 1.5rem auto !important;
        height: calc(100% - 3rem) !important;
        min-height: 0 !important;
        border-radius: 12px;
        overflow: hidden;
    }

    #modalPutaway .putaway-modal-content,
    #modalPutaway .modal-content {
        border-radius: 12px;
    }

    .putaway-line-remove {
        width: auto;
        align-self: flex-start;
        padding: 0 14px;
    }
}

@media (max-width: 991.98px) {
    .putaway-detail-page {
        border-radius: 14px;
    }

    .putaway-detail-page .card-body {
        padding: 12px !important;
    }

    .putaway-detail-title {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }

    .putaway-detail-header {
        margin-bottom: 12px !important;
    }

    .putaway-detail-status .badge {
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 999px;
        letter-spacing: 0.03em;
    }

    .putaway-btn-mobile {
        border-radius: 10px;
    }

    .putaway-mobile-item .putaway-product-img {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }

    .putaway-back-btn {
        width: 100%;
        min-height: 48px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .putaway-detail-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .putaway-complete-wrap,
    .putaway-complete-form {
        display: block;
        width: 100%;
    }

    .putaway-complete-btn {
        width: 100%;
        min-height: 48px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    body.modal-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* ========== Komissiózás – leszedés modal ========== */
#modalPicking {
    padding: 0 !important;
}

#modalPicking .picking-modal-dialog,
#modalPicking .modal-dialog {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
}

#modalPicking .picking-modal-content,
#modalPicking .modal-content {
    height: 100%;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    background: #f4f6f8;
    box-shadow: none;
}

.picking-modal-top {
    flex: 0 0 auto;
    padding: 12px 14px 14px;
    background: #fff;
    border-bottom: 1px solid #e3e3e3;
}

.picking-modal-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.picking-modal-close {
    border: 0;
    background: #f1f3f5;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 28px;
    line-height: 1;
    color: #333;
    padding: 0;
}

.picking-modal-product {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 6px;
}

.picking-modal-meta {
    margin-top: 12px;
}

.picking-meta-label {
    font-size: 12px;
    color: #6c757d;
}

.picking-modal-target-value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.picking-modal-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px 16px;
}

.picking-modal-bottom {
    flex: 0 0 auto;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e3e3e3;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.picking-modal-actions {
    display: flex;
    gap: 8px;
}

.picking-modal-btn {
    flex: 1;
    min-height: 48px;
    border-radius: 10px;
    font-weight: 600;
}

.picking-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.picking-line {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 12px;
}

.picking-line-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 4px;
}

.picking-shelf-typeahead,
.picking-shelf-typeahead .twitter-typeahead {
    display: block;
    width: 100%;
}

.picking-shelf-typeahead .tt-input {
    width: 100% !important;
}

.picking-shelf-typeahead .tt-menu {
    width: 100%;
    max-height: 40vh;
    overflow-y: auto;
}

.picking-shelf-typeahead .tt-suggestion {
    padding: 14px 12px;
    min-height: 48px;
    line-height: 1.3;
    border-bottom: 1px solid #f1f3f5;
}

#modalPicking .form-control {
    min-height: 52px;
    font-size: 18px !important;
    border-radius: 10px;
    border: 1px solid #ced4da;
}

#modalPicking .form-control:focus {
    border-color: #f96332;
    box-shadow: 0 0 0 0.15rem rgba(249, 99, 50, 0.2);
}

.picking-line-meta {
    min-height: 18px;
    margin-top: 6px;
    font-size: 12px;
    color: #6c757d;
}

.picking-line-qty-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.picking-line-field-qty {
    flex: 1;
    min-width: 0;
}

.picking-line-remove {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.picking-add-row-btn {
    margin-top: 12px;
    min-height: 48px;
    width: 100%;
    border-radius: 10px;
    font-weight: 600;
}

@media (min-width: 992px) {
    #modalPicking .picking-modal-dialog,
    #modalPicking .modal-dialog {
        max-width: 560px !important;
        width: 560px !important;
        margin: 1.5rem auto !important;
        height: calc(100% - 3rem) !important;
        min-height: 0 !important;
        border-radius: 12px;
        overflow: hidden;
    }

    #modalPicking .picking-modal-content,
    #modalPicking .modal-content {
        border-radius: 12px;
    }

    .picking-add-row-btn {
        width: auto;
    }

    .picking-modal-btn {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .picking-modal-actions {
        justify-content: flex-end;
    }
}

/* ========== Komissiózás – alsó akciók (előkészítés + gombok) ========== */
.picking-detail-actions {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.picking-complete-form .picking-prep-field {
    max-width: 360px;
    margin-bottom: 1rem;
}

.picking-complete-form .picking-prep-field .select2-container {
    width: 100% !important;
}

.picking-complete-form .picking-prep-field .select2-container--krajee .select2-selection--single,
.picking-complete-form .picking-prep-field .select2-selection--single,
.picking-complete-form .picking-prep-field .select2-selection {
    min-height: 44px !important;
    height: 44px !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    background: #fff !important;
}

.picking-complete-form .picking-prep-field .select2-selection__rendered {
    line-height: 30px !important;
    padding-left: 0 !important;
    font-size: 14px;
}

.picking-complete-form .picking-prep-field .select2-selection__arrow {
    height: 42px !important;
}

.picking-action-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.picking-action-row .putaway-complete-btn,
.picking-action-row .putaway-back-btn {
    width: auto;
}

@media (max-width: 991.98px) {
    .picking-complete-form .picking-prep-field {
        max-width: none;
    }

    .picking-action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .picking-action-row .putaway-complete-btn,
    .picking-action-row .putaway-back-btn {
        width: 100%;
        min-height: 48px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }
}

