/* Botón ToDo Modal */
.btn-todo-modal {
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 6px;
}

.btn-todo-modal:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 107, 107, 0.5);
}

.btn-todo-modal:active {
	transform: translateY(0);
}

/* ToDo Modal Styles */
#todo-modal {
	display: none;
	position: fixed;
	top: 100px;
	left: 100px;
	width: 350px;
	min-width: 200px;
	min-height: 180px;
	max-width: 90vw;
	max-height: 90vh;
	background: #fff;
	border: 2px solid var(--btn-primary);
	border-radius: 8px;
	z-index: 9999;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2);
	resize: both;
	overflow: auto;
}
#todo-modal-header {
	cursor: move;
	background: var(--btn-primary);
	color: #fff;
	padding: 8px 12px;
	border-radius: 8px 8px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}
#todo-modal-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
}
#todo-modal-content {
	padding: 16px;
}
#todo-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
#todo-list li {
	margin-bottom: 8px;
	display: flex;
	align-items: center;
}
#todo-list li input[type="checkbox"] {
	margin-right: 8px;
}
#todo-add-form {
	display: flex;
	margin-top: 12px;
}
#todo-add-form input {
	flex: 1;
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
#todo-add-form button {
	margin-left: 8px;
	padding: 4px 12px;
	background: var(--btn-primary);
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
@charset "UTF-8"; /* Set the encoding of the style sheet to Unicode UTF-8 */

:root {
	--primary: #0097fc;
	--secundary: #fe2290;
	--tertiary: #ffff00;
	--bg-general: rgba(255,255,255,1);
	--btn-primary: #0097fc;
	--btn-primary-hover: #fe2290;
	--btn-second: rgba(0,74,152,1);
	--btn-second-hover: rgba(0,74,152,.8);
	--bg-institucional: rgba(33,41,44,1);
	--bg-forms: #363636;
	--text-form: antiquewhite;
}

@font-face {
	font-family: kodakku;
	src: url(../fonts/kodakku.ttf);
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.disclaimer{
	display: none;
}
img[src*="https://cdn.000webhost.com/000webhost/logo/footer-powered-by-000webhost-white2.png"] {
	display: none;
}
html, body {
	height: 100vh;
}
body{
	font-family: Arial, sans-serif;
	font-weight: normal;
	line-height: 1.42857143;
	color: #333;
	background-color: var(--bg-forms);
}
header{
	max-height: 120px;
	display: grid;
	grid-template-columns: 30% 45% 25%;
	box-sizing: content-box;
	background-color: var(--bg-institucional);
}
a, button{
	cursor: pointer;
}
.select2{
	width: 100% !important;
}
.logo-login{
	width: 100%;
}
.main-default{
	display: grid;
	justify-content: center;
	padding-top: 20px;
}
.btn-second{
	width: 100px;
	display: block;
	border-radius: 5px;
	color: white;
	background-color: var(--btn-primary);
	border: none;
}
.btn-second:hover{
	color: #000;
	background-color: var(--tertiary);
}
.wrap {
  white-space: nowrap;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**=============================================== HEADER ================================================
*/
.header-logo{
	display: grid;
    grid-template-columns: 12% 88%;
    gap: 2px;
    justify-content: center;
    align-items: center;
}
.header-logo img{
	width: 100%;
	justify-self: center;
}
.logo{
	font-size: 3rem;
	font-family: kodakku;
	font-weight: 300;
	color: #fff;
	letter-spacing: .1rem;
}
.header-titulos{
	display: grid;
	align-items: end;
	justify-content: center;
}
.header-titulos ul{
	display: inline-block;
	list-style: none;
}
.header-titulos ul li{
	float: left;
	margin: 0 10px;
}
.header-titulos ul li h4 a{
	color: #fff;
	text-decoration: none;
}
.header-titulos ul li h4 a:hover{
	color: var(--secundary);
}
.header-botones{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 15px;
}
.header-botones h4{
	color: #fff;
}
.cerrar-sesion i{
	color: #fff !important;
}
.cerrar-sesion i:hover{
	color: var(--secundary) !important;
}
.border{
	width: 100%;
	height: 5px;
	background: linear-gradient(120deg, var(--tertiary) 0%, var(--secundary) 100%);
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**================================================ LOGIN ================================================
*/
.logo-login{
	width: 60%;
	max-height: 200px;
}
.body-login{
	background-color: var(--bg-institucional);
	overflow: hidden;
}
.login-box{
	width: 360px;
	margin: 7% auto;
}
.login-header{
	font-size: 35px;
	text-align: center;
	font-weight: 300;
}
.login-header>a{
	color: #444;
	text-decoration: none;
}
.login-body{
	background-color: var(--bg-forms);
	padding: 20px;
	border-top: 0;
	color: #666;
}
.login-msg{
	margin: 0;
	text-align: center;
	padding: 0 20px 0px 20px;
	color: var(--text-form);
}
#form-login{
	color: #666;
}
.form-group{
	margin-bottom: 15px;
	position: relative;
}
.form-control{
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	border: 1px solid #ccc;
	border-radius: 0;
	box-shadow: none;
	border-color: #d2d6de;
}
textarea{
	height: auto !important;
}
textarea:focus, input:focus{
	outline: none;
}
.form-control-feedback {
	width: 34px;
	height: 34px;
	color: #777;
	line-height: 34px !important;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	text-align: center;
	pointer-events: none;
}
.col-xs-4, .col-xs-8 {
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}
.col-xs-8 {
	width: 66.66666667%;
}
.col-xs-4 {
	width: 33.33333333%;
}
.row {
	margin-right: -15px;
	margin-left: -15px;
}
.row:after, .row:before {
	display: table;
	content: " ";
}
.row:after {
	clear: both;
}
.btn-block {
	display: block;
	width: 100%;
}
.btn{
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	user-select: none;
	background-image: none;
	text-decoration: none;
}

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**============================================== DASHBOARD ==============================================
*/
#buttons-sections{
	display: flex;
	flex-direction: column;
	position: fixed;
	gap: 12px;
	top: 25%;
	left: 10px;
	width: 25px;
}
#buttons-sections>li>a{
	position: relative;
	display: block;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	text-align: center;
	text-decoration: none;
	color: black;
}
.main-dashboard{
	width: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
main>.group-orders, .forms{
	width: 90%;
	align-self: center;
}
.forms{
	background-color: white;
	margin: 20px 0px;
	padding: 20px;
}
main>.group-orders>section{
	background-color: white;
	margin: 20px 0px;
	padding: 0px 0px 15px 0px;
	border-radius: 10px;
}
main>.group-orders>section>form{
	padding: 0px 15px;
}
.column{
	width: 100%;
	display: grid;
	gap: 20px;
}
.two-columns{
	grid-template-columns: repeat(2, 1fr);
}
.three-columns{
	grid-template-columns: repeat(3, 1fr);
}
.four-columns{
	grid-template-columns: repeat(4, 1fr);
}
.four-columns-item-order{
	grid-template-columns: 9% 60% 15% 10%;
}
.five-columns-item-order{
	grid-template-columns: 10% 55% 10% 10% 3%;
}
.table-template{
	width: 100% !important;
}
.option-Anulado{
	font-weight: bold;
	background-color: #de0000;
	color: #fff;
}
.option-Entregado{
	font-weight: bold;
	background-color: #00c100;
}
.option-Avisar{
	font-weight: bold;
	background-color: lightgreen;
}
.option-Impreso{
	font-weight: bold;
	background-color: yellowgreen;
}
.option-Confirmado{
	font-weight: bold;
	background-color: #ff6700;
}
.option-Diseñado{
	font-weight: bold;
	background-color: orange;
}
.option-Pendiente{
	font-weight: bold;
	background-color: yellow;
}
select>option{
	background-color: #eee;
}
button:hover{
	background-color: var(--secundary);  
}

/* ===================================
   VIEW TOGGLE - Botón cambio de vista
   =================================== */
.view-toggle-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 6px;
}

.view-toggle-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.5);
}

.view-toggle-btn:active {
	transform: translateY(0);
}

.view-toggle-btn i {
	font-size: 16px;
}

.view-label {
	font-size: 12px;
	letter-spacing: 0.3px;
}

/* Botón de Todos los pedidos */
.btn-all-orders {
	background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 6px;
}

.btn-all-orders:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(76, 175, 80, 0.5);
	text-decoration: none;
}

.btn-all-orders:active {
	transform: translateY(0);
}

.btn-all-orders i {
	font-size: 16px;
}

/* Contenedores de vistas */
.view-container {
	animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Ajustar ancho de tablas al 90% */
.group-orders {
	width: 90%;
	margin: 0 auto;
}

.tables-section {
	width: 90%;
	margin: 0 auto;
}

.tables-section section {
	background-color: white;
	margin: 20px 0px;
	padding: 0px 0px 15px 0px;
	border-radius: 10px;
}

.group-orders section {
	background-color: white;
	margin: 20px 0px;
	padding: 0px 0px 15px 0px;
	border-radius: 10px;
}

/* ===================================
   TRACKING TITLE - Título de la sección
   =================================== */
.tracking-title {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 15px 20px;
	border-radius: 8px 8px 0 0;
	margin: 0;
	box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
	display: flex;
	align-items: center;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 1.5px;
}

.tracking-title i {
	margin-right: 12px;
	font-size: 24px;
	opacity: 0.95;
}

/* ===================================
   TRACKING TABS - Botones de estado
   =================================== */
.tracking-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 0;
	padding: 0;
	background: transparent;
	border-bottom: 3px solid #ddd;
}

.tracking-tab {
	padding: 12px 24px;
	border: none;
	border-radius: 8px 8px 0 0;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: none;
	background: #e8e8e8;
	color: #666;
	border-color: transparent;
	margin-right: 3px;
	position: relative;
	top: 3px;
}

.tracking-tab:hover {
	background: #d0d0d0;
	transform: translateY(-2px);
	top: 1px;
}

.tracking-tab.active {
	transform: translateY(0);
	top: 3px;
	box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
	border-bottom: 3px solid;
}

/* Botón "Todos" activo - Morado */
.tracking-tab.active {
	background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
	color: white;
	border-bottom-color: #764ba2;
}

/* Pendientes - Amarillo */
.tracking-tab.option-Pendiente.active {
	background: linear-gradient(180deg, #f6d365 0%, #fda085 100%);
	color: #333;
	border-bottom-color: #fda085;
}

/* Diseñados - Naranja */
.tracking-tab.option-Diseñado.active {
	background: linear-gradient(180deg, #fa709a 0%, #fee140 100%);
	color: #333;
	border-bottom-color: #fee140;
}

/* Confirmados - Naranja oscuro */
.tracking-tab.option-Confirmado.active {
	background: linear-gradient(180deg, #ff9068 0%, #fd746c 100%);
	color: white;
	border-bottom-color: #fd746c;
}

/* Impresos - Verde amarillento */
.tracking-tab.option-Impreso.active {
	background: linear-gradient(180deg, #a8e063 0%, #56ab2f 100%);
	color: white;
	border-bottom-color: #56ab2f;
}

/* Avisar - Verde claro */
.tracking-tab.option-Avisar.active {
	background: linear-gradient(180deg, #84fab0 0%, #8fd3f4 100%);
	color: #333;
	border-bottom-color: #8fd3f4;
}

/* Entregados - Verde */
.tracking-tab.option-Entregado.active {
	background: linear-gradient(180deg, #00b09b 0%, #96c93d 100%);
	color: white;
	border-bottom-color: #96c93d;
}

/* Anulados - Rojo */
.tracking-tab.option-Anulado.active {
	background: linear-gradient(180deg, #eb3349 0%, #f45c43 100%);
	color: white;
	border-bottom-color: #f45c43;
}

/* Badge de notificación en pestañas */
.tab-badge {
	position: absolute;
	top: -8px;
	right: -8px;
	background: #d00;
	color: #fff;
	border-radius: 50%;
	font-size: 11px;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	padding: 0 6px;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
	animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

.tracking-tab {
	position: relative; /* Necesario para posicionar el badge */
}

/* Responsive para tabs */
@media (max-width: 768px) {
	.tracking-tabs {
		justify-content: center;
	}
	
	.tracking-tab {
		padding: 10px 15px;
		font-size: 11px;
		flex: 1 1 auto;
		min-width: 90px;
	}
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**============================================== USUARIOS ===============================================
*/
.main-user{
	display: flex;
	justify-content: center;
	padding: 20px 0;
}
.user-content{
	width: 60%;
}
.btn-primary{
	padding: 5px 10px;
	display: block;
	text-align: center;
	border-radius: 5px;
	font-weight: bold;
	color: white;
	background-color: var(--btn-primary);
	border: none;
}
.btn-primary:hover{
	background-color: var(--btn-primary-hover);
}
.btns-form{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.cancelar-form{
	padding: 5px 10px;
	background-color: #dbdbdb !important;
	color: #222 !important;
	border: 1px solid #bdbdbd !important;
	border-radius: 5px;
	text-align: center;
	font-weight: normal;
	box-shadow: none;
	outline: none;
	cursor: pointer;
	transition: background 0.2s;
}
.cancelar-form:hover {
	background-color: #c2c2c2 !important;
	color: #111 !important;
}
#list_table{
	display: flex;
	justify-content: center;
}

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**=============================================== SWITCHS ===============================================
*/
.switch {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 16px;
}

.switch input { 
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
  background-color: #08f500;
}

input:focus + .slider {
  box-shadow: 0 0 1px #08f500;
}

input:checked + .slider:before {
  -webkit-transform: translateX(15px);
  -ms-transform: translateX(15px);
  transform: translateX(15px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 10px;
}

.slider.round:before {
	border-radius: 50%;
}

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**============================================ NOTIFICATIONS ============================================
*/
.table-notification{
	position: absolute;
	right: 0;
	top: 0;
	color: rgb(255, 255, 255);
	font-size: .8rem;
	font-weight: bold;
	text-shadow:
            1px 1px 0 var(--secundary),
            -1px 1px 0 var(--secundary),
            1px -1px 0 var(--secundary),
            -1px -1px 0 var(--secundary),
            2px 0 0 var(--secundary),
            -2px 0 0 var(--secundary),
            0 2px 0 var(--secundary),
            0 -2px 0 var(--secundary);
}

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**============================================ VIEWPORT MEDIA QUERIES ============================================
*/
/* Oculta el menú y muestra el botón hamburguesa en pantallas pequeñas */
@media (max-width: 1500px) {
    .header-titulos ul {
        display: none;
        flex-direction: column;
        background: var(--bg-institucional);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        z-index: 1000;
		align-items: center;
    }
    .header-titulos ul.menu-open {
        display: flex;
    }
    .menu-toggle {
        display: inline-block;
        background: none;
        border: none;
        font-size: 2em;
        color: #ffffff;
        cursor: pointer;
        margin-left: 20px;
    }
}
@media (min-width: 1500px) {
    .menu-toggle {
        display: none;
    }
    .header-titulos ul {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        flex-direction: row;
    }
}

.bg-anulado      { background: #de0000; color: #fff; padding-top: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.bg-entregado    { background: #00c100; color: #fff; padding-top: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.bg-avisar       { background: lightgreen; color: #333; padding-top: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.bg-impreso      { background: yellowgreen; color: #fff; padding-top: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.bg-confirmado   { background: #ff6700; color: #fff; padding-top: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.bg-diseñado     { background: orange; color: #fff; padding-top: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.bg-pendiente    { background: yellow; color: #333; padding-top: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; }