:root {
  --turnos-header-height: 92px;
  --turnos-footer-height: 34px;
  --turnos-page-bg: #f3f6fa;
  --turnos-primary: #0d6efd;
}

html,
body {
  min-height: 100%;
}

body {
  background-color: var(--turnos-page-bg);
  color: #162033;
  font-family: Arial, Helvetica, sans-serif;
  padding-bottom: var(--turnos-footer-height);
  padding-top: var(--turnos-header-height);
}

.turnos-header {
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
  height: var(--turnos-header-height);
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1030;
}

.turnos-header .container-fluid {
  height: 100%;
}

.turnos-header-side {
  flex: 0 0 300px;
}

.turnos-header-title {
  flex: 1 1 auto;
  color: #07152f;
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

.turnos-logo {
  max-height: 64px;
  width: auto;
}

.turnos-logo-pba {
  max-height: 58px;
  max-width: 230px;
  width: auto;
}

.turnos-brand-text {
  color: #07152f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
}

.turnos-title {
  color: var(--turnos-primary) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.1rem;
  line-height: 1.05;
}

.turnos-main {
  padding-bottom: 2rem;
}

.turnos-home-container {
  max-width: 1160px;
  padding-top: 2rem;
}

.turnos-card {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: .35rem;
}

.turnos-welcome {
  align-items: center;
  background-color: #fff;
  border-left: 4px solid #0dcaf0;
  box-shadow: 0 .15rem .45rem rgba(12, 32, 64, .07);
  color: #162033;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  min-height: 82px;
  padding: 1rem 1.25rem;
}

.turnos-welcome h1 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .15rem;
}

.turnos-welcome p {
  color: #536273;
  margin: 0;
}

.turnos-terms-link {
  background: transparent;
  border: 0;
  color: #0d6efd;
  font-size: .9rem;
  font-weight: 700;
  padding: .25rem 0;
  text-decoration: underline;
}

.turnos-terms-link:hover { color: #084298; }

.turnos-welcome-icon {
  align-items: center;
  background-color: #e6f8fc;
  border-radius: 50%;
  color: #087990;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.15rem;
  height: 2.6rem;
  justify-content: center;
  margin-right: 1rem;
  width: 2.6rem;
}

.turnos-action {
  transition: transform .15s ease, box-shadow .15s ease;
}

.turnos-action:hover {
  box-shadow: 0 .65rem 1.25rem rgba(12, 32, 64, .14) !important;
  transform: translateY(-3px);
}

.turnos-primary-action {
  background-color: #0d6efd !important;
  border: 0;
  color: #fff;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  min-height: 148px;
  overflow: hidden;
  position: relative;
}

.turnos-home-action {
  background-color: #fff;
  border: 1px solid #dfe6ee;
  min-height: 225px;
}

.turnos-home-action .card-body {
  text-align: center;
}

.turnos-home-action .turnos-card-footer-link {
  align-items: center;
  display: flex;
  justify-content: space-between;
  text-align: left;
}

.turnos-home-action .turnos-action-icon {
  background-color: #edf4ff;
  border-radius: .65rem;
  color: #0d6efd;
  font-size: 1.9rem;
  height: 4.75rem;
  width: 4.75rem;
}

.turnos-home-action .turnos-card-arrow,
.turnos-home-action .turnos-card-footer-link { color: #0d6efd; }

.turnos-home-action-success .turnos-action-icon { background-color: #e5f4ef; color: #146c43; }
.turnos-home-action-success .turnos-card-arrow,
.turnos-home-action-success .turnos-card-footer-link { color: #146c43; }

.turnos-home-action-danger .turnos-action-icon { background-color: #fbe9eb; color: #b02a37; }
.turnos-home-action-danger .turnos-card-arrow,
.turnos-home-action-danger .turnos-card-footer-link { color: #b02a37; }

.turnos-home-action-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.turnos-home-action-primary .turnos-action-icon {
  background-color: #fff;
  color: #0d6efd;
}

.turnos-home-action-primary .turnos-action-title,
.turnos-home-action-primary .turnos-action-text,
.turnos-home-action-primary .turnos-card-arrow,
.turnos-home-action-primary .turnos-card-footer-link { color: #fff; }

.turnos-home-action-primary .turnos-action-text { color: rgba(255, 255, 255, .83); }

.turnos-primary-action::after {
  background-color: rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
  height: 13rem;
  position: absolute;
  right: -4.5rem;
  top: -6rem;
  width: 13rem;
}

.turnos-primary-action .card-body {
  position: relative;
  z-index: 1;
}

.turnos-primary-action h2 {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

.turnos-primary-action p {
  color: rgba(255, 255, 255, .82);
}

.turnos-action-kicker {
  color: #bfeaf5 !important;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04rem;
  text-transform: uppercase;
}

.turnos-secondary-action {
  background-color: #fff;
  min-height: 200px;
  position: relative;
}

.turnos-secondary-action::before {
  border-radius: .35rem .35rem 0 0;
  content: "";
  height: .25rem;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.turnos-action-success::before {
  background-color: #198754;
}

.turnos-action-danger::before {
  background-color: #dc3545;
}

.turnos-action-info::before {
  background-color: #0dcaf0;
}

.turnos-secondary-action .card-body {
  gap: .25rem;
}

.turnos-action-icon {
  align-items: center;
  border-radius: .75rem;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.35rem;
  height: 3.25rem;
  justify-content: center;
  width: 3.25rem;
}

.turnos-action-icon-primary {
  background-color: #fff;
  color: #0d6efd;
}

.turnos-action-icon-success {
  background-color: #d1e7dd;
  color: #0f5132;
}

.turnos-action-icon-danger {
  background-color: #f8d7da;
  color: #842029;
}

.turnos-action-icon-info {
  background-color: #cff4fc;
  color: #055160;
}

.turnos-action-arrow {
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  color: #0d6efd;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.turnos-card-arrow {
  font-size: 1rem;
  transition: transform .15s ease;
}

.turnos-action:hover .turnos-card-arrow {
  transform: translateX(4px);
}

.turnos-action-title {
  color: #162033;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  line-height: 1.15;
}

.turnos-action-text {
  font-size: .88rem;
  line-height: 1.35;
}

.turnos-card-footer-link {
  font-size: .9rem;
  font-weight: 700;
}

.turnos-terms-list li { margin-bottom: 1rem; }

.turnos-form-container {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.turnos-wizard-card {
  overflow: hidden;
}

.turnos-wizard-header {
  background-color: #0d6efd;
  border: 0;
  color: #fff;
  padding: 0;
}

.turnos-wizard-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  padding: 1.25rem 1.5rem;
}

.turnos-wizard-stepbar {
  background-color: rgba(0, 0, 0, .16);
  padding: .8rem 1.5rem;
  position: relative;
}

.turnos-wizard-stepbar .turnos-stepper {
  margin: 0 auto;
  max-width: 760px;
}

.turnos-wizard-stepbar .turnos-steps-track {
  background-color: rgba(255, 255, 255, .35);
  height: 3px;
}

.turnos-wizard-stepbar .turnos-wizard-progress {
  background-color: #fff;
  height: 100%;
  transition: width .2s ease;
  width: 0;
}

.turnos-wizard-stepbar .turnos-step {
  background-color: #0d6efd;
  border-color: rgba(255, 255, 255, .68);
  color: rgba(255, 255, 255, .88);
}

.turnos-wizard-stepbar .turnos-step-label {
  color: rgba(255, 255, 255, .7);
}

.turnos-wizard-stepbar .turnos-step-item.active .turnos-step {
  background-color: #fff;
  border-color: #fff;
  color: #0d6efd;
}

.turnos-wizard-stepbar .turnos-step-item.active .turnos-step-label {
  color: #fff;
}

.turnos-wizard-body {
  padding: 1.5rem;
}

.turnos-wizard-step .card-header {
  display: none;
}

.turnos-wizard-step .card-body,
.turnos-wizard-step .turnos-step-content {
  background-color: transparent !important;
  padding: 0;
}

.turnos-wizard-actions,
.turnos-wizard-step .card-footer {
  background-color: transparent;
  border-top: 1px solid #dee2e6;
  margin-top: 1.5rem;
  padding: 1.25rem 0 0;
}

.turnos-simple-container {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.turnos-simple-card {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  overflow: hidden;
}

.turnos-simple-header {
  background-color: #146c43;
  border: 0;
  color: #fff;
  padding: 1.15rem 1.5rem;
}

.turnos-simple-header h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.turnos-cancel-card .turnos-simple-header { background-color: #b02a37; }

.turnos-simple-body { padding: 1.5rem; }

.turnos-form-hint {
  background-color: #f2f7f4;
  border-left: 3px solid #198754;
  color: #344b40;
  font-size: .94rem;
  margin-bottom: 1.5rem;
  padding: .8rem 1rem;
}

.turnos-cancel-card .turnos-form-hint {
  background-color: #fdf1f2;
  border-left-color: #b02a37;
  color: #63272d;
}

.turnos-simple-footer {
  align-items: center;
  background-color: #fff;
  border-top: 1px solid #dee2e6;
  display: flex;
  gap: .65rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
}

.turnos-btn-consult,
.turnos-btn-cancel {
  background-color: #146c43;
  border-color: #146c43;
  color: #fff;
}

.turnos-btn-consult:hover,
.turnos-btn-cancel:hover { color: #fff; filter: brightness(.92); }

.turnos-btn-cancel {
  background-color: #b02a37;
  border-color: #b02a37;
}

.turnos-footer {
  background-color: #212529;
  bottom: 0;
  height: var(--turnos-footer-height);
  left: 0;
  position: fixed;
  right: 0;
  z-index: 1030;
}

.turnos-footer .row,
.turnos-footer .col-md {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.turnos-footer-brand {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: 0;
}

.turnos-stepper {
  margin: 1rem auto 0;
  max-width: 820px;
  position: relative;
}

.turnos-steps-track {
  background-color: #d6dbe1;
  height: 3px;
  left: 10%;
  position: absolute;
  right: 10%;
  top: 1.05rem;
  z-index: 0;
}

.turnos-steps-progress {
  background-color: var(--turnos-primary);
  height: 100%;
  width: 0;
}

.turnos-step-item {
  position: relative;
  text-align: center;
  z-index: 1;
}

.turnos-step {
  align-items: center;
  background-color: #fff;
  border: 2px solid #adb5bd;
  border-radius: 50%;
  color: #6c757d;
  display: inline-flex;
  font-weight: 700;
  height: 2.1rem;
  justify-content: center;
  width: 2.1rem;
}

.turnos-step-item.active .turnos-step {
  background-color: var(--turnos-primary);
  border-color: var(--turnos-primary);
  color: #fff;
}

.turnos-step-label {
  color: #6c757d;
  font-size: .82rem;
  margin-top: .35rem;
}

.turnos-step-item.active .turnos-step-label {
  color: var(--turnos-primary);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  :root {
    --turnos-header-height: 76px;
  }

  .turnos-logo {
    max-height: 48px;
  }

  .turnos-logo-pba {
    display: inline-block;
    max-height: 44px;
    max-width: 58px;
  }

  .turnos-header-side {
    flex: 0 0 62px;
  }

  .turnos-header-title { font-size: .82rem; }

  .turnos-header-title { font-size: .82rem; }

  .turnos-home-container {
    padding-left: .35rem;
    padding-right: .35rem;
    padding-top: .45rem;
  }

  .turnos-form-container {
    margin-bottom: .75rem;
    margin-top: .45rem;
    padding-left: .35rem;
    padding-right: .35rem;
  }

  .turnos-simple-container {
    margin-bottom: .75rem;
    margin-top: .45rem;
    padding-left: .35rem;
    padding-right: .35rem;
  }

  .turnos-simple-header { padding: .9rem 1rem; }
  .turnos-simple-header h1 { font-size: 1.08rem; }
  .turnos-simple-body { padding: 1rem; }
  .turnos-form-hint { font-size: .84rem; margin-bottom: 1rem; padding: .65rem .75rem; }
  .turnos-simple-footer { padding: .8rem 1rem; }

  .turnos-wizard-title {
    font-size: 1.1rem;
    padding: .9rem 1rem;
  }

  .turnos-wizard-stepbar {
    padding: .65rem .6rem;
  }

  .turnos-wizard-stepbar .row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
  }

  .turnos-wizard-stepbar .turnos-step-item {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .turnos-wizard-stepbar .turnos-step-label {
    font-size: .64rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .turnos-wizard-body { padding: 1rem; }

  .turnos-wizard-actions,
  .turnos-wizard-step .card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .turnos-main {
    padding-bottom: .75rem;
  }

  .turnos-welcome {
    margin-bottom: .45rem !important;
    flex-wrap: wrap;
    min-height: auto;
    padding: .6rem .7rem;
  }

  .turnos-welcome-icon {
    font-size: 1rem;
    height: 2.2rem;
    margin-right: .7rem;
    width: 2.2rem;
  }

  .turnos-welcome h1 { font-size: .98rem; }
  .turnos-welcome p { font-size: .8rem; line-height: 1.3; }

  .turnos-terms-link {
    flex-basis: calc(100% - 2.9rem);
    font-size: .78rem;
    margin-left: 2.9rem;
    margin-top: .25rem !important;
  }

  .turnos-action-grid { --bs-gutter-x: .45rem; --bs-gutter-y: .45rem; }

  .turnos-home-action {
    min-height: 110px;
  }

  .turnos-home-action .card-body {
    align-items: center;
    flex-direction: row !important;
    gap: .7rem;
    padding: .7rem !important;
  }

  .turnos-home-action .card-body > div:first-child {
    display: contents !important;
  }

  .turnos-home-action .turnos-action-icon {
    border-radius: .55rem;
    font-size: 1rem;
    height: 2.3rem;
    width: 2.3rem;
  }

  .turnos-home-action .turnos-action-icon { order: 1; }

  .turnos-home-action .turnos-card-arrow {
    display: inline-block;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .turnos-home-action .turnos-card-footer-link {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    order: 4;
    padding-top: 0 !important;
  }

  .turnos-home-action .turnos-card-footer-text { display: none; }

  .turnos-action-title {
    flex: 0 0 6.9rem;
    font-size: .88rem;
    line-height: 1.18;
    margin: 0 !important;
    order: 2;
  }

  .turnos-action-text {
    flex: 1 1 auto;
    font-size: .73rem;
    line-height: 1.35;
    margin: 0 !important;
    order: 3;
  }

  .turnos-primary-action,
  .turnos-secondary-action {
    min-height: auto;
  }

  .turnos-welcome {
    align-items: flex-start;
  }

  .turnos-steps-track {
    left: 12%;
    right: 12%;
  }

  .turnos-step-label {
    font-size: .68rem;
  }
}
/* Envío del formulario público: componente acotado, sin cambiar el tema del portal. */
.turnos-upload-modal .modal-content { border-radius: 8px; }
.turnos-upload-modal.turnos-upload-fallback { background-color: rgba(0, 0, 0, .5); }
.turnos-upload-modal .turnos-upload-title { font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; }
.turnos-upload-modal .turnos-upload-description,
.turnos-upload-modal .btn { font-family: inherit; font-size: 14px; line-height: 1.45; }
.turnos-upload-modal .turnos-upload-hint { font-size: 12px; line-height: 1.45; }
.turnos-upload-modal .progress { height: 20px; }
.turnos-upload-modal .progress-bar { width: 0; }
