/*
body {
  background: #1d1d1b;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans', sans-serif;
  color: #f4f1ec;
}

html {
  height: 100%;
}

*/

/*
html, body {
  margin: 0;
  padding: 0;
 
  height: 100%;
}

body.index-body {
  overflow: hidden;
  height: 100vh;
}
*/

html, body {
  background-color: #515153;
  color: #f4f1ec;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans', sans-serif;
}

body {
  background-color: #515153 !important;
  color: #f4f1ec !important;
}


.formulario-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 30px;
  background: #353535;
  border: 2px solid #444; /* o el color que combine mejor */
  border-radius: 12px;
   box-shadow: 0 0 30px rgba(223, 27, 33, 0.15); /* sombra suave en tono rojo oscuro */
}

.p-5 {
  background-color: #2a2a2a !important;
}

/* Íconos a la izquierda de los inputs */
.input-icon-group {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #555;
  margin-bottom: 18px;
  padding: 4px 0;
}

.input-icon-group i {
  margin-right: 12px;
  font-size: 1.3em;
  /*color: #df1b21; */
  color:#e1cacb;
  width: 24px;
  text-align: center;
}

.input-icon-group input,
.input-icon-group select,
.input-icon-group textarea {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #f4f1ec;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 30px;
  /*color: #df1b21; */
  color:#e5dada;
  font-family: 'Montserrat', sans-serif;
}

.seccion-titulo-con-icono {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.seccion-titulo-con-icono h2,
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  /*color: #df1b21;
  */
  color: #e5dada;
}

.seccion-titulo-con-icono i {
  margin-right: 10px;
  color: #c3c3c3;
  /*color: #df1b21; */
}

.linea-decorativa {
  width: 100%;
  height: 4px;
  background-color: #df1b21;
  margin: 0 auto;
  border-radius: 2px;
}

.form-check-input:checked {
  background-color: #df1b21;
  border-color: #df1b21;
}

.form-check-label {
  margin-left: 8px;
  font-weight: normal;
  color: #f4f1ec;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: none !important;
  border-bottom: 2px solid #c6181e;
}

.form-group-floating {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #555;
  margin-bottom: 24px;
}

.form-group-floating i {
  margin-right: 12px;
  font-size: 1.2em;
  /*color: #df1b21;*/
  color:#e1cacb;
  width: 24px;
  text-align: center;
}

.form-group-floating input,
.form-group-floating textarea {
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #f4f1ec;
  padding: 10px 0 8px 0;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
}

.form-group-floating label {
  position: absolute;
  left: 36px;
  top: 10px;
  color: #aaa;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.2s ease-out;
}

.form-group-floating input:focus + label,
.form-group-floating input:not(:placeholder-shown) + label,
.form-group-floating textarea:focus + label,
.form-group-floating textarea:not(:placeholder-shown) + label {
  top: -12px;
  font-size: 12px;
  color: #df1b21;
  background: #353535;
  padding: 0 4px;
}

.form-group-floating select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #f4f1ec;
  padding: 10px 0 8px 0;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='16' height='16' fill='%23f4f1ec' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  padding-right: 24px;
}

.form-group-floating select:focus + label,
.form-group-floating select:not([value=""]) + label {
  top: -12px;
  font-size: 12px;
  color: #df1b21;
  background: #353535;
  padding: 0 4px;
}

.form-group-floating input.error,
.form-group-floating textarea.error,
.form-group-floating select.error {
  border-bottom: 2px solid #e74c3c !important;
}

.form-group-floating input.error + label,
.form-group-floating select.error + label,
.form-group-floating textarea.error + label {
  color: #e74c3c;
}

@media (max-width: 480px) {
  .form-group-floating {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group-floating i {
    margin-bottom: 6px;
    margin-right: 0;
    font-size: 1.1em;
  }

  .form-group-floating input,
  .form-group-floating select,
  .form-group-floating textarea {
    font-size: 15px;
  }

  .section-title {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .seccion-titulo-con-icono h2 {
    font-size: 22px;
  }

  .linea-decorativa {
    width: 60px;
  }

  button[type="submit"],
  button.btn,
  .btn-block {
    font-size: 18px;
    padding: 14px 10px;
  }

  .formulario-wrapper {
    padding: 24px 15px;
    margin: 20px 10px;
    box-shadow: none;
  }
}

.oculto {
  display: none !important;
}

.displa-color {
  display: inline-block;
  vertical-align: top;
}

.icono-gota {
  width: 20px;
  height: 20px;
  margin: 0 6px;
  vertical-align: middle;
}

.img-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.section-label {
  display: block;
  font-size: 15px;
  color: #f4f1ec;
  margin-bottom: 6px;
}

.pantalla-completa-con-fondo {
  min-height: 90%;
  min-width: 90%;
  background-image: url('../img/fondoOscu.png');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}


@media (max-width: 576px) {
  .pantalla-completa-con-fondo {
    background-position: top center;
  }
}


.contenedor-botones-centrado {
  background: rgba(53, 53, 53, 0.95);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
    /* Centrado vertical y horizontal */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center; /* para centrar el texto dentro de los botones */
}

.contenedor-botones-centrado .btn {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  max-width: 280px;
  background-color: #df1b21;
  border: none;
  color: #fff;
}

.logo-superior {
  text-align: center;
  margin-bottom: 30px;
}

.logo-superior img {
  max-width: 180px;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

/* Asegura que los labels de texto sean claros */
label,
.form-check-label,
.form-group label,
.section-label {
  color: #f4f1ec !important;
}

/* Corrige color de texto para las secciones de toner */
.displa-color {
  color: #f4f1ec !important;
}

.select2-container--default,
.select2-selection--single,
.select2-selection__rendered{
  font-weight: bold;
}

/* Estilo para encabezado centrado con gota de tinta doble */
.titulo-suministros {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #f4f1ec;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 10px;
  position: relative;
}

/* Contenedor del ícono doble */
.icono-gota-doble {
  display: inline-block;
  width: 24px;
  height: 24px;
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
}

/* Gota delantera (rojo) */
.icono-gota-doble .gota-roja {
  font-size: 24px;
  /*color: #df1b21; */
  color:#dbc9ca;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

/* Gota trasera (negra semitransparente) */
.icono-gota-doble .gota-negra {
  font-size: 24px;
  /*color: #1d1d1b;*/
  color:#dbc9ca;
  opacity: 0.5;
  position: absolute;
  left: 2px;
  top: 2px;
  z-index: 0;
}

.form-group.error {
  border: 1px solid #df1b21;
  padding: 10px;
  border-radius: 6px;
  background-color: rgba(223, 27, 33, 0.05);
}

.form-group.error label {
  color: #df1b21 !important;
}

.grupo-radio-error {
  border: 1px solid red;
  padding: 5px;
  border-radius: 4px;
  background: #ffe6e6;
}


.swal2-popup {
  background: #353535 !important;
  color: #f4f1ec !important;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
}

.swal2-title {
  color: #df1b21 !important;
}

.swal2-confirm {
  background-color: #df1b21 !important;
  color: white !important;
  border: none !important;
  font-weight: bold;
}

.swal2-cancel {
  background-color: #555 !important;
  color: white !important;
  border: none !important;
}

.swal2-icon.swal2-error {
  color: #df1b21 !important;
  border-color: #df1b21 !important;
}

.swal2-icon.swal2-success {
  color: #4CAF50 !important;
  border-color: #4CAF50 !important;
}

.select2-dark-container .select2-selection--single {
  background-color: #1d1d1b;
  color: #f4f1ec;
  border: 1px solid #888;
  border-radius: 6px;
  height: 40px;
  display: flex;
  align-items: center;
}

.select2-dark-container .select2-selection__rendered {
  color: #f4f1ec;
  font-weight: 500;
  padding-left: 10px;
}

.select2-dark-dropdown {
  background-color: #1d1d1b;
  color: #f4f1ec;
  border: 1px solid #df1b21;
}

.select2-dark-dropdown .select2-results__option {
  padding: 8px 12px;
  color: #f4f1ec;
}

.select2-dark-dropdown .select2-results__option--highlighted[aria-selected] {
  background-color: #df1b21;
  color: #fff;
}

.select2-dark-dropdown .select2-results__option[aria-selected=true] {
  background-color: #c6181e;
  color: #fff;
}

.select2-container--default .select2-dropdown {
  background-color: #1d1d1b !important;
  color: #f4f1ec !important;
  border: 1px solid #df1b21 !important;
}

.select2-container--default .select2-results__option {
  color: #f4f1ec !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #df1b21 !important;
  color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #c6181e !important;
  color: #fff !important;
}

.select2-dark-container .select2-selection__rendered {
  color: #f4f1ec !important; /* o el color perlado que uses */
  font-weight: 600;
}

.select2-container.select2-dark-container .select2-selection--single .select2-selection__rendered {
  color: #f4f1ec !important;
}

.select2-selection__rendered[title="Seleccione un equipo"] {
  color: #f4f1ec !important;
}

.select2-container.select2-dark-container .select2-selection--single .select2-selection__rendered {
  color: #f4f1ec !important;
  font-weight: 600;
  background-color: #1d1d1b !important;
}

/* Placeholder cuando no hay nada seleccionado */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #e1cacb !important; /* Un tono aperlado medio, no tan claro como #f4f1ec */
  opacity: 1 !important;
  font-weight: normal;
}

/* Texto seleccionado normal */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #f4f1ec !important;  /* Letra más viva */
  font-weight: 600;
}

/* Fondo del cuadro */
.select2-container--default .select2-selection--single {
  background-color: #1d1d1b !important;
  border: 1px solid #888;
  border-radius: 6px;
}

.btn.btn-primary.btn-block {
  background-color: #df1b21 !important;
  border-color: #c6181e !important;
  color: #fff !important;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  border-radius: 6px;
  padding: 14px 20px;
  box-shadow: 0 0 10px rgba(223, 27, 33, 0.3);
  transition: background-color 0.2s ease;
}

.btn.btn-primary.btn-block:hover {
  background-color: #c6181e !important;
  border-color: #a01216 !important;
}

.btn-outline-secondary {
    color: #ffffff !important;
    border-color: #6c757d;
}

.aviso-privacidad-link {
  color: #f4f1ec;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 15px;
  transition: color 0.2s ease;
}

.aviso-privacidad-link:hover {
  color: #df1b21;
  text-decoration: underline;
}

/* Fondo general del modal */
.modal-content {
  background-color: #2a2a2a;
  color: #f4f1ec;
  border-radius: 12px;
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Título del modal */
.modal-header .modal-title {
  color: #f4f1ec;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
}

/* Botón de cerrar */
.modal-header .close span {
  color: #f4f1ec;
  font-size: 24px;
  opacity: 0.8;
}

.modal-header .close span:hover {
  color: #df1b21;
  opacity: 1;
}

#fallbackLink.btn-outline-primary {
  border-color: #df1b21;
  color: #df1b21;
}

#fallbackLink.btn-outline-primary:hover {
  background-color: #df1b21;
  color: white;
}

#modalContenido .modal-content {
  background-color: #2a2a2a;
  color: #f4f1ec;
  border-radius: 12px;
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

#modalContenido .modal-header .modal-title {
  color: #f4f1ec;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
}

#modalContenido .modal-header .close span {
  color: #f4f1ec;
  font-size: 24px;
  opacity: 0.8;
}

#modalContenido .modal-header .close span:hover {
  color: #df1b21;
  opacity: 1;
}

#modalContenido .modal-body {
  background-color: #2a2a2a;
  color: #f4f1ec;
}

#modalContenido #fallbackMensaje {
  color: #f4f1ec;
}

#modalContenido #fallbackLink.btn-outline-primary {
  border-color: #df1b21;
  color: #df1b21;
}

#modalContenido #fallbackLink.btn-outline-primary:hover {
  background-color: #df1b21;
  color: white;
}

body.aviso-iframe {
  background-color: #2a2a2a;
  color: #f4f1ec;
  font-family: 'Segoe UI', sans-serif;
}

body.aviso-iframe .container.background-white {
  background-color: #2a2a2a !important;
  color: #f4f1ec !important;
}

body.aviso-iframe h2,
body.aviso-iframe h3,
body.aviso-iframe h4,
body.aviso-iframe b {
  color: #f4f1ec;
}

body.aviso-iframe a {
  color: #df1b21;
}

body.aviso-iframe a:hover {
  color: #f4f1ec;
  text-decoration: underline;
}

select {
  background-color: #1d1d1b;
  color: #f4f1ec;
  border: 1px solid #888;
  padding: 8px;
  border-radius: 6px;
}

select option {
  background-color: #2a2a2a;
  color: #f4f1ec;
}

select option:checked {
  background-color: #df1b21; /* color de selección */
  color: #94905d;
}

select option:disabled {
  color: #888 !important;
  background-color: #2a2a2a !important;
}

select option:hover,
select option:focus {
  background-color: #df1b21;
  color: white;
}

/*
body.pantalla-sin-scroll, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
*/
/* Ajuste para fondo */
.pantalla-completa-con-fondo {
  min-height: 100vh;
  min-width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background-size: cover;
  background-position: center;
}

/* Asegura que el contenedor no sea más ancho que la pantalla */
.contenedor-botones-centrado {
  width: 90%;
  max-width: 400px;
  padding: 30px 20px;
  box-sizing: border-box;
}

.contenedor-botones-centrado .btn:hover {
  background-color: #b36d6d;
  color: #1d1d1b;
}