@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --trafico: #dbaa34;
  --font-family: 'Roboto', sans-serif;
  --font-size: 16px;
  --line-height: 1.5;
  --border-radius: 4px;
  --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --big-shadow: 0 12px 30px -9px #1a1e32, 0 0 0 1px #323848 inset;
  --ui_background-color: #282A36;
  --text-color: #ccc;
  --text-contrat: #48494b;
  --fondo_barras: #323848;
  --boton_universal: #ca9426;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  color: var(--text-color);
}

html {
  width: 100%;
  height: 100%;
  background-color: var(--ui_background-color);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: var(--font-size);
  line-height: var(--line-height);
  background-color: var(--ui_background-color);
  /* user-select: none; */
}

.liga-simple {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
  flex: 0 auto;
  width: fit-content;
  transition: all 256ms ease;
}

.liga-simple:hover {
  letter-spacing: 2px;
}



header,
footer {
  width: 100%;
  height: 50px;
  background-color: var(--fondo_barras);
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  flex: 1;
  display: flex;
  background-color: var(--ui_background-color);
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  padding: 57px 30px;
}

h1 {
  font-weight: 100;
  font-size: 1.7rem;
}

h2 {
  font-weight: 300;
  font-size: 1.2em;
  margin: 20px auto;
}

h2 b {
  font-weight: 500;
  color: var(--trafico);
}

hr {
  width: 100%;
  height: 1px;
  background-color: #353943;
  box-shadow: 0 1px 0 0 #1c1d21;
  border: none;
  margin: 32px 0;
}

/* BO Login */

div#loginContainer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  margin: 4% auto;
  min-width: 320px;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #323848;
  box-shadow: -12px 40px 40px -10px #00000061;
  background-color: #2b2e3c;
}

.centrado {
  text-align: center;
}

div#loginContainer form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  padding: 10px;
  gap: 20px;
}

div#loginContainer form :is(input[type="email"], input[type="password"]) {
  width: 100%;
  padding: 10px;
  border-radius: var(--border-radius);
  border: 1px solid var(--text-contrat);
  background-color: var(--fondo_barras);
  font-size: var(--font-size);
  line-height: var(--line-height);
}

div#loginContainer form input[type="submit"],
.guardarFormulario {
  width: 100%;
  padding: 25px 10px;
  border-radius: var(--border-radius);
  border: none;
  background-color: var(--boton_universal);
  font-size: var(--font-size);
  line-height: var(--line-height);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

/* EO Login form */
#main-content {
  display: flex;
  transition: margin-left 0.3s ease;
  flex: 1;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0px 20px;
  text-align: center;
}

#logo_home {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 96px;
  height: 30px;
  background-color: transparent;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: all 0.3s ease;
}

#log_out_btn img {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#logo_home:hover,
#log_out_btn img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#logo_home img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
}

.selector-group {
  position: relative;
  margin: 0 auto;
  min-width: 260px;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 2px;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 4px;
  background-color: #1f202c;
  box-shadow: 0 20px 40px #131621, -1px 1px 0 #323848 inset, 1px -1px 0 #0e1017 inset;
}

.selector-group a {
  display: flex;
  text-decoration: none;
  color: #cecece;
  font-size: 14px;
  padding: 30px;
  border-radius: 5px;
  background-color: #292d39;
  transition: background-color 0.3s ease;
  border: 1px solid #292d3a;
  flex: 1;
  cursor: ponter;
  min-width: 200px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.selector-group a:hover {
  background-color: #323848;
}

.div_centrado_vertical {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: none;
  max-width: 720px;
  width: 100%;
  height: 100%;
  flex: auto;
}

.panel_centrado {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 5vh;
  min-width: 300px;
  max-width: 840px;
  width: 100%;
  height: 100%;
  flex: auto;
}

.back_btn {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  opacity: .6;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back_btn:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Panel de configuraciÃƒÆ’Ã‚Â³n */

.config-panel {
  min-width: 320px;
  max-width: 960px;
  width: 100%;
  margin: 0px auto;
  padding: 2rem;
  color: #fff;
}

.direccion-group {
  margin: 0rem 0;
}

.alta-row {
  display: flex;
  gap: 1px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.mayusculas {
  text-transform: uppercase;
}

input {
  width: 100%;
  background: #1e1e2f;
  border: 1px solid #3d3d50;
  border-radius: 6px;
  padding: 20px 10px;
  color: #fff;
  font-size: 1rem;
  flex: 1;
  width: 320px;
  text-align: center;
}

select {
  width: 100%;
  background: #1e1e2f;
  border: 1px solid #3d3d50;
  border-radius: 6px;
  padding: 20px 10px;
  color: #fff;
  font-size: 1rem;
  flex: 1;
  width: 320px;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.doble-ancho {
  flex: 2;
}

#breadcrumbs {
  text-align: center;
  font-size: .8rem;
  color: #7a7b88;
  padding: 10px 20px;
  background-color: #242631;
  border-radius: 8px;
  box-shadow: 0 12px 30px -9px #1a1e32, 0 0 0 1px #323848 inset;
  user-select: none;
}

/* BO listado de 2 columnas basado en UL-LI-SPAN-SPAN */

.list_c2a {
  display: flex;
  flex-flow: column;
  min-width: 300px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 32px 52px -16px #191b2785;
  font-size: .9em;
}

.header_line,
.footer_line {
  background-color: #21232e;
  color: #fff;
  padding: 20px !important;
}

.header_line {
  border-top: 1px solid #303238 !important;
}

.footer_line {
  display: flex !important;
  border-bottom: 1px solid #171a24 !important;
  text-align: center;
  flex-direction: column;
  align-items: center;
}


.list_c2a li {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.list_c2a li span {
  flex: 1;
  text-align: left;
  font-weight: 600;
  ;
}

.list_c2a li.header_line {
  font-weight: bold;
}

.list_c2a_group {
  background-color: #313441;
}

.list_c2a_group li:nth-child(odd) {
  background-color: #393d4dff;
}

.list_c2a_group li span {
  padding: 10px;
  font-size: 1em;
  color: #fff;
  font-weight: 300;
}

.list_c2a_group li span:nth-child(1) {
  border-right: 1px solid #3d4050ff;
}

.list_c2a_group li {
  border-bottom: 1px solid #3d4050ff;
}

/* EO Listado de dos columnas */


.liga_btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  align-items: center;
  padding: 10px 40px;
  text-decoration: none;
  border-radius: 6px;
  background-color: var(--boton_universal);
  color: #000000;
  flex: 0 auto;
  width: fit-content;
  font-size: 1.3em;
  cursor: pointer;
}

/* SecciÃƒÆ’Ã‚Â³n de upload de imagenes.  */
#previewContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px 20px 30px;
  border-radius: 12px;
  background-color: #1f202c;
  border: 1px solid #44465a;
  box-shadow: var(--big-shadow);
}

#previewContainer img {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #3d3d50;
}

.fotos_data_grp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin-top: 20px;
  gap: 2px;
}

.fotos_data_grp p {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.fotos_data_grp p span:nth-child(1) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 78px;
  text-align: left;
  color: #7798ef;
  background-color: #323848;
  padding: 7px;
  min-height: 35px;
  max-height: 35px;
  height: 35px;
}

.fotos_data_grp p span:nth-child(2) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  font-weight: 300;
  padding: 7px;
  background-color: #3a4255;
  flex: 1;
  overflow: hidden;
  min-height: 35px;
  max-height: 35px;
  height: 35px;
}

.foto_data {
  display: inline-block;
  font-size: .9em;
  color: #fff;
  font-weight: 300;
  padding-top: 10px;
}

/* BO Estilo del buscador */

.vin-search-container {
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-width: 280px;
  max-width: 473px;
  width: 100%;
}


#vin_input,
.camposVIN_Year {
  width: 100%;
  padding: 20px 0;
  border: 1px solid #303243;
  border-radius: 4px;
  background-color: #1d212d;
  color: #fff;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 21px 30px -4px #00000033;
}

ul.vin-autocomplete-list {
  list-style: none;
  padding: 0;
  margin: 27px 0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  width: 100%;
  overflow-y: auto;
}

.vin-autocomplete-list li {
  padding: 20px 10px;
  margin-bottom: 2px;
  cursor: pointer;
  color: #fff;
  background-color: #41495d;
  border-radius: 4px;
  box-shadow: 0 5px 10px -2px #00000033;
}

.dialogo_instrucciones {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 140px auto 0 auto;
  min-width: 320px;
  max-width: 600px;
  text-align: justify;
  background-color: #23262e;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #3a3f4e;
}

.dialogo_instrucciones p {
  color: #bcbcbc;
  font-weight: 300;
}