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

/* --- App shell --- */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  padding: 24px 18px;
  background: #fff;
  border-right: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.brand {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 28px;
}
.brand-dot { font-weight: 700; }

.menu { display: flex; flex-direction: column; gap: 10px; }
.menu-link {
  text-decoration: none;
  font-size: 20px;
  color: #111;
}
.menu-link.active { color: #3b5bff; }

.sidebar-bottom { margin-top: auto; padding-top: 18px; }

.content { flex: 1; }
.content-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #b8d2e2 0%, #ffd07a 45%, #ff8846 100%);
  display: flex;
}
.content-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
html, body { font-family: "Rethink Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(0,0,0,0.15);
  border-top-color: rgba(0,0,0,0.8);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
