:root {
  --primary-color: #1B7FD3;
  /* global scope */
}

body {
  font-family: "Fira Sans", "Montserrat", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

h2 {
  font-weight: 300;
}

.panel-title {
  font-size: 1.1rem;
  margin-top: 1.2rem;
  font-weight: bold;
}

.blue-color-background {
  background-color: var(--primary-color);
}

.blue-font-color {
  color: var(--primary-color);
}

.panel-heading {
  border-bottom: 1.5px solid var(--primary-color);
}

#page-marker {
  font-size: 1.1rem;
  color: var(--primary-color);
}

.mandatory-fields-helper {
  font-weight: bold;
}

.mandatory>i,
.asterisk-color {
  color: #7B182C;
}

/* .mandatory::after {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font: var(--fa-font-solid);
  content: "\2a";
  color: #2199e4;
  margin-left: 0.2rem;
  z-index: 100;
} */

.continue-button {
  background-color: #2199e4;
  padding: 0.5rem 3.5rem;
  color: whitesmoke;
  font-weight: 500;
  cursor: pointer;

  &:hover {
    background-color: #1b7dba;
    color: whitesmoke;
  }
}

.disabled-button {
  background-color: #dedede;
  padding: 0.5rem 3.5rem;
  color: #a0a0a0;
  font-weight: 500;
  cursor: not-allowed;
}

.progress-bar {
  width: 1%;
  background-color: #2199e4;
}

.form-floating>.form-control-plaintext~label::after,
.form-floating>.form-control:focus~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after,
.form-floating>.form-select~label::after {
  background-color: transparent;
}

.help-block {
  color: #8a8a8a;
  font-size: 0.7rem;
  line-height: 1.5rem;
}


.input-container input.error,
.select-container select.error {
  border-color: red;
}

/* Selecciona el form-group solo si tiene un input o select con la clase error */
.form-group:has(input.error),
.form-group:has(select.error) {
  border: 1.5px solid red;
}

.input-container input.success {
  border-color: green;
}

.input-container,
.select-container {
  position: relative;
}

.input-container.error-emoji:after,
.select-container.error-emoji:after {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;

  position: absolute;
  top: 50%;
  right: 0;
  margin-right: 5%;
  transform: translateY(-50%);
  z-index: 100;
  color: red;

  font-family: "Font Awesome 5 Pro";
  content: "\f06a";
  font-weight: 400;
}

.input-container.success-emoji:after {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;

  position: absolute;
  top: 50%;
  right: 0;
  margin-right: 5%;
  transform: translateY(-50%);
  z-index: 100;
  color: green;

  font-family: "Font Awesome 5 Pro";
  content: "\f058";
  font-weight: 400;
}

/* Inputs */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.fade-enter {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.fade-enter-active {
  opacity: 1;
  transform: translateX(0);
}

.fade-exit {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s, transform 0.5s;
}

.fade-exit-active {
  opacity: 0;
  transform: translateX(-20px);
}

#validate-message-label {
  color: red;
}

#account-information-label {
  font-size: 0.9rem;
}


footer {
  background-color: #000000;
  color: whitesmoke;
  font-size: 0.7rem;
}

.footer-icon {
  text-decoration: none;
  color: whitesmoke;
}

#sponsors-section {
  border-top: solid 1px #2199e4;
}

/* Mobile */

input::placeholder,
select::placeholder {
  font-size: 0.75rem;
  /* Cambia el tamaño según tus necesidades */
}

#submit-button {
  font-size: 0.8rem;
}

@media (min-width: 574px) {

  .panel-title {
    font-size: 1.5rem;
  }

}

@media (min-width: 768px) {
  footer {
    font-size: 1rem;
  }

  .panel-title {
    font-size: 1.8rem;
  }


  input::placeholder,
  select::placeholder {
    font-size: 1rem;
    /* Cambia el tamaño según tus necesidades */
  }

  #submit-button {
    font-size: 1rem;
  }
}

/* UHI STYLING */

.table-uhi-themed {

  border-collapse: collapse;

  thead {
    text-align: center;
    font-size: 1.2rem;

    tr th {
      border: 1px solid #D3D3D3;
      border-top: none;
      position: relative;
    }

  }

  tbody {

    tr td:first-child {
      font-weight: bold;
    }

    tr td {
      border: 1px solid #D3D3D3;
    }

    tr:last-child td {
      border-bottom: none;
    }
  }
}

.form-group {

  >.form-control {
    padding-left: .25rem;
  }

  border: 1.33px solid #58595b;
  border-radius: 9.3px;
  padding: 0.5rem;

  label {
    font-size: 0.9rem;
    color: #848993;

  }


  &.left-border-straight {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }

  input:focus,
  textarea:focus,
  select:focus {
    outline: none;
    /* Optional: If you also want to clear any shadow or custom border */
    box-shadow: none;
    color: var(--primary-color)
  }

  input,
  select {
    border: none;
    outline: none;
    color: #0573CF;
    font-weight: 600;
    width: 100%;
    background-size: 16px auto;
  }

  input[type="date"]::-webkit-calendar-picker-indicator {
    width: 16px;
    height: 16px;
    cursor: pointer;
  }


  input::placeholder {
    color: transparent;
  }

}

.uhiba-btn {
  padding: 0.3rem 1.2rem;
  border: none
}

.uhiba-btn-primary {
  background-color: #0573CF;
}

.uhiba-btn-danger {
  background-color: #CE0000;
}

.uhiba-btn-success {
  background-color: #10B981;
}

.uhiba-btn-warning {
  background-color: #F4E110;
}

.uhiba-btn-secondary {
  background-color: #8c8c8c;
}

.uhiba-title {
  font-weight: bold;
  color: #0573CF;
}