html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.roslena-page-content {
  flex: 1 0 auto;
  width: 100%;
}

.roslena-footer {
  flex: 0 0 auto;
  width: 100%;
  border-top: 2px solid #111;
  background: #23272b;
  color: #f5f5f5;
}

.roslena-footer-inner {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 0.76rem;
  line-height: 1.2;
}

.roslena-footer-copy,
.roslena-footer-release {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.roslena-footer-release strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.roslena-footer-separator {
  color: #899097;
}

.roslena-footer-link {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.roslena-footer-link:hover,
.roslena-footer-link:focus-visible {
  color: #fff;
  border-bottom-width: 2px;
}

body #chat-fab,
body #ayuda-fab {
  bottom: calc(12px + var(--roslena-footer-visible-height, 0px));
}

body.portal-auditoria .roslena-footer {
  border-top-color: var(--portal-accent);
  background: var(--portal-ink);
}

.app-release-modal {
  z-index: 11050;
}

body.app-release-open .modal-backdrop {
  z-index: 11040;
}

.app-release-modal .modal-dialog {
  width: min(720px, calc(100% - 24px));
  max-width: 720px;
}

.app-release-modal .modal-content {
  max-height: min(760px, calc(100vh - 32px));
  border: 1px solid #111;
  border-radius: 6px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.app-release-header {
  min-height: 86px;
  padding: 18px 22px;
  border-bottom: 0;
  border-radius: 0;
  background: #1d2023;
  color: #fff;
}

.app-release-kicker {
  margin-bottom: 3px;
  color: #bfc4c8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.app-release-header .modal-title {
  font-size: 1.55rem;
  font-weight: 750;
}

.app-release-body {
  padding: 0 24px;
  background: #fff;
}

.app-release-entry {
  padding: 22px 0 20px;
  border-bottom: 1px solid #d9dde0;
}

.app-release-entry:last-child {
  border-bottom: 0;
}

.app-release-meta {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #626a70;
  font-size: 0.78rem;
}

.app-release-version {
  color: #202428;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.app-release-entry h3 {
  margin: 0 0 12px;
  color: #16191c;
  font-size: 1.08rem;
  font-weight: 750;
}

.app-release-entry ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #343a40;
}

.app-release-entry li + li {
  margin-top: 8px;
}

.app-release-actions {
  min-height: 72px;
  padding: 12px 22px;
  border-top: 1px solid #d9dde0;
  border-radius: 0;
  background: #f6f7f8;
}

body.portal-auditoria .app-release-header {
  background: var(--portal-ink);
}

body.portal-auditoria .app-release-actions .btn-dark {
  background: var(--portal-accent-dark);
  border-color: var(--portal-accent-dark);
}

@media (max-width: 640px) {
  .roslena-footer-inner {
    min-height: 38px;
    padding: 7px 12px;
    flex-direction: row;
    gap: 6px;
    font-size: 0.7rem;
  }

  .roslena-footer-copy,
  .roslena-footer-release {
    flex-wrap: nowrap;
    gap: 5px;
    white-space: nowrap;
  }

  .roslena-footer-rights,
  .roslena-footer-copy .roslena-footer-separator,
  .roslena-footer-version-label {
    display: none;
  }

  .roslena-footer-release {
    margin-left: auto;
  }

  .app-release-modal .modal-dialog {
    margin: 12px auto;
  }

  .app-release-modal .modal-content {
    max-height: calc(100vh - 24px);
  }

  .app-release-header,
  .app-release-body,
  .app-release-actions {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
