@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;700&display=swap');
:root {
  --naranja: #FF5E22;
  --blanco: #F8F8F8;
  --gris: #444444;
  --azul: #009DDC;
  --verde: #009B72;
  
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}
body {
  background: #262626;
  background: linear-gradient(207deg,rgba(38, 38, 38, 1) 0%, rgba(74, 74, 74, 1) 50%, rgba(38, 38, 38, 1) 99%);
  width: 100%;
  box-sizing: border-box;
}

header {
  background-color: var(--blanco);
  display: flex;
  padding: 1rem;
  justify-content: flex-start;
  font-size: large;
  color: var(--gris);
}

.Titulo{
  /* margin-right: auto; */
  /* flex-grow: 1; */
  padding-left: 25%;
}
header span{
  font-weight: 300;
  font-size: 12px;
}


/* -------------------------------Estilo a la barra de busqueda---------------------------- */

 .BarraDeBusqueda {
  margin: auto;
  margin-top: 2rem;
  display: flex;
  width: 450px;
  height: 60px;
  border-radius: 50px;
  align-items: center;
  background-color: var(--blanco);
  border: 1px solid var(--gris);
  padding: 0 14px;
  color: var(--gris);
  transition: box-shadow 0.25s;
}

.BarraDeBusqueda:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.BarraDeBusqueda input {
  flex-grow: 1;
  padding-left: 5px;
  appearance: none;
  outline: none;
  border: none;
  background-color: transparent;
  margin-left: 14px;
  font-size: 18px;
}

.BarraDeBusqueda span{
  user-select: none;
}

.BotonesDeBusqueda{
  display: flex;
  width: 450px;
  height: 40px;
  margin: auto;
  justify-content: center;
  align-items: flex-end;
}
.btnOscuro {
  margin-top: 5px;
  border: none;
  background-color: var(--azul);
  border-radius: 15px;
  color: white;
  padding: 8px;
  cursor: pointer;
  transition: box-shadow 0.25;
}

.btnOscuro:hover{
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.BotonesDeBusqueda a{
  margin-left: 15px;
  font-size: 16px;
  color: var(--naranja);
}




/* ---------------------------Estilo seccion que muestra el total----------------------------------------- */

.Total {
  display: flex;
  align-items: center;
  justify-content:space-around;
  width: 450px;
  text-align: center;
  margin: 2rem auto;
  padding: 10px;
  background-color: var(--gris);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  height: 60px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

#titulocot{
  color: var(--naranja);
  font-size: 18px;
}
#subTotal{
  color: var(--blanco);
  opacity: 0.6;
}
#total{
  font-size: 18px;
  color: var(--blanco);
  font-weight: 600;
}

.ContenedorDivisor{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3px;
  height: 100%;
}
.Divisor{
  width: 1px;
  height: 75%;
  background: linear-gradient(0deg,rgba(68, 68, 68, 0.03) 0%, rgba(248, 248, 248,0.3) 50%, rgba(255, 255, 255, 0.05) 99%);
  border-radius: 2px;
  align-self: center;
}

.Divisor2{
  width: 1px;
  height: 75%;
  background: linear-gradient(0deg,rgba(68, 68, 68, 0.03) 0%, rgba(248, 248, 248,0.3) 50%, rgba(255, 255, 255, 0.05) 99%);
  border-radius: 2px;
  align-self: center;
}

/* -------------------------Estilo Modal------------------------------------------------------ */


:modal{
    padding: 1em;
    max-width: 50ch;
    margin: 0 auto;
    background-color: white;
    color: var(--onyx);;
    & > * {
        margin: 0 0 0.5rem 0;
    }
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    box-shadow: 0 0 8px 2px rgba(37, 37, 37, 0.5);
}
:modal::backdrop{
    background-color: rgba(39, 39, 39, 0.7);
}

:modal input[type="text"]{
  width: 150px;
  height: 35px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  padding-left: 20px;
}

:modal p{
  color: var(--naranja);
}
#cerrarModal{
    align-self: self-end;
}
#btnContinuar{
    margin-top: 1rem;
    align-self: center;
}


.TipoDeReparacion { 
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.ContenedorDePrecios{
  display: flex;
  /* padding: 0 30px; */
  width: 100%;
  justify-content: center;
  margin: 20px 0;
  gap: 30px;
}

/*--------------------------- Estilo a las cajas de las piezas con precio ---------------------------------------*/
.TarjetasDePrecios {
  width: 40%;
  display: grid;
  /* margin: 0 auto; */
  padding: 20px;
  grid-auto-rows: 80px;
  grid-template-columns: repeat(auto-fit, 150px);
  justify-content: space-between;
  column-gap: 10px;
  row-gap: 20px;
  background: rgba(44, 44, 44, 0.233);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8.7px);
  -webkit-backdrop-filter: blur(8.7px);
  border: 1px solid rgba(168, 168, 168, 0.48);
}

.TarjetasDePrecios input[type="radio"] {
  display: none;
}

.TarjetasDePrecios label {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: transparent;
  color: var(--blanco);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
  /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); */
  user-select: none;
}

.TarjetaDePrecio span {
  user-select: none;
}

.TarjetasDePrecios input[type="radio"]:checked + label {
  background-color: var(--naranja);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--blanco);
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.5);
}

/* -----------------------------------------Estilo a los input para colocar pieza y precio-------------------------------  */


.SeccionPreciosGspn {
  /* margin-top: 2rem; */
  display: flex;
  
  width: 40%;
  flex-direction: column;
  text-align: center;
  color: var(--charcoal);
  background: rgba(44, 44, 44, 0.233);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8.7px);
  -webkit-backdrop-filter: blur(8.7px);
  border: 1px solid rgba(168, 168, 168, 0.48);
}
.SeccionPreciosGspn p {
  margin: 1rem 0;
  color: var(--naranja);
}

.PreciosGspn {
  display: grid;
  /* grid-auto-rows: 80px; */
  /* grid-template-columns: repeat(auto-fit, 150px); */
  margin: 1rem 2rem;
  justify-content: center;
  /* column-gap: 40px; */
  row-gap: 10px;
}

/* Quita las flechas a los inputs number */
/* Para navegadores Webkit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Para Firefox */
input[type="number"] {
  -appearance: textfield;
}

.DatosPieza {
  display: flex;
}
.DatosPieza input {
  /* height: 35px; */
  padding-left: 10px;
  outline: none;
  border: none;
  background-color: transparent;
  color: var(--blanco);
  
  appearance: none;
  border-radius: 10px;
}
.DatosPieza input::placeholder{
  color: rgba(226, 226, 226, 0.4);
}

.ParPieza{
  display: flex;
  background-color: transparent;
  border-radius: 10px;
  border: 1px solid rgba(248, 248, 248, 0.4);
  height: 35px;
  /* box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); */
}




/* ------------------------------------Estilo datos de reparacion cotizacion no en lista------------------------------- */

.TipoDeReparacion{
  background: rgba(226, 226, 226, 0.67);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8.7px);
  -webkit-backdrop-filter: blur(8.7px);
  border: 1px solid rgba(68, 68, 68, 0.48);
  width: 20%;
}

.Datos{
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--naranja);
}

.Datos input{
  width: 200px;
  height: 25px;
  font-size: 14px;
  padding-left: 10px;
  border-radius: 10px;
  outline: none;
  border: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.DescripcionesReparacion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 30px;
  
  
}


/* Ensure List mode elements are visible by default */
.TarjetasDePrecios {
  display: grid;
}
.BarraDeBusqueda {
    display: flex; /* Or flex, grid, etc., depending on your layout */
}

.TipoDeReparacion {
  display: none;
}

/* MANUAL MODE: When the body/container has the 'manual-mode' class */

/* Hide List mode elements */
.manual-mode .TarjetasDePrecios,
.manual-mode #barraBusqueda {
    display: none;
}

/* Show Manual mode elements */
.manual-mode .TipoDeReparacion {
    display: flex; /* Or flex, grid, etc. */
} 