@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.hidden {
    display: none;
}


p#texto{
	text-align: center;
	color:white;
}

div#div_file{
	position:relative;
	margin:10px;
	padding:1px;
	width:150px;
	background-color: #ab73ec;
	-webkit-border-radius:5px;
	-webkit-box-shadow:0px 3px 0px #c09ce9;;
}

div#div_file1{
	position:relative;
	margin:10px;
	padding:1px;
	width:150px;
	background-color: #ab73ec;
	-webkit-border-radius:5px;
	-webkit-box-shadow:0px 3px 0px #c09ce9;;
}

div#div_file2{
	position:relative;
	margin:10px;
	padding:1px;
	width:150px;
	background-color: #ab73ec;
	-webkit-border-radius:5px;
	-webkit-box-shadow:0px 3px 0px #c09ce9;;
}

div#div_fileD{
	position:relative;
	margin:10px;
	padding:1px;
	width:150px;
	background-color: #ab73ec;
	-webkit-border-radius:5px;
	-webkit-box-shadow:0px 3px 0px #c09ce9;;
}

input#adjunto{
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	width:100%;
	height:100%;
	opacity: 0;
}

input#adjunto1{
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	width:100%;
	height:100%;
	opacity: 0;
}

input#adjunto2{
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	width:100%;
	height:100%;
	opacity: 0;
}

input#adjuntoD{
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	width:100%;
	height:100%;
	opacity: 0;
}

/*--- ROOT VARIABLES ---*/
:root{
    --color-primary : #ab73ec;
    --color-danger : #ab73ec;
    --color-success : #41f1b6;
    --color-warning : #ffbb55;
    --color-white : #fff;
    --color-info-dark : #7d8da1;
    --color-info-light : #dce1eb;
    --color-dark : #363949;
    --color-light : rgba(132, 139, 200, 0.18);
    --color-primary-variant : #111e88;
    --color-dark-variant : #677483;
    --color-background : #ebebeb;

    --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-shadom : 0 2rem 3rem var(var(--color-light));
}
input[type="text"], input[type="checkbox"] {
    padding: 0.5rem; /* Espacio dentro del input */
    border-radius: var(--border-radius-1);
    border: 1px solid var(--color-dark); /* Un borde visible */
    background: var(--color-white); /* Color de fondo */
    width: auto; /* O ajusta según sea necesario */
}


* {
    margin : 0;
    padding : 0;
    outline : 0;
    /*appearance: none;*/
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html{
    font-size: 12px;
}

body{
    width: 100vw;
    height: 100vh;
    font-family: poppins, sans-serif;
    font-size: 0.88rem;
    background: var(--color-background);
    user-select: none;
    color: var(--color-dark);
}

.container{
    display: grid;
    width: 96%;
    margin: 0 auto;
    gap: 1.8rem;
    grid-template-columns: 1fr 5fr;

}
a{
    color: var(--color-dark);
}

img{
    display: block;
    width: 100%;
}

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(--color-info-dark);
}

p{
    color: var(--color-dark-variant);
}

.primary{
    color: var(--color-primary);
}

.danger{
    color: var(--color-danger);
}

.success{
    color: var(--color-success);
}

.warning{
    color: var(--color-warning);
}

aside{
    height: 100vh;
}

aside .top{
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.4rem;
}

aside .logo {
    display: flex;
    gap: 0.8rem;
}

aside .logo img{
    width: 2rem;
    height: 2rem;
    align-self: center;
}

aside .close{
    display: none;
}

/*--- SIDEBAR ---*/
aside .sidebar{
    display: flex;
    flex-direction: column;
    height: 86vh;
    position: relative;
    top: 3rem;
}

aside h3{
    font-weight: 500;
}

aside .sidebar a{
    float: right;
    display: flex;
    color: var(--color-info-dark);
    margin-left: 2rem;
    gap: 1rem;
    align-items: center;
    position: relative;
    height: 3.7rem;
    transition: all 300ms ease;
}

aside .sidebar a span{
    font-size: 1.6rem;
    transition: all 300ms ease;
}

aside .sidebar a:last-child{
    color: #f2f2f2;
	font-size: 16px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #ac182d !important;
	padding: 5px 15px;
	margin-right: 15px;
	background: #ac182d;
	margin-top: 5rem;
    width: 4rem;
}

aside .sidebar a.active{
    background: var(--color-light);
    color: var(--color-primary);
    margin-left: 0;
}

aside .sidebar a.active:before{
    content: '';
    width: 6px;
    height: 100%;
    background: var(--color-primary);
}

aside .sidebar a:hover{
    color: var(--color-primary);
}

aside .sidebar a:hover:last-child{
    color: var(--color-background);
}

aside .sidebar a:hover:last-child span{
    margin-left: 0.5rem;
}

aside .sidebar a:hover span{
    margin-left: 1rem;
}

aside .sidebar .message-count{
    background: var(--color-danger);
    color: var(--color-white);
    padding: 2px 10px;
    font-size: 11px;
    border-radius: var(--border-radius-1);
}

/*------ MAIN ------*/

main{
    margin-top: 1.4rem;
    
}

main .date{
    display: inline-block;
    background: var(--color-light);
    border-radius: var(--border-radius-1);
    margin-top: 1rem;
    padding: 0.5rem 1.6rem;
}

main .date input[type = "date"]{
    background: transparent;
    color: var(--color-dark);
}

main .insights{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

main .insights > div{
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    margin-top: 1rem;
    box-shadow: var(--box-shadom);
    transition: all 300ms ease;
}

main .insights > div:hover{
    box-shadow: none;
}

main .insights > div span{
    background: var(--color-primary);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
}

main .insights > div.expenses span {
    background: var(--color-danger);
}

main .insights > div .middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main .insights h3 {
    margin : 1rem 0 0.6rem;
    font-size: 1rem;
}

main .insights .progress {
    position: relative;
    padding-right: 1rem;
    padding-top: 1rem;
    width: 92px;
    height: 92px;
    border-radius: 50%;
}

main .insights .progressPJ {
    position: relative;
    padding-right: 1rem;
    padding-top: 2rem;
    width: 92px;
    height: 92px;
    border-radius: 50%;
}

main .insights svg{
    width: 7rem;
    height: 7rem;
}

main .insights svg circle{
    fill : none;
    stroke: var(--color-primary);
    stroke-width: 14;
    stroke-linecap: round;
    transform: translate(5px, 5px);
}

main .insights .progress .number {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

main .recent-orders {
    margin-top: 2rem;
}

main .recent-orders h2{
    margin-bottom: 0.8rem;
}

main .recent-orders table{
    background: var(--color-white);
    width: 100%;
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    text-align: center;
    box-shadow: var(--box-shadom);
    transition: all 300ms ease;
}

button {
    background: var(--color-primary);
    padding: 5px 15px;
    border-radius: var(--border-radius-1);
    color: white;
}

dialog{
    position: center;
    left:45%;
    top:20%;
    padding: 1.5rem;
}

dialog input{
    background: #eeebeb;
}

select{
    padding: 1.5rem;
    border-radius: var(--border-radius-2);
    font-family:  'Poppins', sans-serif;
    padding-right: 10rem;
    text-align: left;
}

#contenedor{
    display: flex;
}

#Fecha{
    padding-left: 60%;
}

#concept input{
    padding: 1.5rem;
    width: 97%;
    border-radius: var(--border-radius-1);
}

#concept1 input{
    padding: 1.5rem;
    border-radius: var(--border-radius-1);
    width: 30%;
}

#Terceros{
    display: flex;
    justify-content: space-between;
}

#adjunto input{
    padding: 1.3rem;
    width: 97%;
}

#enviar{
    display: flex;
    padding-left: 80%;
    padding-bottom: 1rem;
}

table{
    background: var(--color-white);
    width: 100%;
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    text-align: center;
    box-shadow: var(--box-shadom);
    transition: all 300ms ease;
}

#primeralin {
    display: flex;
    justify-content: space-between;
}

#primeralin input{
    padding: 1rem;
    border-radius: var(--border-radius-1);
    width: 28rem;
}

#primeralin select{
    padding: 1rem;
    border-radius: var(--border-radius-1);
    width: 28rem;
}

#dentroprimera input{
    padding: 1rem;
    border-radius: var(--border-radius-1);
    width: 28rem;
}

#dentrosegunda input{
    padding: 1rem;
    border-radius: var(--border-radius-1);
    width: 100%;
}

#enviarL{
    display: flex;
    padding-bottom: 1rem;
}
#enviarL button{
    display: flex;
    padding: 1rem;
    padding-left: 10rem;
    padding-right: 10rem;
    font-size: large;
    margin-left: auto;
    margin-right: 0;
}

.ERP{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
