@charset "utf-8";
/* CSS Document */
:root {
        --sidebar-width: 200px;
        --sidebar-bg: #1a1c23;
        --nav-item-hover: rgba(255,255,255,0.05);
        --accent-color: #4f46e5;
    }
.app-dashboard-body{
	margin: 0;
	padding: 0;
}
.dashboard-main-container { padding:0px; }

.dashboard-wrapper {
	display: flex;
	position: relative;
	min-height: 100vh;
}
.sidebar-brand {
	padding: 0;       
	align-items: center;       
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-logo {
	width: 90%;
	height: auto;   
	margin: auto;
}

.brand-name {
	text-align: center;
	font-weight: 400;
	font-size: 1.2rem;
}


/* Acordeón Logic */
.nav-group { margin-bottom: 4px; }

.nav-item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	cursor: pointer;
	transition: background 0.2s;
	color: rgba(255,255,255,0.8);
	text-decoration: none;
}

.nav-item-header:hover { 
	background: var(--nav-item-hover); 
	color: white; 
}

.nav-item-header.active {
        background-color: #eef2ff;
        border-right: 3px solid #2563eb;
        color: #2563eb;
    }

.nav-label { display: flex; align-items: center; gap: 10px; }

.arrow-icon { 
	transition: transform 0.3s ease; 
	font-size: 0.8rem;
	opacity: 0.5;
}

.nav-group.active .arrow-icon { transform: rotate(180deg); }

.sub-menu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	background: rgba(0,0,0,0.2);
}

.nav-group.active .sub-menu { max-height: 500px; }

.sub-nav-item {
	display: block;
	padding: 10px 20px 10px 45px;
	color: rgba(255,255,255,0.6);
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.2s;
}

.sub-nav-item:hover { color: white; background: var(--nav-item-hover); }

.sub-nav-item.active {
        color: #eef2ff;
    }
.nav-item.logout {
    margin-top: auto;
    color: #f87171;
}

.nav-spacer { flex: 1; }

/* Content Styling */


.dashboard-content {
	margin-left: var(--sidebar-width);
	flex: 1;
	width: calc(100% - var(--sidebar-width));
	transition: all 0.3s ease;
	min-height: 70vh;
}
.content-body{
	min-height: 50vh;
	padding: 0.75rem;

}
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}


.mobile-header {
	display: none;
	background: white;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 0;
	z-index: 900;
}

.menu-toggle {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
}


 @media (max-width: 992px) {
	.dashboard-sidebar {
		left: calc(-1 * var(--sidebar-width));
	}
	.dashboard-sidebar.show {
		left: 0;
	}
	.dashboard-content {
		margin-left: 0;
		width: 100%;

	}
	.mobile-header {
		display: flex;
	}
	.sidebar-overlay {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,0.5);
		z-index: 999;
	}
	.sidebar-overlay.show { display: block; }
}



/* Contenedor principal del footer */
.dashboard-footer {
    border-top: 1px solid #eee;
    padding: 10px;
    margin-top: auto; /* Empuja el footer al final del contenedor flex */
    width: calc(100% - 20px);
    background-color: #fff; /* Opcional: asegura que no sea transparente */
}

/* Fila superior con info y contacto */
.footer-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

/* Bloque de identidad del cliente */
.footer-client-info {
    max-width: 400px;
}

.footer-client-name {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
}

.footer-client-address {
    margin: 5px 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Bloque de metadatos de contacto */
.footer-contact-group {
    display: flex;
    gap: 30px;
}

.contact-item {
    font-size: 0.85rem;
}

.contact-label {
    display: block;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.contact-text {
    color: #333;
}

/* Fila de copyright inferior */
.footer-copyright {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px dashed #f0f0f0;
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
}


