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 {
  margin-bottom: 60px;
  background: #f8f9fb;
}

.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;
}

.today-header-action {
  white-space: nowrap;
}

.today-card {
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.today-card:hover {
  transform: translateY(-1px);
}

.today-card-layout {
  min-width: 0;
}

.today-time {
  min-width: 4.5rem;
  flex-shrink: 0;
}

.today-time-start {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.today-time-end {
  font-size: 0.85rem;
}

.today-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  padding: 0.35rem 0.65rem;
}

.today-pill-warning {
  background: #fff3cd;
  color: #7c5c00;
}

.today-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.today-note {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .today-header {
    align-items: stretch !important;
  }

  .today-header-action {
    width: 100%;
  }

  .today-card-layout {
    gap: 0.85rem !important;
  }

  .today-time {
    min-width: 3.75rem;
  }

  .today-time-start {
    font-size: 1rem;
  }

  .today-time-end {
    font-size: 0.75rem;
  }

  .today-title {
    font-size: 1rem !important;
  }

  .today-note {
    -webkit-line-clamp: 1;
  }
}