label.starred:after {
	content: ' *';
	color: red;
}

.form-check.has-error {
	height: calc(2.25rem + 2px);
	border: solid 1px red;
	border-radius: .25rem;
}

.has-error input, 
.has-error select, 
.has-error textarea {
	border: solid 2px red;
}

.required {
	border: solid 1px orange;
}

#sys_message {
	position: fixed; 
	top: 60px; 
	left: 10%; 
	width: 80%; 
	z-index: 999999; 
	opacity: 0.9;
}

#tariff-tablrs .tariff-edit {
	border: none;
	background: transparent;
	width: 60px;
}

#tariff-tablrs .tariff-edit:focus {
	background: #fff;
}

#requests {
	line-height: 1;
}

.ml-auto {
   
    text-align: center;
}
.navbar-nav .dropdown-menu {
    text-align: center!important;
    text-transform: uppercase;
	}
	
.request-preview .dots, 
.shipment-preview .dots 
{	
	border-style: dotted
}

.request-preview span, 
.shipment-preview span
{
	font-weight: 700;
	font-size: 16px;
}
.request-preview .title, 
.shipment-preview .title
{
	font-weight: 600;
	text-transform: uppercase;
	font-size: 18px
}

.request-preview a span, 
.shipment-preview a span{
	color: black;
}

.shipment-preview .shipment-total span{
	font-weight: 700;
	font-size: 20px;
	color: #00AB8E;
}

.shipment-preview .shipment-total {
	text-align: center;
}

.choose-scan .block {
	display: block;
	width: 90%;
	border: none;
	background-color:#00AB8E;
	color: white;
	padding: 10px 15px;
	cursor: pointer;
	text-align: center;
	margin: 0 auto;
}

.choose-scan .block:hover {
	background-color: #343a40;
	color: rgb(255, 255, 255);
}
.choose-scan .blockDark {
	display: block;
	width: 90%;
	border: none;
	background-color:#ffc107;
	color: #000;
	padding: 10px 15px;
	cursor: pointer;
	text-align: center;
	margin: 0 auto;
}

.choose-scan .blockDark:hover {
	background-color: #343a40;
	color: rgb(255, 255, 255);
}
.choose-scan .row {
	line-height: 30px;
}


@media only screen and (max-width: 600px) {
	#undelivered{
		text-align: center
	}
	 .phonesHide
	{
		display: none;
	}
	.requestsList .bigText
	{
		font-size: 1.7rem !important;
	}
	
}

body #form_id .shipment{
	font-size:1.1rem !important; 
}
#saveTakenShipments .custom-checkbox-reverse .custom-control-label::before,
#saveTakenShipments .custom-checkbox-reverse .custom-control-label::after {
    left: auto;
    right: -1.5rem;
}
#saveTakenShipments .custom-control-label::before, 
#saveTakenShipments .custom-control-label::after {
/*top: .8rem;*/
/*left: 1rem;*/
width: 1.5rem;
height: 1.5rem;
}
#saveTakenShipments .custom-control
{
	padding-left:0;
}

#form-status .custom-checkbox-reverse .custom-control-label::before,
#form-status .custom-checkbox-reverse .custom-control-label::after {
    left: auto;
    right: -1.5rem;
}
#form-status .custom-control-label::before, 
#form-status .custom-control-label::after {
/*top: .8rem;*/
/*left: 1rem;*/
width: 1.5rem;
height: 1.5rem;
}

.shipment-card .bg-warning {
    background-color: #FF8C00 !important;
}

.form-control-lg
{
	/*padding: 0 1rem !important;*/
}


.checkbox-lg .custom-control-label::before, 
.checkbox-lg .custom-control-label::after {
  top: .8rem;
  width: 1.55rem;
  height: 1.55rem;
}

.checkbox-lg .custom-control-label {
  padding-top: 13px;
  padding-left: 6px;
}

/*
input#exampleCheck1 {
            width: 20px;
            height: 20px;
            padding-left: 6px
        }
         */
       .ui-menu .ui-menu-item-wrapper {
	position: relative;
	padding: 15px 1em 15px .4em;
	border-bottom: 1px solid #000 !important;
}
.bootstrap-select > .dropdown-toggle.bs-placeholder, .bootstrap-select > .dropdown-toggle.bs-placeholder:active, .bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
 .bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
 	color:#000!important;
		}
 .btn-light
	{
		background-color: #fff!important;
		border: 1px solid #ced4da !important;
	}
 
/*.planDates  .bootstrap-datetimepicker-widget.dropdown-menu
{
		    width: 21em !important;

}

*/

/* DROPZONE CSS */
.dz-preview{
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:1px solid #e5e5e5;
    border-radius:6px;
    padding:8px 12px;
    margin-top:8px;
    background:#fafafa;
}

.dz-filename{
    font-weight:500;
}

.dz-image,
.dz-progress,
.dz-success-mark,
.dz-error-mark{
    display:none !important;
}

.dz-remove{
    color:#dc3545;
    cursor:pointer;
    margin-left:10px;
}

.file-preview-link{
    margin-left:15px;
    color:#0d6efd;
    text-decoration:none;
}


.filePreview .dz-filename {
    font-weight: 500;
    margin: 0;
}

.filePreview .dz-remove {
    color: #dc3545;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

.filePreview .dz-filename a {
    text-decoration: none;
    color: #0d6efd;
}
.filePreview .dz-size {
    display: none!important;
}
.dropzone-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropzone-error .close {
    margin-left: 10px;
}
.dropzone-error {
    position: relative;
}

.dropzone-error .close {
    position: absolute;
    right: 10px;
    top: 6px;
    cursor: pointer;
}	



.upload-preview {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}


.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
    min-height: 65px;
}

.file-item:hover {
    transform: translateY(-2px);
    border-color: #0d6efd;
}

.file-name {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0; /* Важно за съкращаване на текст */
}

.file-name i {
    margin-right: 12px;
    font-size: 1.4em;
    color: #0d6efd;
}

.text-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 15px;
}

.text-content a {
    text-decoration: none;
    color: #0d6efd;
    font-weight: 600;
}


.file-progress {
    width: 120px;
    background: #e9ecef;
    border-radius: 10px;
    height: 6px;
    margin: 0 15px;
    overflow: hidden;
}

.file-progress-bar {
    height: 100%;
    background: #0d6efd;
    border-radius: 10px;
}

/* Бутон за изтриване */
.delete-btn {
    border: none;
    background: transparent;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.1em;
    padding: 5px;
    transition: color 0.2s;
}


@media (max-width: 768px) {
    .file-item {
        padding: 10px;
    }
    
    .file-progress {
        display: none !important; 

    .text-content {
        white-space: normal; 
        word-break: break-all;
    }

    .upload-preview {
        padding: 15px 10px;
    }
}


.myDropzone {
    position: relative;
}

.dropzone-error {
    margin-top: 10px;
    width: 100%;
    z-index: 10;
}

.fileinput-button {
    cursor: pointer;
}

.custom-modal {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fff; margin: 15% auto; padding: 20px;
    border-radius: 8px; width: 300px; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); animation: slideIn 0.3s;
}
@keyframes slideIn { from {transform: translateY(-20px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }
.modal-buttons { margin-top: 20px; display: flex; justify-content: space-around; }
.btn-confirm { background: #dc3545; color: #fff; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer; }
.btn-cancel { background: #6c757d; color: #fff; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer; }
.btn-confirm:hover { background: #c82333; }

.block-section { 
    background: #fff; 
    border-radius: 12px; 
    padding: 20px; 
    margin-bottom: 30px; 
    border: 1px solid #f0f0f0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); 
}
.block-header { 
    border-bottom: 2px solid #f8f9fa; 
    padding-bottom: 12px; 
    margin-bottom: 20px; 
}
.block-upload-zone {
    border: 1px dashed #dee2e6;
    transition: background 0.3s;
}
.block-upload-zone:hover {
    background: #f8f9fa !important;
}