/*-------------------------------------------------------------------*/
/* Custom styles for sidebar
/*-------------------------------------------------------------------*/

/* Bulletproof override even if template has bg-light */
#app-sidebar,
#app-sidebar.sidebar,
#app-sidebar.bg-light,
aside.sidebar,
aside.sidebar.bg-light {
	background-color: #00002f !important;  /* dark navy */
	/*color: #ffeb3b !important;						 /* yellow text */
	color: yellow;						 /* yellow text */
	border-right: 1px solid rgba(255,255,255,.2);
}

/* Core box */
aside.sidebar {
	position: sticky;			 /* stays visible while scrolling */
	top: 0;
	height: 100vh;				 /* full viewport height */
	overflow-y: auto;			 /* its own scroll */
	padding: 0.75rem 1rem;
}

/* Text of user info: username (pais) */
aside.sidebar li.mb-2 .text-muted.small.d-block {
	color: #fff176 !important; /* Lighter yellow on hover */
	text-align: center;
}

/* Separator line */
.sidebar-separator {
	border: none;
	border-top: 1px solid #ffeb3b; /* yellow line on dark bg */
	margin: 10px 0;
}

/* Reset list spacing */
aside.sidebar li.nav-item { 
	margin: -4px 0px; 
	padding: 1px 4px; 
}

/* LINKS — make them yellow */
aside.sidebar a,
aside.sidebar .nav-link {
	/*color: #ffeb3b;									/* yellow */
	color: cyan;						 /* yellow text */
	display: block;
	padding: .25rem 0;
	text-decoration: none;
}
aside.sidebar a:hover,
aside.sidebar .nav-link:hover {
	color: #fff176;									/* lighter yellow on hover */
	text-decoration: underline;
}
aside.sidebar .nav-link.active {
	color: #fffde7;									/* pale yellow for active */
	font-weight: 600;
	text-decoration: underline;
}

/* Nested list indent (Bootstrap 4 uses ml-3; BS5 uses ms-3) */
aside.sidebar .ml-3 { 
	margin-left: 1rem !important; 
}
aside.sidebar .ms-3 { 
	margin-left: 1rem !important; 
}

/* Full-width small buttons (logout) */
aside.sidebar .btn-block { width: 100%; }

/* Optional: prevent double arrows if you add icons later */
aside.sidebar .nav-link .icon {
	width: 1.25rem;
	display: inline-block;
}

/* Slimmer scrollbar (WebKit) */
aside.sidebar::-webkit-scrollbar { width: 8px; }
aside.sidebar::-webkit-scrollbar-thumb {
	background: #c7c7c7;
	border-radius: 4px;
}

/*------------------------------------------------------------------*/
/* Custom styles for actions buttons */
/*------------------------------------------------------------------*/
.pdf-icon {
    background-color: #f8f9fa;
    padding: 0px;
    border-radius: 3px;
    border: 1px solid #dee2e6;
}

.pdf-original {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.pdf-copia {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.pdf-paquete {
    color: #9b59b6;
	background-color: #9BFF9b;
}

.delete-btn {
	color: yellow;
	background-color: red;
}

.delete-icon {
    padding: 0px;
    border-radius: 2px;
}

.detail-icon {
    color: white;
    padding: 0px;
    border-radius: 3px;
}

/* Reduce button padding */
.btn-group-sm .btn {
    padding: 0.15rem 0.3rem !important;
    line-height: 1;
}

/* Reduce icon size and remove extra spacing */
.btn-group-sm .btn .bi {
    font-size: 0.9rem;
    padding: 2px;
    display: block;
}

/* Ensure the button group doesn't add extra height */
.btn-group-sm {
    line-height: 1;
    height: auto;
}

/* Target the specific table row */
.table tbody tr td {
    padding: 0.3rem 0.5rem !important;
    vertical-align: middle;
}

/*------------------------------------------------------------------*/
/* Custom styles for document buttons */
/*------------------------------------------------------------------*/
#boton_guardar:enabled {
  background-color: #FFFF00;
  color: black;
}
#boton_pdf_original:enabled {
  background-color: #FAAAA0;
  color: black;
}

#boton_pdf_copia:enabled {
  background-color: #F0FFFF;
  color: black;
}

#boton_clonar:enabled {
  background-color: #ADD8E6;
  color: black;
}		

#boton_pdf_paquete:enabled {
  background-color: #9BFF9b;
  color: black;
}		

#boton_detalle:enabled {
  background-color: #FFFF9b;
  color: black;
}		


