#cl_tipo_servicio, #cl_adicional,
#cl_telefono,#cl_empresa,#cl_cutoff_datetime{
	width: 400px!important;
	padding: 1rem 1.5rem;
	border: none;
	border-radius: 3px;
	font-family: inherit;
	background-color: gray!important;
	color: white!important;
	display: block;
	margin: .5rem 0;
}
#cl-embarque-guias input, #cl-embarque-guias select,
#cl-embarque-peso input, #cl-embarque-peso select{
	width:100%;
	padding: 1rem 1.5rem;
	margin:.5rem 0;
	border: none;
	border-radius: 3px;
	font-family: inherit;
	background-color: gray!important;
	color: white!important;
}
.fecha-hora{
	width: 100%;
	padding: 1rem 1.5rem;
	border: none;
	border-radius: 3px;
	font-family: inherit;
	background-color: gray!important;
	color: white!important;
}
#cl-embarque-guias button,
#cl-embarque-peso button{
	padding: 1rem 1.5rem;
	border: none;
	border-radius: 3px;
	font-family: inherit;
	background-color: #fc0a01!important;
	color: white!important;
}
#cl-embarque-guias input::placeholder,
#cl-embarque-peso input::placeholder,
.fecha-hora::placeholder,
#cl_telefono::placeholder,#cl_empresa::placeholder{
	color: white!important;
}
.cl-guia-row { display:flex; gap:.5rem; margin-bottom:.5rem; }
.cl-btn      { background:#d41616; color:#fff; cursor:pointer; }
.cl-btn:hover{ background:#a50e0e; }

#cl-embarque-guias h4 { margin-bottom: .5rem; font-size: 1rem; }
#cl-guias-counter { font-weight: 600; }
#cl-embarque-guias .cl-guia-row { margin-bottom:.5rem; gap:.5rem; display:flex; flex-wrap:wrap; }
#cl-embarque-guias .cl-guia-row > * { flex:1 1 150px; }

#cl-submit{
	width:400px;
	border:none;
	margin:0 auto;
	padding:1rem 2rem;
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	font-size: 1.25rem;
}
.cl-btn-logout{
	width: 400px !important;
	border:none;
	margin:0 auto;
	padding:1rem 2rem;
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	font-size: 1.25rem;
	background-color: #FC0A01!important;
	color: white!important;
}

/* Estilo general de la tabla */
.cl-table-detalle {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.cl-table-detalle th,
.cl-table-detalle td {
  padding: 12px 15px;
  text-align: left;
}

.cl-table-detalle th {
  background-color: #FC0A01;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  max-width: 200px;
}

.cl-table-detalle td {
  background-color: #ffffff;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.cl-table-detalle tr:hover td {
  background-color: #f1f5fd;
}

/* Estilos barra de búsqueda y filtros Dashboard */
#cl-search,
#cl-filter-servicio,
#cl-export-from,
#cl-export-to{
    width: 250px!important;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    background-color: #e5e7eb!important;
    color: #111!important;
    margin: .25rem .5rem;
}

/* Botones estilos */
button.cl-btn, .cl-btn {
  background-color: #FC0A01;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 15px;
  font-weight: 500;
}

button.cl-btn:hover, .cl-btn:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

button.cl-btn:active, .cl-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.cl-btn-ver, .cl-btn-delete{
	padding: 5px 9px!important;
	font-size: 1rem!important;
}
/* Contenedor principal para tablas y elementos */
.cl-container {
  background-color: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

/* Encabezados claros y destacados */
.cl-h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #111827;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}
#cl-step4-cutoff { display: none; }

/* === Tags de adicionales === */
.cl-tag-wrap{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;}
.cl-tag{display:inline-flex;align-items:center;background:#e5e7eb;color:#111;border-radius:12px;padding:2px 8px;font-size:.875rem;}
.cl-tag button{margin-left:6px;background:none;border:none;color:#555;cursor:pointer;font-weight:bold;}
.cl-tag button:hover{color:#000;}

/* ===== Modal genérico ===== */
.cl-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);display:none;align-items:center;justify-content:center;z-index:9999;}
.cl-modal-inner{background:#fff;padding:20px;border-radius:4px;max-width:90%;box-shadow:0 4px 12px rgba(0,0,0,.3);position:relative;}
.cl-modal-inner h3{margin-top:0;}
.cl-modal-inner button.cl-btn{align-self:flex-end;}

/* Estilos FullCalendar */
.fc-button{
	padding: 0.25rem!important;
	font-size: 1rem!important;
}
.fc-header-toolbar .fc-toolbar-title{
	font-size: 1.25rem!important;
}
.fc-col-header-cell a{
	font-size:1rem!important;
}
.cl-subtable th{
    padding: .5rem;
    border-radius: 3px
}

/* --- Centrar modal --- */
#cl-modal{
    display:none;              /* se muestra con JS */
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:9999;
    display:flex;              /* centra contenido */
    align-items:center;
    justify-content:center;
}
#cl-modal .cl-modal-box{
    margin:auto !important;    /* sobrescribe inline */ }

/* ================= Cut-off label (FullCalendar) ================= */
/* Banner superior de Cut-off */
#cl-cutoff-banner{
    background:#FC0A01;
    color:#fff;
    font-weight:600;
    text-align:center;
    padding:6px 10px;
    border-radius:4px;
    margin:6px 0;
}
.cutoff-label{
    background:#FC0A01!important;
    color:#fff!important;
    border:none!important;
    font-weight:700;
    padding:2px 6px;
    border-radius:4px;
    font-size:0.85rem;
    cursor:default;
}
.cutoff-label .fc-event-title{
    color:#fff!important;
}