/* Ajuste de labels flotantes en modales modernos */
.modal .form-floating > label {
  top: 1.2rem;
  left: 0.75rem;
  padding: 0 0.25rem;
  font-size: 1rem;
  opacity: 0.85;
  color: #6c757d;
  pointer-events: none;
  transition: all 0.2s;
}
.modal .form-floating > .form-control:focus ~ label,
.modal .form-floating > .form-control:not(:placeholder-shown) ~ label,
.modal .form-floating > .form-select:focus ~ label,
.modal .form-floating > .form-select:not([value=""]) ~ label {
  top: -0.7rem;
  left: 0.5rem;
  font-size: 0.95rem;
  background: #fff;
  opacity: 1;
  color: #0d6efd;
  padding: 0 0.4rem;
}
/* Botón moderno blanco unificado - con borde de color y hover con gradiente */
.btn-white-modern {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  outline: none;
}

.btn-white-modern:hover, .btn-white-modern:focus {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-white-modern:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.btn {
  border-radius: 999px !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1.8rem;
  transition: all 0.2s ease;
  font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  cursor: pointer;
}

.btn:hover {
  opacity: 15;
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.btn-primary, .btn-secondary, .btn-excel {
  border-radius: 999px !important;
}

.btn-success {
  border-radius: 999px !important;
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

.btn-success:active, .btn-success:hover {
  background: #218838;
  color: #fff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

body,h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4 {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  line-height: 1.5em;
}

h1,.h1 {
  font-size: 3.3125rem;
  line-height: 1.15em;
}

h2,.h2 {
  font-size: 2.25rem;
}

h3,.h3 {
  font-size: 1.5625rem;
  line-height: 1.4em;
  margin: 20px 0 10px;
}

h4,.h4 {
  font-size: 1.125rem;
  line-height: 1.4em;
  font-weight: 300;
}

h5,.h5 {
  font-size: 1.0625rem;
  line-height: 1.4em;
  margin-bottom: 5px;
}

h6,.h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 500;
}


* {
  box-sizing: border-box;
}

body {
  background: #dee2e6;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
}

.page-wrap {
  max-width: 75rem;
  margin: 0 auto;
}

h1 {
  color: #007bff;
  font-size: 1.5rem;
  letter-spacing: -1px;
  margin: 1.25rem 0;
}
.custom-select.form-control-border, .form-control.form-control-border {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: inherit;
}

.select, textarea, input {
  box-shadow: 8px 8px 5px 0px #bdbdbdbf !important;
  border-radius:20px !important;
  border: none !important;
}


  .uploader input {
   float: left;
    padding: 0.5rem 0.5rem;
    border-radius: 7px;
    border: 3px solid #dee2e6;
    transition: all 0.2s ease;
    -webkit-user-select: none;
  }

input:disabled ~ label, textarea:disabled ~ label,  input:focus ~ label, textarea:focus ~ label {
  font-size: 0.8em;
  color: #007bff;
  top: -2.15rem;
  transition: all 0.125s cubic-bezier(0.2, 0, 0.03, 1);
}


input:valid ~ label, textarea:valid ~ label, select:valid ~ label, input:focus ~ label, textarea:focus ~ label,  select:focus ~ label {
  font-size: 0.8em;
  color: #007bff;
  top: -2.15rem;
  transition: all 0.125s cubic-bezier(0.2, 0, 0.03, 1);
}


.styled-input {
  float: left;
  width: 100%;
  margin: 1rem 0 1rem;
  position: relative;
}

.styled-input label {
  color: #999;
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.25s cubic-bezier(0.2, 0, 0.03, 1);
  pointer-events: none;
}

.styled-input.wide {
  width: 100%;
}

input, textarea, select, icheck-success {
    /*padding: 1rem 0rem 1rem 0.5rem;*/
    width: 100%;
    font-size: 1rem;
    border-color: #dee2e6;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 1rem;
    box-shadow: inherit;
}

input ~ span, textarea ~ span, select ~ span {
  display: block;
  width: 0;
  height: 3px;
  background: #8e44ad;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.125s cubic-bezier(0.2, 0, 0.03, 1);
}

input:focus, textarea:focus, select:focus {
  outline: 0;
}

input:focus ~ span, textarea:focus ~ span, select:focus ~ span {
  width: 100%;
  transition: all 0.125s cubic-bezier(0.2, 0, 0.03, 1);
}



div h3 span{
     color : #FFF;
     font-size:14px;
}

div span {
     font-weight: 200;
}

h1{
     font-weight: 200;
}



@media (max-width: 767px) {
    .login_box{
        background: #f32d27; /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjUlIiBzdG9wLWNvbG9yPSIjZjMyZDI3IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iOTklIiBzdG9wLWNvbG9yPSIjZmY2YjQ1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
        background: -moz-linear-gradient(45deg,  #f32d27 5%, #ff6b45 99%); /* FF3.6+ */
        background: -webkit-gradient(linear, left bottom, right top, color-stop(5%,#f32d27), color-stop(99%,#ff6b45)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(45deg,  #f32d27 5%,#ff6b45 99%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(45deg,  #f32d27 5%,#ff6b45 99%); /* Opera 11.10+ */
        background: -ms-linear-gradient(45deg,  #f32d27 5%,#ff6b45 99%); /* IE10+ */
        background: linear-gradient(45deg,  #f32d27 5%,#ff6b45 99%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f32d27', endColorstr='#ff6b45',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
        
        width:90%;
        height:80%;
        position:absolute;
        top:10%;
        left:5%;
        
        -webkit-box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 0.54);
-moz-box-shadow:    0px 0px 8px 0px rgba(50, 50, 50, 0.54);
box-shadow:         0px 0px 8px 0px rgba(50, 50, 50, 0.54);
    }
}

.image-circle{
    border-radius: 50%;
    width: 175px;
    height: 175px;
    border: 4px solid #FFF;
    margin: 10px;
}

.follow{
    background-color:#FC563B;
    height: 80px;
    cursor:pointer;
}

.follow:hover {
    background-color:#F22F26;
    height: 80px;
    cursor:pointer;
}

.login_control{
    background-color:#FFF;
    padding:10px;
    
}

.control {
    color:#000;
    margin:10px;
}


.btn-orange{
    background-color: #FC563B;
    border-radius: 0px;
    margin: 5px;
    padding: 5px;
    width: 150px;
    font-size: 20px;
    font-weight: inherit;
    color: white;
}

.btn-orange:hover {
    background-color: #F22F26;
    border-radius: 0px;
    margin: 5px;
    padding: 5px;
    width: 150px;
    font-size: 20px;
    font-weight: inherit;
    color:#FFF !important;
}

.btn-outline-orange {
    color: #FC563B;
    border-color: #FC563B;
}
.btn-outline-orange:hover {
    color: #fff;
    border-color: #FC563B;
    background-color: #F22F26;
}

.line{
    border-bottom : 2px solid #F32D27;
}


.outter{
    padding: 0px;
    border: 1px solid rgba(255, 255, 255, 0.29);
    border-radius: 50%;
    width: 200px;
    height: 200px;
}

.badge {
    font-size: 95%;
   }

 

 .bg-gradient-primary .btn-tool, .bg-primary .btn-tool, .card-primary:not(.card-outline) .btn-tool {
  color: #6c757d;
  }

  .uploader {
  display: block;
  clear: both;
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  }


  .uploader label:hover {
  border-color: #454cad;
  }
  .uploader label.hover {
  border: 3px solid #454cad;
  box-shadow: inset 0 0 0 6px #eee;
  }
  .uploader label.hover #start i.fa {
  transform: scale(0.8);
  opacity: 0.3;
  }
  /* Absolute Center Spinner */
  .loading {
  position: fixed;
  z-index: 999;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 70px;
  }
  /* Transparent Overlay */
  .loading:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  }

  .stepwizard-step p {
  margin-top: 10px;
  }
  .stepwizard-row {
  display: table-row;
  }
  .stepwizard {
  display: table;
  width: 100%;
  position: relative;
  }
  .stepwizard-step button[disabled] {
  opacity: 1 !important;
  filter: alpha(opacity=100) !important;
  }
  .stepwizard-row:before {
  top: 14px;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 100%;
  height: 1px;
  background-color: #ccc;
  z-order: 0;
  }
  .stepwizard-step {
  display: table-cell;
  text-align: center;
  position: relative;
  }


  .direct-chat-messages {
    transform: translate(0,0);
    height: auto;
    overflow: auto;
    padding: 10px;
}

.fa-search{
	color: #fd7e14;
}

.fa-trash {
   color: red;
}


.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: 0.5px;
    padding-left: 0.5px;
    margin-right: auto;
    margin-left: auto;
	max-width: 1340px;
}




/*** ultima version */
	body {
			background: #f4f8ff;
			font-family: 'Segoe UI', Arial, sans-serif;
		}
		.modern-card {
			border-radius: 18px;
			box-shadow: 0 4px 24px 0 #bdbdbd22;
			background: #fff;
			border: 1.5px solid #e3e6ea;
			margin-bottom: 0.5rem;
			padding: 1.5rem 1.5rem 1rem 1.5rem;
		}
		.modern-card-header {
			background: #f8fafc;
			border-radius: 16px 16px 0 0;
			border-bottom: 1.5px solid #e3e6ea;
			padding: 1.2rem 1.5rem 1rem 1.5rem;
			margin-bottom: 0.5rem;
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			align-items: center;
			justify-content: space-between;
			gap: 0.5rem;
		}
		.modern-card-header {
			background: #f8fafc;
			border-radius: 16px 16px 0 0;
			border-bottom: 1.5px solid #e3e6ea;
			padding: 1.2rem 1.5rem 1rem 1.5rem;
			margin-bottom: 0.5rem;
		}
		.modern-title {
			font-size: 1.8rem;
			font-weight: 700;
			color: #848888;
			letter-spacing: 0.5px;
			margin-bottom: 0;
			word-break: break-word;
		}
		.modern-filters .form-select, .modern-filters select, .modern-filters {
			border-radius: 12px !important;
			border: 1.5px solid #e3e6ea !important;
			box-shadow: 0 2px 8px 0 #bdbdbd22 !important;
			background: #fff !important;
			font-size: 1.05rem;
			margin-right: 0.5rem; 
			margin-bottom: 0.5rem;
			min-width: 120px;
		}
		.modern-filters .btn-info {
			background: #0d6efd !important;
			color: #fff !important;
			font-weight: 500;
			box-shadow: 0 2px 8px 0 #0d6efd22 !important;
			border: none !important;
		}
		.modern-table {
			border-radius: 14px;
			overflow-x: auto;
			background: #fff;
			box-shadow: 0 2px 8px 0 #bdbdbd22;
			margin-top: 1rem;
			display: block;
			width: 100%;
		}
		.modern-table th, .modern-table td {
			border: none !important;
			padding: 0.85rem 1.1rem !important;
			vertical-align: middle !important;
			font-size: 1.01rem;
		}
		.modern-table tbody tr {
			transition: background 0.18s;
		}
		.modern-table tbody tr:hover {
			background: #f4f8ff;
		}
		.modern-action {
			font-size: 1.3rem;
			color: #0d6efd;
			transition: color 0.2s;
		}
		.modern-action:hover {
			color: #198754;
		}
		.alert-danger {
			border-radius: 12px;
			font-size: 1.1rem;
			margin-top: 1.5rem;
		}
		@media (max-width: 992px) {
			/* DataTable buttons responsive */
			div#tableOrden_wrapper .dt-buttons {
				display: flex !important;
				flex-direction: column !important;
				align-items: center !important;
				gap: 0.5rem;
				width: 100%;
				margin-bottom: 1rem;
			}
			div#tableOrden_wrapper .dt-buttons .btn {
				width: 100%;
				margin-right: 0 !important;
				margin-bottom: 0.3rem !important;
			}
			.modern-card-header {
				flex-direction: column;
				align-items: stretch;
				gap: 0.7rem;
				padding: 0.7rem 0.5rem;
			}
			.modern-title {
				font-size: 1.3rem;
				text-align: center;
			}
			.modern-filters .form-select, .modern-filters select, .modern-filters .btn {
				width: 100%;
				margin-right: 0;
				margin-bottom: 0.5rem;
			}
			.modern-table {
				font-size: 0.97rem;
				border-radius: 8px;
			}
			.modern-table th, .modern-table td {
				padding: 0.5rem 0.3rem !important;
				font-size: 0.97rem;
			}
		}

    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: 0.5px;
    padding-left: 0.5px;
    margin-right: auto;
    margin-left: auto;
	max-width: 1340px;
}

.form-control {
  box-shadow: 0 2px 12px 0 #6c757d33 !important;
  border-radius: 14px !important;
  border: 1px solid #e3e6ea !important;
  background: #fff !important;
  transition: box-shadow 0.2s, border-color 0.2s !important;
}
.form-control:focus {
  box-shadow: 0 4px 24px 0 #0d6efd33;
  border-color: #0d6efd;
  background: #f8fafd;
}

select, textarea, input {
  box-shadow: 0 2px 12px 0 #6c757d33 !important;
  border-radius: 20px !important;
  border: none !important;
}

.card {
  box-shadow: 8px 8px 5px 0px #bdbdbdbf !important;
  border-radius: 18px !important;
  transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
}


/* DataTables Pagination Modern Style 
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 12px !important;
  border: 1.5px solid #e3e6ea !important;
  background: #fff !important;
  color: #0d6efd !important;
  margin: 0 2px;
  padding: 6px 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
*/
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #0d6efd !important;
  color: #fff !important;
  border-color: #0d6efd !important;
}
.dataTables_wrapper .dataTables_paginate {
  margin-top: 1rem;
  text-align: center !important;
}




/* Filtros Ordenes de Servicio */
/* Responsividad móvil mejorada */
	@media (max-width: 768px) {
		.modern-filters {
			flex-direction: column !important;
			align-items: stretch !important;
			gap: 0.5rem !important;
		}
		.modern-filters .form-select {
			min-width: auto !important;
		}
		.modern-filters label {
			margin-bottom: 0.25rem !important;
		}
		
		/* Tabla responsiva para móvil */
		#tableOrden {
			font-size: 0.75rem;
		}
		#tableOrden th, #tableOrden td {
			padding: 0.25rem !important;
			word-wrap: break-word;
		}
		
		/* Ocultar columnas menos importantes en móvil */
		#tableOrden th:nth-child(4), 
		#tableOrden td:nth-child(4),
		#tableOrden th:nth-child(6), 
		#tableOrden td:nth-child(6) {
			display: none;
		}
		
		.modern-card {
			margin: 0.5rem;
		}
		
		.container {
			padding: 0;
		}
	}
	
	/* DataTable limpia y moderna */
	#tableOrden_wrapper .dt-buttons {
		margin-bottom: 1rem !important;
		display: flex;
		gap: 0.5rem;
	}
	
	#tableOrden_wrapper .dt-buttons .btn {
		border-radius: 6px;
		padding: 0.375rem 0.75rem;
		font-size: 0.875rem;
		font-weight: 500;
	}
	
	.datatable-filters {
		margin-bottom: 1rem !important;
	}
	
	/* Oculta el campo de búsqueda de DataTable */
	.dataTables_filter {
	    display: none !important;
	}
	
	/* Estilos mejorados para la tabla */
	#tableOrden {
		border-collapse: separate !important;
		border-spacing: 0 !important;
		background: #fff;
		box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
		border-radius: 8px !important;
		overflow: hidden !important;
	}
	

	
	#tableOrden tbody tr {
		background: #fff;
		transition: all 0.2s ease;
	}
	
	#tableOrden tbody tr:hover {
		background: #f8f9fa !important;
		transform: translateY(-1px);
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	}
	
	#tableOrden tbody td {
		padding: 0.875rem 0.75rem !important;
		border-bottom: 1px solid #e9ecef !important;
		border-left: none !important;
		border-right: none !important;
		vertical-align: middle !important;
	}
	
	/* Mejoras para enlaces de teléfono */
	.phone-link {
		color: #6c5ce7;
		text-decoration: none;
		font-weight: 500;
		transition: color 0.2s ease;
	}
	.phone-link:hover {
		color: #5f3dc4;
		text-decoration: none;
	}
	
	/* Estados con colores más visibles */
	.status-late {
		color: #e17055 !important;
		font-weight: 600;
	}
	.status-ontime {
		color: #00b894 !important;
		font-weight: 600;
	}
	
	/* Badges mejorados */
	.badge {
		font-size: 0.75rem !important;
		padding: 0.35rem 0.65rem !important;
		border-radius: 6px !important;
		font-weight: 500 !important;
	}
	
	/* Íconos de estado mejorados */
	.status-icon {
		font-size: 1.1rem;
		padding: 0.25rem;
		border-radius: 50%;
		width: 2rem;
		height: 2rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	
	.status-icon.success {
		background: #d1f2eb;
		color: #00b894;
	}
	
	.status-icon.danger {
		background: #fadbd8;
		color: #e17055;
	}
	
	/* Hacer que la tabla abarque toda la pantalla */
	.container-fluid {
		padding: 0 !important;
		max-width: 100% !important;
	}
	
	.modern-card {
		margin: 0 !important;
		border-radius: 0 !important;
		border: none !important;
		box-shadow: none !important;
	}
	
	.card-body {
		padding: 0.5rem !important;
	}
	
	.table-responsive {
		margin: 0 !important;
		padding: 0 !important;
	}
	
	#tableOrden {
		width: 100% !important;
		margin: 0 !important;
	}
	
	/* Ajustar DataTables para pantalla completa */
	#tableOrden_wrapper {
		width: 100% !important;
		overflow-x: auto;
	}
	
	.dataTables_scroll {
		width: 100% !important;
	}
	
	.dataTables_scrollBody {
		width: 100% !important;
	}
	
	/* Estilos mejorados para elementos DataTable */
	.dataTables_wrapper {
		padding: 1rem !important;
	}
	
	.dataTables_info {
		color: #6c757d !important;
		font-size: 0.875rem !important;
		margin-top: 0.5rem !important;
	}
	
	.dataTables_paginate {
		margin-top: 1rem !important;
	}
	
	.dataTables_length {
		margin-bottom: 1rem !important;
	}
	
	.dataTables_length label {
		display: flex !important;
		align-items: center !important;
		gap: 0.5rem !important;
		font-weight: 500 !important;
		color: #495057 !important;
	}
	
	.dataTables_filter {
		margin-bottom: 1rem !important;
	}
	
	.dataTables_filter label {
		display: flex !important;
		align-items: center !important;
		gap: 0.5rem !important;
		font-weight: 500 !important;
		color: #495057 !important;
	}
	
	.dt-buttons {
		margin-bottom: 1rem !important;
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 0.5rem !important;
	}
	
	/* Animación suave para hover de filas */
	#tableOrden tbody tr {
		transition: all 0.2s ease !important;
	}
	
	/* Paginación mejorada */
	.dataTables_paginate .paginate_button {
		transition: all 0.2s ease !important;
		border-radius: 6px !important;
		margin: 0 2px !important;
	}
	
	.dataTables_paginate .paginate_button:hover {
		background: #0d6efd !important;
		color: white !important;
		border-color: #0d6efd !important;
	}
	
	


  /* Espacio entre botones de DataTable y filtros de búsqueda */
	#tableOrden_wrapper .dt-buttons {
		margin-bottom: 1.2rem !important;
	}
	.datatable-filters {
		margin-bottom: 1.2rem !important;
	}
	/* Oculta el campo de búsqueda de DataTable */
	.dataTables_filter {
	    display: none !important;
	}
	
	/* Estilos para el sistema de filtros avanzado */
	.filter-container {
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
		border: 1px solid #dee2e6;
		border-radius: 12px;
		padding: 0;
		box-shadow: 0 2px 10px rgba(0,0,0,0.05);
		margin-bottom: 1rem;
		overflow: hidden;
	}
	
	.filter-control-bar {
		background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #3f5168 100%);
		color: white;
		border-top-left-radius: 12px;
		border-top-right-radius: 12px;
		border-bottom: 3px solid #1a252f;
		box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
		position: relative;
	}
	
	.filter-control-bar::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 2px;
		background: linear-gradient(90deg, #3498db 0%, #2980b9 50%, #1abc9c 100%);
		border-top-left-radius: 12px;
		border-top-right-radius: 12px;
	}
	
	.filter-control-bar h6 {
		color: #ecf0f1;
		font-weight: 600;
		text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	}
	
	.filter-control-bar .btn {
		background: rgba(52, 152, 219, 0.15);
		border: 1px solid rgba(52, 152, 219, 0.4);
		color: #ecf0f1;
		font-weight: 500;
		backdrop-filter: blur(4px);
		transition: all 0.3s ease;
	}
	
	.filter-control-bar .btn:hover {
		background: rgba(52, 152, 219, 0.25);
		border-color: rgba(52, 152, 219, 0.6);
		color: white;
		transform: translateY(-2px);
		box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
	}
	
	.filter-control-bar .btn:active {
		transform: translateY(0);
		box-shadow: 0 2px 6px rgba(52, 152, 219, 0.2);
	}
	
	.filter-container .row {
		padding: 0.5rem;
		margin: 0;
	}
	
	.filter-container .form-label {
		color: #495057;
		font-weight: 600;
		margin-bottom: 0.5rem;
		font-size: 0.85rem;
		text-transform: uppercase;
		letter-spacing: 0.5px;
	}
	
	.filter-container .form-control,
	.filter-container .form-select {
		border: 2px solid #e9ecef;
		border-radius: 8px;
		background: white;
		transition: all 0.2s ease;
		font-size: 0.9rem;
	}
	
	.filter-container .form-control:focus,
	.filter-container .form-select:focus {
		border-color: #007bff;
		box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.15);
		background: #f8f9ff;
	}
	
	.filter-container .form-control::placeholder {
		color: #6c757d;
		font-style: italic;
	}
	
	.filter-container .btn {
		border-radius: 8px;
		font-weight: 500;
		padding: 0.5rem 1rem;
		transition: all 0.2s ease;
	}
	
	.filter-container .btn:hover {
		transform: translateY(-1px);
		box-shadow: 0 4px 8px rgba(0,0,0,0.15);
	}
	
	.filter-container .btn-outline-secondary:hover {
		background: #6c757d;
		border-color: #6c757d;
	}
	
	.filter-container .btn-outline-primary:hover {
		background: #007bff;
		border-color: #007bff;
	}
	
	/* Animaciones suaves para mostrar/ocultar filtros */
	.filter-container .row {
		transition: all 0.3s ease;
	}
	
	/* Responsive design para filtros */
	@media (max-width: 768px) {
		.filter-container {
			padding: 1rem;
		}
		
		.filter-container .col-md-2,
		.filter-container .col-md-3,
		.filter-container .col-md-4 {
			margin-bottom: 1rem;
		}
		
		.filter-container .d-flex {
			flex-direction: column;
			gap: 0.5rem;
		}
	}
	
	/* Indicador visual de filtros activos */
	.filter-active {
		border-color: #28a745 !important;
		background: #f8fff9 !important;
	}
	
	/* Contador de resultados filtrados */
	.filter-results {
		background: #e7f3ff;
		border: 1px solid #b3d7ff;
		border-radius: 6px;
		padding: 0.5rem 1rem;
		color: #004085;
		font-size: 0.9rem;
		font-weight: 500;
	}

/* ==================== HISTORIAL VIEW STYLES ==================== */

/* KPI Cards reutilizables */
.stats-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #3498db;
  min-height: 130px;
}

.stats-card.success {
  border-left-color: #27ae60;
}

.stats-card.danger {
  border-left-color: #e74c3c;
}

.stats-card.info {
  border-left-color: #3498db;
}

.stats-card.warning {
  border-left-color: #f39c12;
}

.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.stats-icon {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #3498db;
  background: rgba(52, 152, 219, 0.1);
}

.stats-card.success .stats-icon {
  color: #27ae60;
  background: rgba(39, 174, 96, 0.1);
}

.stats-card.danger .stats-icon {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.stats-card.info .stats-icon {
  color: #3498db;
  background: rgba(52, 152, 219, 0.1);
}

.stats-card.warning .stats-icon {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.1);
}

.stats-value {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
  line-height: 1;
}

.stats-label {
  color: #2c3e50;
  font-size: 15px;
  opacity: 0.8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Page Header reutilizable */
.page-header {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.page-header h1 {
  margin: 0;
  color: #2c3e50;
  font-weight: 700;
  font-size: 28px;
}

/* Page Header con producto */
.product-name-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

/* Breadcrumb moderno */
.breadcrumb-modern {
  background: white;
  padding: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin: 0;
}

.breadcrumb-modern .breadcrumb-item a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-modern .breadcrumb-item a:hover {
  color: #2980b9;
}

.breadcrumb-modern .breadcrumb-item.active {
  color: #6c757d;
}

/* Table modern reutilizable */
.table-modern {
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  overflow: hidden;
}

.table-modern thead th {
  background: #2c3e50;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  padding: 15px 12px;
  border: none;
  border-bottom: 2px solid #3498db;
}

.table-modern tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid #ecf0f1;
}

.table-modern tbody tr:hover {
  background: #f8f9fa;
  transform: scale(1.005);
}

.table-modern tbody td {
  padding: 14px 12px;
  vertical-align: middle;
}

/* Quantity Badge */
.quantity-badge {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
}

/* Date Badge */
.date-badge {
  color: #6c757d;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Badges de entrada/salida */
.badge-entrada {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.3);
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-salida {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Botón de eliminar */
.btn-delete {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-delete:hover {
  background: #e74c3c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state-icon {
  font-size: 72px;
  color: #bdc3c7;
  margin-bottom: 20px;
}

.empty-state h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 10px;
}

.empty-state p {
  color: #7f8c8d;
  font-size: 15px;
}

/* Table hover con scale effect */
.table-modern tbody tr:hover {
  background: #f8f9fa;
  transform: scale(1.005);
}

/* ========== CLASES COMPARTIDAS PARA BOTONES MODERNOS ========== */

/* Botón Moderno (compartido) */
.btn-modern {
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ========== CLASES COMPARTIDAS PARA NAV TABS ========== */

/* Nav Tabs Modernos (compartido) */
.nav-tabs {
  border-bottom: 2px solid #e1e8ed;
}

.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #6c757d;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-color: transparent;
  color: #3498db;
  background: rgba(52, 152, 219, 0.05);
}

.nav-tabs .nav-link.active {
  color: #3498db;
  background: transparent;
  border-color: transparent transparent #3498db transparent;
}

/* ==================== MODALES PERSONALIZADOS GLOBALES ==================== */

/* Modal personalizado (reutilizable en toda la app) */
.custom-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	padding: 15px;
}

.custom-modal.active {
	display: flex !important;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease-in-out;
}

.modal-dialog-custom {
	background-color: #fff;
	margin: auto;
	border-radius: 12px;
	width: 100%;
	max-width: 600px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: slideDown 0.3s ease-in-out;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
}

.custom-modal.modal-lg .modal-dialog-custom {
	max-width: 900px;
}

.modal-header-custom {
	padding: 20px 25px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border-radius: 12px 12px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header-custom h4 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
}

.btn-close-custom {
	background: transparent;
	border: none;
	color: white;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.btn-close-custom:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg);
}

.modal-body-custom {
	padding: 25px;
	overflow-y: auto;
	flex: 1;
}

.modal-footer-custom {
	padding: 15px 25px;
	background-color: #f8f9fa;
	border-radius: 0 0 12px 12px;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideDown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* ==================== BADGES REUTILIZABLES ==================== */

/* Código de barras estilo */
.barcode-code {
	background: #ecf0f1;
	color: #2c3e50;
	padding: 6px 12px;
	border-radius: 6px;
	border: 1px solid #bdc3c7;
	font-family: 'Courier New', monospace;
	font-weight: 600;
	font-size: 0.9rem;
	display: inline-block;
}

/* Iconos de almacén con estilo */
.warehouse-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
}

.warehouse-icon.origin {
	background: rgba(220, 53, 69, 0.1);
	color: #dc3545;
}

.warehouse-icon.destination {
	background: rgba(40, 167, 69, 0.1);
	color: #28a745;
}

/* Quantity Badge */
.quantity-badge {
	background: rgba(52, 152, 219, 0.1);
	color: #3498db;
	padding: 6px 12px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 16px;
	display: inline-block;
}

/* ==================== TABLAS MODERNAS GLOBALES ==================== */

/* Tabla moderna reutilizable con gradiente */
.table-gradient thead {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.table-gradient thead th {
	padding: 15px 12px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
	border: none;
	vertical-align: middle;
}

.table-gradient tbody tr {
	transition: all 0.3s ease;
	border-bottom: 1px solid #e9ecef;
}

.table-gradient tbody tr:hover {
	background: linear-gradient(to right, #f8f9fa, #ffffff);
	transform: scale(1.01);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table-gradient tbody td {
	padding: 15px 12px;
	vertical-align: middle;
	border: none;
}

/* ==================== ANIMACIONES GLOBALES ==================== */

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.pulse-hover:hover {
	animation: pulse 0.5s ease-in-out;
}

/* ==================== RESPONSIVE GLOBAL PARA MODALES ==================== */

@media (max-width: 768px) {
	.modal-dialog-custom {
		max-width: 95%;
		margin: 10px auto;
	}
	
	.custom-modal {
		padding: 10px;
	}
}

/* ==================== ESTILOS ESPECÍFICOS PARA TRANSFER ==================== */

/* Tabla de Transferencias con gradiente púrpura */
#tableTransfers {
	margin-top: 20px;
	border-collapse: separate;
	border-spacing: 0;
}

#tableTransfers thead {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

#tableTransfers thead th {
	padding: 15px 12px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
	border: none;
	vertical-align: middle;
}

#tableTransfers tbody tr {
	transition: all 0.3s ease;
	border-bottom: 1px solid #e9ecef;
}

#tableTransfers tbody tr:hover {
	background: linear-gradient(to right, #f8f9fa, #ffffff);
	transform: scale(1.01);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#tableTransfers tbody td {
	padding: 15px 12px;
	vertical-align: middle;
	border: none;
}

/* Badge de cantidad específico para Transfer */
.quantity-badge {
	background: rgba(52, 152, 219, 0.1);
	color: #3498db;
	padding: 6px 12px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 16px;
	display: inline-block;
}

/* Hover badge con animación pulse */
.badge.pulse-hover:hover {
	animation: pulse 0.5s ease-in-out;
}

/* Responsive para tabla Transfer */
@media (max-width: 768px) {
	#tableTransfers {
		font-size: 0.85rem;
	}
	
	#tableTransfers thead th,
	#tableTransfers tbody td {
		padding: 10px 8px;
	}
}

/* ==================== MEJORAS GLOBALES DE FORMULARIOS ==================== */

.form-label {
	font-weight: 600;
	color: #495057;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.form-select, .form-control {
	border: 2px solid #e9ecef;
	border-radius: 8px;
	padding: 10px 15px;
	transition: all 0.3s ease;
}

.form-select:focus, .form-control:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.form-floating {
	position: relative;
}

.form-floating input {
	padding: 15px 15px;
}

.form-floating label {
	padding: 15px 15px;
}

/* ==================== MEJORAS GLOBALES DE BOTONES ==================== */

/* Botones de acción con hover suave */
.btn-link {
	transition: all 0.3s ease;
	padding: 8px;
	border-radius: 6px;
}

.btn-link:hover {
	background: rgba(0, 0, 0, 0.05);
	transform: scale(1.1);
}

.btn-link i {
	transition: all 0.3s ease;
}

.btn-link:hover i.fa-edit {
	color: #0056b3 !important;
}

.btn-link:hover i.fa-trash {
	color: #c82333 !important;
}

/* Mejoras en botón secundario */
.btn-secondary {
	background: #6c757d !important;
	border: none !important;
	padding: 10px 20px;
	border-radius: 8px !important;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-secondary:hover {
	background: #5a6268 !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Mejoras en botón primario con gradiente */
.btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
	border: none !important;
	padding: 10px 20px;
	border-radius: 8px !important;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ==================== MEJORAS GLOBALES DE ALERTAS ==================== */

.alert {
	border-radius: 10px;
	border: none;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.alert-info {
	background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
	color: #0c5460;
	border-left: 4px solid #17a2b8;
}

.alert-warning {
	background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
	color: #856404;
	border-left: 4px solid #ffc107;
}

/* ==================== BADGE MEJORADO CON GRADIENTE ==================== */

.badge.bg-info {
	background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
	box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
	padding: 8px 14px;
	border-radius: 20px;
	font-weight: 500;
	font-size: 0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
