
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root{
    --clr-primary:#7380ec;
    --clr-danger:#ff7782;
    --clr-success:#41f1b6;
    --clr-white:#fff;
    --clr-info-dark:#7d8da1;
    --clr-info-light:#dce1eb;
    --clr-dark:#363949;
    --clr-warning:#ff4edf;
    --clr-light:rgba(132,139,200,0.18);
    --clr-primary-variant:#111e88;
    --clr-dark-variant:#677483;
    --clr-color-background:#f6f6f9;
    
    --card-border-radius:2rem;
    --border-radius-1:0.4rem;
    --border-radius-2:0.8rem;
    --border-radius-3:1.2rem;

    --card-padding:1.8rem;
    --padding-1:1.2rem;
    --box-shadow: 0 2rem 3rem var(--clr-light);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: 0;
    list-style: none;
    appearance: none;
}
body{
    font-family: 'Poppins', sans-serif;
    width: 100vw;
    height: 100vh;
    font-size: 0.88rem;
    user-select: none;
    overflow-x: hidden;
    background: var(--clr-color-background);
    display: block;
}
/*.container{
    display: grid;
    width: 96%;
    gap: 1.8rem;
    grid-template-columns: 14rem auto 14rem;
    margin: 0 auto;
}
/* Estilos para el contenedor padre */
.container {
    display: flex;
    flex-wrap:nowrap;
}

/* Estilos para el main */
main {
    flex: 1;
    box-sizing: border-box;
    width: calc(100% - 250px); /* Ajustar el ancho del main */
	overflow: hidden;
}

@media (max-width: 600px) {
    main {
        width: calc(100% - 40px); /* Ajustar el ancho del main para pantallas pequeñas */
    }
}

iframe{
	width:100%;
	height:100%;
}
a{
    color: var(--clr-dark);
}
h1{
    font-weight: 800;
    font-size: 1.8rem;
}
h2{
    font-size: 1.4rem;
}
h3{
    font-size: 0.87rem;
}
h4{
    font-size: 0.8rem;
}
h5{
    font-size: 0.77rem;
}
small{
    font-size: 0.75rem;
}
.profile-photo{
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    overflow: hidden;
}
.text-muted{
    color: var(--clr-info-dark);
}
p{
    color: var(--clr-dark-variant);
}
b{
    color: var(--clr-dark);
}
.primary{
    color:var(--clr-primary);
}
.success{
    color: var(--clr-success);
}
.danger{
    color: var(--clr-danger);
}
.warning{
    color: var(--clr-warning);
}
/*  aside start*/
/* ASIDE (Menú lateral) */
#aside {
    width: 250px;
    height: 100vh;
    background: #007bff;
    color: white;
    padding: 10px;
    position: relative;
    transition: all 0.3s;
    overflow-x: hidden;
}
/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/*

aside .top{
    background: var(--clr-white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 1.4rem;
}
aside .logo{
    display: flex;
    gap: 1rem;
}
aside .top .salir{
    display: none;
}

aside .sidebar{

	width: 250px;
	background: #007ACC; 
	transition: width 0.3s ease;
    overflow: hidden;

	color: white;
	height: 100vh;
	overflow-y: auto;
	padding-top: 20px;
	position: fixed;
}
aside h3{
    font-weight: 500;
}

#sidebar.collapsed {
    width: 200px; 
}*/
/* Información de la Empresa */
.empresa-info {
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    background: #80E5FF; /* Azul cian más claro */
    color: white;
    border-radius: 5px;
}

/* Menú */
.sidebar {
    margin-top: 10px;
}

/* Botón para alternar tamaño */
.toggle-menu {
    display: block;
    margin: 10px auto;
    padding: 5px;
    background: #007bff; /* Mismo azul cian */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Estilos del menú */
.menu-item {
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

/* Íconos de menú */
.menu-item i {
    margin-right: 10px;
}

/* Cambio de color cuando se selecciona */
.menu-item:hover,
.menu-item.active {
    background: #0CF; /* Azul más oscuro */
}

/* Submenú */
.submenu {
    padding-left: 20px;
    display: none;
}

.submenu-item {
    padding: 10px;
    cursor: pointer;
    background: #0CF; /* Mismo azul cian */
    margin-top: 3px;
    color: white;
    border-radius: 3px;
    transition: background 0.3s;
}

.menu-item, .submenu-item {
    padding: 10px;
    cursor: pointer;
    background-color: #007bff; /* Color por defecto */
}

.menu-item.selected, .submenu-item.selected {
    background-color: #0CF; /* Color activo */
    color: white; /* Color de texto para el estado activo */
}

.menu-item:hover, .submenu-item:hover {
    background-color: #0CF; /* Color al pasar el mouse */
}


/* Botón de cerrar menú en móviles */
.close-menu {
    display: none;
}

/* Menú en móviles */
.menu-toggle {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    z-index: 1001;
    border-radius: 5px;
}
/*aside .sidebar a{
    display: flex;
    color: var(--clr-info-dark);
    margin-left: 2rem;
    gap: 1rem;
    align-items: center;
    height: 3.2rem;
    transition: all 1.s ease-in;
}
aside .sidebar a span{
    font-size: 1.6rem;
    transition: all 1.s ease-in;
}
aside .sidebar ul:last-child{/*para poner al ultimo elemento estilo diferent
    position: absolute;
    bottom: 1rem;
    width: 100%;
}
aside .sidebar a.active{
    background: var(--clr-light);
    color: var(--clr-primary);
    margin-left: 0;
   /* border-left: 5px solid var(--clr-primary);
}
aside .sidebar a.active::before{
    content: '';
    width: 6px;
    height: 100%;
    background-color: var(--clr-primary);
}
aside .sidebar a:hover{
    color: var(--clr-primary);
    cursor: pointer;
}
.menu-item {
	padding: 10px 20px;
	cursor: pointer;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.menu-item:hover {
	background: #007bff;
}
.submenu {
	display: none;
	padding-left: 20px;
	background: #007bff;
}
.submenu-item {
	padding: 10px 20px;
	cursor: pointer;
	color: white;
}
.submenu-item:hover {
	background: #007bff;
}*/
.arrow {
	transition: transform 0.3s ease;
}
.rotated {
	transform: rotate(90deg);
}

.divboton{
	justify-content: flex-end;
}

.divboton a:hover span{
	transition: .4s ease;
    color: #16ca8e;
	font-size: 30px;
}
aside .sidebar a:hover span{
    margin-left: 1rem;
    transition: .4s ease;
}
aside .sidebar a span.msg-count{
    background: var(--clr-danger);
    color: var(--clr-white);
    padding: 2px 5px;
    font-size: 11px;
    border-radius: var(--border-radius-1);
}
.mdsearch{
	position:absolute;
	z-index:100;
	height:350px;
	width:350px;
	display:none;
	background-color:#0CF;
}
.prueba{
    height: auto;
    width: 99%;
	max-height: unset !important;
}

.prueba input[type="number"] {
  width: 60px;
}
.progress-bar{
	position: relative;
	width: 200px;
	height: 30px;
	border-radius: 30px;
	background-color: white;
	box-shadow: 3px 4px 5px 0px rgba(204 185 185 / .75);
}
.progress-bar span{
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: white;
	font-weight: 800;
	font-size: 18px;
	line-height: 1.7;
	text-align: center;
	border-radius: 30px;
	background: linear-gradient(90deg, rgba(76,175,80,1) 50%,rgba(50,222,132,1) 100%);
}
/*.conte_tableph{
	width:90%;
	height:auto;
	min-width:260px;
	max-width:900px;
	position:relative;
	padding-top:5px;
	margin-right:10px;
	margin-bottom:15px;
	box-shadow:0px 0px 10px rgba(0,0,0,0.1);
}
.conte_tableph table{
	 table-layout: fixed;
 	 width: 100%;
	 border-collapse: collapse;
}
.conte_tableph th, tr, td {
	height:15px;
	vertical-align: top;
}*/
table{
	background-color:white;
	text-align:left;
	border-collapse:collapse;
	width:100%;
	max-height:100%;
	}
th, td{
	padding:7px;
	border:none;
	}
th, td a{
	color: red;
	font-size: 16px;
	}
	th, td a span{
		color:blue;
		font-size: 14px;
		}
.bloqueph {
	width:99%;
	min-width:320px;
	background:white;
	padding:30px;
	margin:0 auto;
	display:flex;
	flex-wrap:wrap;
	padding:6px;
	margin-top:10px;
	box-shadow:0px 0px 6px rgba(0,0,0,0.1);
}
.bloqueph .conte_textoph{
	height:45px;
	width:55%;
	min-width:300px;
	max-width:500px;
	position:relative;
	padding-top:6px;
	margin-top:5px;
	margin-right:30px;
	display:flex;
	margin-bottom:25px;
	box-shadow:0px 0px 5px rgba(0,0,0,0.1);
}

.bloqueph .conte_tareaph{
	height:70px;
	width:40%;
	min-width:260px;
	max-width:380px;
	position:relative;
	padding-top:10px;
	margin-top:5px;
	margin-right:30px;
    display:flex;
    flex-direction: column;
	margin-bottom:25px;
	box-shadow:0px 0px 10px rgba(0,0,0,0.1);
}
.bloqueph .conte_textohph{
	height:45px;
	width:90%;
	min-width:260px;
	max-width:900px;
	position:relative;
	display: flex;
	flex-wrap: wrap;
	padding-top:10px;
	margin-top:5px;
	margin-right:30px;
	margin-bottom:25px;
	box-shadow:0px 0px 10px rgba(0,0,0,0.1);
}
.bloqueph .conte_textohph input{
	height:90%;
	width:100%;
	min-width:20%;
	border:none;
	outline:none;
	font-size:17px;
	border-bottom:2px solid silver;
}
.conte_textohph input:focus + label,
.conte_textohph input:valid + label{
	transform: translateY(-22px);
	font-size:15px;
	color:#4158d0;
}
.bloqueph .conte_textohph label{
	position:absolute;
	bottom:10px;
	left:2px;
	padding:0 5px;
	background:white;
	color:grey;
	pointer-events:none;
	transition: all 0.3s ease;
}
.bloqueph .conte_textoph input{
	height:90%;
	width:100%;
	min-width:20%;
	max-width:500px;
	position: relative;
	border:none;
	outline:none;
	font-size:15px;
	border-bottom:2px solid silver;
}
.bloqueph .conte_textoph label{
	position:absolute;
	bottom:10px;
	left:2px;
	padding:0 5px;
	background:white;
	color:grey;
	pointer-events:none;
	transition: all 0.3s ease;
}
.conte_textoph input:focus + label,
.conte_textoph input:valid + label{
	transform: translateY(-22px);
	font-size:15px;
	color:#4158d0;
}
.bloqueph .conte_tareahph textarea{
	height:98%;
	width:100%;
	min-width:240px;
	max-width:900px;
	border:none;
	outline:none;
	font-size:17px;
	border-left:2px solid silver;
	border-bottom:2px solid silver;
	resize: none;
}

.bloqueph .conte_tareaph label{
	position:absolute;
	top:-12px;
	left:2px;
	padding:0 5px;
	background:white;
	color:grey;
	pointer-events:none;
	transition: all 0.3s ease;
}
.bloqueph .conte_tareaph textarea{
	height:90%;
	width:100%;
	min-width:240px;
	max-width:350px;
	border:none;
	outline:none;
	font-size:17px;
	border-bottom:2px solid silver;
}
.conte_tareaph textarea:focus + label,
.conte_tareaph textarea:valid + label{
	transform: translateY(-22px);
	font-size:15px;
	color:#4158d0;
}
.bloqueph .conte_textoph select{
	height:90%;
	width:90%;
	min-width:240px;
	max-width:350px;
    appearance: auto;
	font-size:14px;
	border-bottom:2px solid silver;
}
.conte_textoph select:focus + label,
.conte_textoph select:valid + label{
	transform: translateY(-22px);
	font-size:15px;
	color:#4158d0;
}	
input[type=checkbox]:checked + label:before{
	content:'✓';
	font-size:15px;
	color:#0080FF;
}

tbody tr:nth-child(even) { background-color: #f2f2f2; } 
tbody tr:hover { background-color: #e0e0e0; } 
button.accion { background: none; border: none; cursor: pointer; font-size: 18px; } 
button.accion:hover { color: #007bff; }

.conte_textoph input[type=checkbox]{
    cursor: pointer;
    background-color: #fff;
    width: 25px;
    height: 25px;
    appearance: auto;
    border: 2px solid #888;
}
.bloqueph .conte_textoph2{
	height:50px;
	width:30%;
	min-width:200px;
	max-width:350px;
	position:relative;
	padding-top:10px;
	margin-right:30px;
    display: flex;
    flex-wrap: wrap;
	margin-bottom:35px;
	box-shadow:0px 0px 10px rgba(0,0,0,0.1);
}
.bloqueph .conte_textoph2 input{
	height:90%;
	width:100%;
	min-width:90%;
	border:none;
	outline:none;
	font-size:15px;
	border-bottom:2px solid silver;
}
.bloqueph .conte_textoph2 input{
	height:90%;
	width:100%;
	min-width:90%;
	border:none;
	outline:none;
	font-size:15px;
	border-bottom:2px solid silver;
}
.bloqueph .conte_textoph2 label{
	position:absolute;
	bottom:10px;
	left:2px;
	padding:0 5px;
	background:white;
	color:grey;
	pointer-events:none;
	transition: all 0.3s ease;
}
.conte_textoph2 input:focus + label,
.conte_textoph2 input:valid + label{
	transform: translateY(-22px);
	font-size:15px;
	color:#4158d0;
}
.bloqueph .conte_textoph2 select{
	height:70%;
	width:100%;
	min-width:20%;
    appearance: auto;
	border:none;
	outline:none;
	font-size:14px;
	border-bottom:2px solid silver;
}
.conte_textoph2 input[type=checkbox]{
    cursor: pointer;
    background-color: #fff;
    width: 25px;
    height: 25px;
    appearance: auto;
    border: 2px solid #888;
}
.conte_textoph2 select:focus + label,
.conte_textoph2 select:valid + label{
	transform: translateY(-22px);
	font-size:15px;
	color:#4158d0;
}
input[type="submit"]{
	position:relative;
	top: 0;
	right: 0;
	bottom: 0;
	height: 30px;
	background-color:#0080FF;
	color:white;	
	padding: 0 16px;
	letter-spacing: 2px;
	text-transform:uppercase;
	font-size: 14px;
	border: none;
	cursor: pointer;
}
input[type="submit"]:hover{
	transition: .8s;
	background-color: #16ca8e;
}
.dropzone { 
	width: 100%; 
	max-width: 600px; 
	height: 200px; 
	border: 2px dashed #007BFF; 
	border-radius: 10px; 
	display: flex; 
	justify-content: center; 
	align-items: center; 
	color: #007BFF; 
	font-size: 18px; 
	margin: 20px auto; 
} 
.dropzone.dragover { 
	background-color: #e9ecef; 
} 
.preview { 
	margin-top: 20px; 
}
.preview img { 
	max-width: 20%; 
	height: auto; 
	border-radius: 8px; 
	object-fit:cover;
}
.drop-area{
	border: 5PX dashed #ddd;
	height: 300px;
	width: 400px;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.drop-area.active{
	background-color: #b8d4fe;
	color: black;
	border: 2px dashed #618ac9;
}
.drop-area span{
	font-size: 25px;
	color: #000;
}
.drop-area button{
	padding: 10px 15px;
	font-size: 18px;
	border: 0;
	outline: none;
	background-color: #5256ad;
	color: white;
	border-radius: 5px;
	cursor: pointer;
	margin: 12px;
}
.file-container{
	display: flex;
	align-items: center;
	gap: 10px;
	padding:10px;
	border: solid 1px #ddd;
}
#preview{
	margin-top: 10px;
}
.status-text{
	padding: 0 10px;
}
.success{
	color: #52ad5a;
}
.failure{
	color: #ff0000;
}
/*.prueba{
	height:auto;
	max-height:95%;
	width:99%;
	}
.prueba input[type="number"] {
  width: 60px;
}

.bloqueph .conte_tableph table{
	 table-layout: fixed;
 	 width: 100%;
	 border-collapse: collapse;
}
.bloqueph .conte_tableph th, tr, td {
	height:15px;
	vertical-align: top;
}
.bloqueph .conte_tableph{
	width:100%;
	height: auto;
	max-height: 300px;
	min-height: 20px;
	position:relative;
	padding-top:6px;
	margin-top:5px;
	margin-right:30px;
	display:flex;
	flex-direction: column;
	overflow-y: auto;
	margin-bottom:25px;
	box-shadow:0px 0px 5px rgba(0,0,0,0.1);
}
table {
	width: 100%;
	table-layout: auto; 
	border-collapse: collapse;
}
.bloqueph .conte_tableph th, td {
	border: 1px solid #ccc;
	padding: 8px;
	text-align: left;
	max-width: 200px; 
	word-wrap: break-word; 
}*/
/* Menú en móviles */



@media (max-width: 600px) {
    #aside {
        position: fixed;
        left: -250px;
        top: 0;
        height: 100%;
        z-index: 1000;
    }

    .menu-toggle {
        display: block;
    }

    .close-menu {
        display: block;
        background: transparent;
        border: none;
        color: white;
        font-size: 18px;
        position: absolute;
        right: 10px;
        top: 10px;
        cursor: pointer;
    }
    .sidebar a h3 {
        display: none; /* Ocultar los textos de los enlaces para ahorrar espacio */
    }

    .sidebar a span {
        font-size: 24px; /* Ajustar el tamaño del icono */
    }
}

