
:root {
	--primary: #8250c8;
	--secondary: #69c350;
	--tertiary: #1ebbee;
	--background: #f7f7f9;
	--dark: #212529;
	--light: #ffffff;
	--shadow: 0 2px 5px rgba(0,0,0,0.15);
	--formula: #ff9800;
	--filter-rows: #e91e63;
	--sql: #2196f3;
}

html {
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    transition: all linear 0.3s;
    height: 100%;
    width: 100%;
    font-family: "Dongle", sans-serif;
    font-size: 16px;
}


body {
    font-family: sans-serif;
    margin: 0.5rem;
    background-color: white;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
	height: 100%;
	
	margin: 0;
    padding: 0;
    height: 100%;
}

header {
	text-align: left;
    width: 100%;
	height: 3.5rem;
}

header table tr td img{
	height: 5rem;
}
.boton{
    border-radius: 1rem;
    padding: 0.12rem 1.2rem 0.00rem 1.2rem;
    white-space: nowrap;
    font-family: "Dongle", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
	cursor:pointer;	
	text-align: center;
}

.boton-primario{
    color: white;
    background-color: red;
	border: 2px solid red;
	transition: all linear 0.2s;
}
.boton-primario:hover{
    color: red;
    background-color: white;
	border: 2px solid red;
	transition: all linear 0.2s;
}


.boton-secundario{
    color: red;
    background-color: white;
	border: 2px solid red;
	transition: all linear 0.2s;
}
.boton-secundario:hover{
    color: white;
    background-color: black;
	border: 2px solid white;
	transition: all linear 0.2s;
}

.elemento-menu{
    border-radius: 1rem;
    padding: 0.12rem 1.2rem 0.00rem 1.2rem;
    white-space: nowrap;
    font-family: "Dongle", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
	cursor:pointer;	
	text-align: center;
    color: white;
    background-color: red;
	border: 2px solid red;
	margin-top: 0.5rem;
	transition: all linear 0.2s;
}
.elemento-menu:hover{
    color: red;
    background-color: white;
	border: 2px solid red;
	transition: all linear 0.2s;
}

#logo-ser-libre {
	height: 2.3rem !important;
	cursor:pointer;
	margin-left: 0.5rem;
    margin-top: 0.1rem;
}

#titulo{
	font-family: "Dancing Script", cursive;
	font-size: 1.3rem;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

#consejos {
	bottom: 20%; 
	color: black;
	font-family:'Dongle', sans-serif; 
	font-size: 1.3rem;
	position: absolute; 
	background-color:rgba(255, 0, 0, 0.4);
	width: 80%;
	left: 10%;
	border-radius: 0.5rem;
	text-align: left;
}
#consejos span{
	
}
#consejos i{
	margin-left:0.5rem;
	margin-right:0.5rem;
	font-size: 0.8rem;
	min-width: 1.2rem;
}

.contenedor-video-camara{
	max-width: 100%;
    max-height: 100%;
}

.contenedor-video-camara img{
	width:100%;
}

.imagen-atuendo{
	border-radius:0.5rem;
	max-width: 8rem;
    max-height: 8rem;
	margin: 0.1rem;
	border: solid 2px transparent;
	transition: all linear 0.2s;
	cursor:pointer;
}
.imagen-atuendo:hover{
	border: solid 2px red;
	transition: all linear 0.2s;
}

.imagen-atuendo-select{
	border: solid 1px red;
}

.resumen-colapsado {
	max-height: 12rem;
}
.resumen-colapsado div div {
	min-height: 8rem;
	max-height: 8rem;
	vertical-align: middle;
	display: flex;
	justify-content: center;
	align-items: center;
}
.resumen-colapsado  div div img {
	border-radius:0.5rem;
	max-width: 8rem;
    max-height: 8rem;
	margin: 0.1rem;
}
.resumen-colapsado div div i {
	color:red;
	font-size:1.5rem;
}

.item-seleccionado-check{
	border:2px solid green; 
	position: relative;
	background-color: #DFF5CE;
}

.item-seleccionado-check span{
    display: inline-block;
    background-color: transparent;
    color: green;
    position: absolute;
    top: 0.25rem;
    left: 0.5rem;
    font-size: 2rem;	
}



	
.item-no-seleccionado-check{
	border:2px solid red; 	
}
.item-no-seleccionado-check span{
	display: none;	
}

h1, h2 {
    color: #333;
    text-align: center;
	font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
	display:block;
}

input[type="file"] {
    display: none;
}

.tabla-calendario{
	font-size: 1.5rem;
    border-collapse: collapse;
	border: 2px solid lightgray;
	max-width: 20rem;
    min-width: 18rem;
}

.tabla-calendario tr td{
    border: solid lightgrey 2px;
	width: 2.2rem;
	height: 2.2rem;
}

.tabla-calendario tr th{
    border: none;
	font-size: 0.8rem;
    background: white;
    color: gray;
	height: 1.8rem;
}
.header-calendario{
	height: 2rem;
    text-align: center;
    font-size: 1.7rem;
    font-weight: bolder;
    background-color: red;
    color: white;
}

.rango-horario{
	border-radius:0.5rem;
	border: lightgray 2px solid;
	padding: 0.5rem;
	margin: 0.3rem 0.3rem;
	cursor: pointer;
    min-width: 15rem;
    max-width: 15rem;
	display: inline-block;
}

.container {
    display: flex;
    justify-content: space-around;
    width: 90%;
    max-width: 1000px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 1rem;
	padding-top:0;
}

.column {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column img, .result-section img {
    max-width: 100%;
    height: auto;
    max-height: 300px; /* Limitar altura para que no sea gigante */
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#camera-video {
    width: 100%;
    max-width: 30rem; /* Ajustar según necesidad */
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

input[type="file"], button {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
}

.try-on-section, .result-section {
    width: 90%;
    max-width: 1000px;
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
}

#loading-spinner {
    font-size: 1.2em;
    color: #007bff;
    margin-top: 10px;
}

.download-options a {
    display: inline-block;
    margin: 10px;
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.download-options a:hover {
    background-color: #1e7e34;
}

.camera-container {
    display: flex;
    flex-direction: column;
    align-items: center;
	text-align: center;
}

.garment-type-input {
    margin: auto;
    margin-top: 15px;
    width: 100%;
    display: flex;
	max-width: 30rem;
    flex-direction: column;
    align-items: center;
}

.garment-type-input label {
    margin-bottom: 5px;
    font-size: 0.9em;
}

.garment-type-input input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 90%;
	max-width: 20rem;
    box-sizing: border-box; /* Para que el padding no aumente el ancho total */
	border-bottom:3px red solid;
}

.item-elemento-gestion {
	background-color: rgba(0, 0, 0, 0.1);
	border-radius:0.5rem;
	margin: 0.5rem;
    padding: 0.5rem;
}
.item-elemento-gestion div > span:first-child{
	font-weight: bolder;
	width: -webkit-fill-available;
}

.contenedor-acciones{
	position: fixed;
    bottom: -1px;
    width: 100%;
    background-color: rgb(255 255 255 / 0.2);
    backdrop-filter: blur(20px);
}

input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 90%;
	max-width: 20rem;
    box-sizing: border-box; /* Para que el padding no aumente el ancho total */
	border-bottom:3px red solid;
}
input[type="password"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 90%;
	max-width: 20rem;
    box-sizing: border-box; /* Para que el padding no aumente el ancho total */
	border-bottom:3px red solid;
}

select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 90%;
	max-width: 20rem;
    box-sizing: border-box; /* Para que el padding no aumente el ancho total */
	border-bottom:3px red solid;
}

/* Toast */
.toast {
	position: fixed;
	top: 20px;
	right: 20px;
	background-color: var(--dark);
	color: white;
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 0.8rem;
	box-shadow: var(--shadow);
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 100;
	display: none;
}

.toast.show {
	opacity: 0.9;
}
.gradient-bg-animation{
    height:fit-content;
	min-height: 3rem;
    background: rgb(189, 189, 189);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(255,143,38,1) 0%, rgba(150,126,197,1) 48%, rgba(0,255,222,1) 100%);
    background-size: 300% 100%;
    animation: gradient 5s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

