body {
  background-color: rgb(240, 240, 240);
}

.bg-img {
  background-image: url("../img/verificador.jpg");
  background-size: contain;
  min-height: 81vh;
  width: 70%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  background-repeat: no-repeat;
  justify-content: center;
}

.bg-img form {
  position: relative;
}

.bg-img form input {
  margin-bottom: 70px;
  margin-left: 30px;
  width: 50vh;
}
@media (min-width: 1600px) {
  .bg-img form input {
    margin-bottom: 120px;
    margin-left: 65px;
    width: 50vh;
  }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 377px) {
  .bg-img {
    background-image: url("../img/inspectores_banner_celular.jpg");
    background-size: contain;
    min-height: 100vh;
    width: 98%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    justify-content: center;
  }
  .bg-img form input {
    margin-bottom: 50px;
    margin-left: 10px;
    width: 30vh;
    padding: 1.5vh;
  }
}
@media only screen and (min-device-width: 260px) and (max-device-width: 280px) {
  .bg-img {
    background-image: url("../img/inspectores_banner_celular.jpg");
    background-size: contain;
    min-height: 90vh;
    width: 98%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    justify-content: center;
  }
  .bg-img form input {
    margin-bottom: 100px;
    margin-left: 8px;
    width: 30vh;
    padding: 1.5vh;
  }
}

@media only screen and (min-device-width: 300px) and (max-device-width: 360px) {
  .bg-img {
    background-image: url("../img/inspectores_banner_celular.jpg");
    background-size: contain;
    min-height: 90vh;
    width: 98%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    justify-content: center;
  }
  .bg-img form input {
    margin-bottom: 80px;
    margin-left: 8px;
    width: 30vh;
    padding: 1.5vh;
  }
}

@media only screen and (min-device-width: 381px) and (max-device-width: 450px) {
  .bg-img {
    background-image: url("../img/inspectores_banner_celular.jpg");
    background-size: contain;
    min-height: 82vh;
    width: 98%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    justify-content: center;
  }
  .bg-img form input {
    margin-bottom: 50px;
    margin-left: 20px;
    width: 30vh;
    padding: 1.5vh;
  }
  .container .buscar {
    width: 80% !important;
    padding-top: -20vh !important;
    margin-left: 2vh !important;
    margin-top: -15vh !important;
  }
}
@media only screen and (min-device-width: 500px) and (max-device-width: 770px) {
  .bg-img {
    background-image: url("../img/inspectores_banner_celular.jpg");
    background-size: cover;
    min-height: 130vh;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    justify-content: center;
  }
  .bg-img form input {
    margin-bottom: 60px;
    margin-left: 30px;
    width: 50vh;
    padding: 1.5vh;
  }
}
@media only screen and (min-device-width: 780px) and (max-device-width: 800px) {
  .bg-img {
    background-image: url("../img/inspectores_banner_celular.jpg");
    background-size: cover;
    min-height: 110vh;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    justify-content: center;
  }
  .bg-img form input {
    margin-bottom: 30px;
    margin-left: 0px;
    width: 50vh;
    padding: 1.5vh;
  }
}

@media only screen and (min-device-width: 801px) and (max-device-width: 900px) {
  .bg-img {
    background-image: url("../img/inspectores_banner_celular.jpg");
    background-size: cover;
    min-height: 114vh;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    justify-content: center;
  }
  .bg-img form input {
    margin-bottom: 30px;
    margin-left: 30px;
    width: 50vh;
    padding: 1.5vh;
  }
}
@media only screen and (min-device-width: 901px) and (max-device-width: 915px) {
  .bg-img {
    background-image: url("../img/inspectores_banner_celular.jpg");
    background-size: cover;
    min-height: 112vh;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    background-repeat: no-repeat;
    justify-content: center;
  }
  .bg-img form input {
    margin-bottom: 60px;
    margin-left: -20px;
    width: 50vh;
    padding: 1.5vh;
  }
}
.text_list_inspectores {
  padding: 20px;
  background-color: rgb(105, 25, 50);
  margin: 0px 0px 40px 0px;
  border-radius: 3rem;
  color: rgb(255, 255, 255);
}

.breadcrumb-item a {
  text-decoration: none !important;
}

@import url("https://fonts.googleapis.com/css?family=Fira+Sans");
/*Variables*/
.left-section .inner-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.background2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#0c0e10, #446182);
}
.background2 .ground {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 25vh;
  background: #0c0e10;
}
@media (max-width: 770px) {
  .background2 .ground {
    height: 0vh;
  }
}

.container2 {
  position: relative;
  margin: 0 auto;
  width: 85%;
  height: 80vh;
  padding-bottom: 25vh;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
@media (max-width: 770px) {
  .container2 {
    flex-direction: column;
    padding-bottom: 0vh;
  }
}

.left-section,
.right-section {
  position: relative;
}

.left-section {
  width: 40%;
}
@media (max-width: 770px) {
  .left-section {
    width: 100%;
    height: 40%;
    position: absolute;
    top: 0;
  }
}
@media (max-width: 770px) {
  .left-section .inner-content {
    position: relative;
    padding: 1rem 0;
  }
}

.heading {
  text-align: center;
  font-size: 9em;
  line-height: 1.3em;
  margin: 2rem 0 0.5rem 0;
  padding: 0;
  text-shadow: 0 0 1rem #000000;
}
@media (max-width: 770px) {
  .heading {
    font-size: 7em;
    line-height: 1.15;
    margin: 0;
  }
}

.subheading {
  text-align: center;
  max-width: 480px;
  font-size: 1.5em;
  line-height: 1.15em;
  padding: 0 1rem;
  margin: 0 auto;
}
@media (max-width: 770px) {
  .subheading {
    font-size: 1.3em;
    line-height: 1.15;
    max-width: 100%;
  }
}

.right-section {
  width: 50%;
}
@media (max-width: 770px) {
  .right-section {
    width: 100%;
    height: 60%;
    position: absolute;
    bottom: 0;
  }
}

.svgimg {
  position: absolute;
  bottom: 0;
  padding-top: 10vh;
  padding-left: 1vh;
  max-width: 100%;
  max-height: 100%;
}
@media (max-width: 770px) {
  .svgimg {
    padding: 0;
  }
}
.svgimg .bench-legs {
  fill: #0c0e10;
}
.svgimg .top-bench,
.svgimg .bottom-bench {
  stroke: #0c0e10;
  stroke-width: 1px;
  fill: #5b3e2b;
}
.svgimg .bottom-bench path:nth-child(1) {
  fill: #432d20;
}
.svgimg .lamp-details {
  fill: #202425;
}
.svgimg .lamp-accent {
  fill: #2c3133;
}
.svgimg .lamp-bottom {
  fill: linear-gradient(#202425, #0c0e10);
}
.svgimg .lamp-light {
  fill: #dff082;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 1rem #fefefe;
  }
  50% {
    text-shadow: 0 0 1.85rem #ededed;
  }
  100% {
    text-shadow: 0 0 1rem #fefefe;
  }
}

.qr-scan-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(20, 24, 28, 0.55);
  animation: qrBackdropIn 0.4s ease forwards;
}

.qr-scan-overlay__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  animation: qrPanelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform-origin: center center;
}

.qr-scan-overlay--closing {
  animation: qrBackdropOut 0.35s ease forwards;
  pointer-events: none;
}

.qr-scan-overlay--closing .qr-scan-overlay__panel {
  animation: qrPanelOut 0.35s ease forwards;
}

.qr-scan-overlay__header {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: qrFadeUp 0.5s ease 0.1s both;
}

.qr-scan-overlay__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(105, 25, 50, 0.1);
  color: #691932;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.qr-scan-overlay__profile {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: qrFadeUp 0.55s ease 0.15s both;
}

.qr-scan-overlay__photo-ring {
  width: 148px;
  height: 148px;
  margin: 0 auto 1.1rem;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, #691932 0%, #a33d5c 55%, #d4a574 100%);
  box-shadow: 0 12px 32px rgba(105, 25, 50, 0.28);
  animation: qrPhotoIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.qr-scan-overlay__photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #fff;
  background: #f1f3f5;
}

.qr-scan-overlay__name {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: #212529;
}

.qr-scan-overlay__status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.qr-scan-overlay__status--active {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.qr-scan-overlay__status--inactive {
  background: rgba(255, 193, 7, 0.15);
  color: #b78103;
}

.qr-scan-overlay__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.qr-scan-overlay__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #f8f9fa;
  border: 1px solid #eef0f2;
  min-height: 76px;
  animation: qrFadeUp 0.5s ease both;
}

.qr-scan-overlay__detail:nth-child(1) { animation-delay: 0.25s; }
.qr-scan-overlay__detail:nth-child(2) { animation-delay: 0.32s; }
.qr-scan-overlay__detail:nth-child(3) { animation-delay: 0.39s; }
.qr-scan-overlay__detail:nth-child(4) { animation-delay: 0.46s; }

.qr-scan-overlay__detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: rgba(105, 25, 50, 0.1);
  color: #691932;
  font-size: 0.95rem;
}

.qr-scan-overlay__detail small {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #868e96;
}

.qr-scan-overlay__detail strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #212529;
  word-break: break-word;
}

.qr-scan-overlay__prompt {
  margin: 0 0 1rem;
  text-align: center;
  color: #6c757d;
  font-size: 0.95rem;
  animation: qrFadeUp 0.5s ease 0.52s both;
}

.qr-scan-overlay__actions {
  display: grid;
  gap: 0.75rem;
}

.qr-scan-overlay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3.25rem;
  border-radius: 0.95rem;
  font-weight: 700;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  animation: qrBtnIn 0.45s ease both;
}

.qr-scan-overlay__btn:nth-child(1) { animation-delay: 0.58s; }
.qr-scan-overlay__btn:nth-child(2) { animation-delay: 0.66s; }
.qr-scan-overlay__btn:nth-child(3) { animation-delay: 0.74s; }

.qr-scan-overlay__btn:hover {
  transform: translateY(-2px);
}

.qr-scan-overlay__btn:active {
  transform: translateY(0);
}

.qr-scan-overlay__btn--danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.28);
}

.qr-scan-overlay__btn--success {
  background: #fff;
  color: #198754;
  border: 2px solid rgba(25, 135, 84, 0.35);
  box-shadow: 0 6px 18px rgba(25, 135, 84, 0.12);
}

.qr-scan-overlay__btn--primary {
  background: linear-gradient(135deg, #691932 0%, #8b2344 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(105, 25, 50, 0.28);
}

@keyframes qrBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes qrBackdropOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes qrPanelIn {
  from {
    transform: translateY(24px) scale(0.97);
  }
  to {
    transform: translateY(0) scale(1);
  }
}

@keyframes qrPanelOut {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(16px) scale(0.98);
  }
}

@keyframes qrPhotoIn {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes qrFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes qrBtnIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .qr-scan-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .qr-scan-overlay__panel {
    max-height: 94vh;
    padding: 1.35rem 1.15rem 1.15rem;
    border-bottom-left-radius: 1.1rem;
    border-bottom-right-radius: 1.1rem;
  }

  .qr-scan-overlay__photo-ring {
    width: 128px;
    height: 128px;
  }

  .qr-scan-overlay__name {
    font-size: 1.2rem;
  }

  .qr-scan-overlay__details {
    grid-template-columns: 1fr;
  }

  .qr-scan-overlay__detail {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qr-scan-overlay,
  .qr-scan-overlay__panel,
  .qr-scan-overlay__header,
  .qr-scan-overlay__profile,
  .qr-scan-overlay__photo-ring,
  .qr-scan-overlay__detail,
  .qr-scan-overlay__prompt,
  .qr-scan-overlay__btn {
    animation: none !important;
  }

  .qr-scan-overlay__btn {
    transition: none;
  }
}

.rating-modal {
  overflow: hidden;
  border-radius: 1.25rem;
}

.rating-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #691932 0%, #8b2344 100%);
  color: #fff;
}

.rating-modal__header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rating-modal__header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.25rem;
}

.rating-modal__subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
}

.rating-modal__inspector {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.rating-modal__inspector-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12);
}

.rating-modal__inspector-name {
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.25rem;
}

.rating-modal__inspector-meta {
  font-size: 0.875rem;
  color: #6c757d;
}

.rating-modal__intro h4 {
  font-weight: 700;
  color: #212529;
}

.rating-modal__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #343a40;
}

.rating-modal__label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(105, 25, 50, 0.1);
  color: #691932;
  font-size: 0.9rem;
}

.rating-modal__field .form-select,
.rating-modal__field .form-control {
  border: 1px solid #dee2e6;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rating-modal__field .form-select:focus,
.rating-modal__field .form-control:focus {
  border-color: #691932;
  box-shadow: 0 0 0 0.2rem rgba(105, 25, 50, 0.15);
}

.rating-modal__textarea {
  resize: none;
}

.rating-modal__hint {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.rating-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.rating-modal__submit {
  background-color: #691932;
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.rating-modal__submit:hover {
  background-color: #541428;
  color: #fff;
}

.rating-modal__submit:active {
  transform: translateY(1px);
}

#aviso_privacidad .select2-container {
  width: 100% !important;
}

#aviso_privacidad .select2-container--default .select2-selection--single {
  height: auto;
  min-height: 3.1rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 0.85rem;
}

#aviso_privacidad .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.8rem;
  padding-left: 0.25rem;
  color: #495057;
}

#aviso_privacidad .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 0.75rem;
}

#aviso_privacidad .select2-container--default.select2-container--open .select2-selection--single,
#aviso_privacidad .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #691932;
  box-shadow: 0 0 0 0.2rem rgba(105, 25, 50, 0.15);
}

@media (max-width: 575.98px) {
  .rating-modal__header,
  .rating-modal__inspector,
  .rating-modal__body,
  .rating-modal__footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .rating-modal__footer {
    flex-direction: column;
  }

  .rating-modal__footer .btn {
    width: 100%;
  }
}
