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;
}

.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;
}

.order-item {
  height: 40px;
  display: flex;
  align-items: center;
}

:root,
html.theme-light {
  /* Основные */
  --app-primary: #192e3f;
  --app-secondary: #4fa07f;
  --app-tertiary: #d4a373;
  /* Фоны */
  --app-bg: #f5f5f5;
  --app-surface: #ffffff;
  /* Текст */
  --app-text: #212121;
  --app-text-secondary: #757575;
  /* Границы */
  --app-border: #e0e0e0;
  /* AppBar */
  --app-appbar: #192e3f;
  --app-appbar-text: #ffffff;
}

html.theme-dark {
  --app-primary: #3a6a8a;
  --app-secondary: #6ab89a;
  --app-tertiary: #d4a373;
  --app-bg: #2f3337;
  --app-surface: #3c4145;
  --app-text: #ffffff;
  --app-text-secondary: rgba(255,255,255,.7);
  --app-border: rgba(255,255,255,.12);
  --app-appbar: #3b5668;
  --app-appbar-text: #ffffff;
}

body {
  background: var(--app-bg);
  color: var(--app-text);
}
.card {
  background: var(--app-surface);
  border-color: var(--app-border);
}

header {
  background: var(--app-appbar);
  color: var(--app-appbar-text);
}

a {
  color: var(--app-primary);
}

html.theme-light .text-muted {
  color: var(--app-text-secondary) !important;
}

html.theme-dark .text-muted {
  color: var(--app-text-secondary) !important;
}

main,
footer,
header {
  color: var(--app-text);
}

.footer,
.container-fluid,
.content,
.text-center {
  background: transparent;
}

.card,
.border,
.border-bottom,
.border-top {
  border-color: var(--app-border) !important;
}
