/* Love color theme — raspberry rose (#D63363) replaces Bootstrap primary */
:root {
  --bs-primary: #D63363;
  --bs-primary-rgb: 214, 51, 99;
  --bs-link-color: #D63363;
  --bs-link-color-rgb: 214, 51, 99;
  --bs-link-hover-color: #b52a53;
}

/* Navbar brand heart icon */
.navbar-brand-icon {
  font-size: 1.2rem;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease;
}

.navbar-brand:hover .navbar-brand-icon {
  transform: scale(1.2);
}

/* Navbar user avatar circle */
.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.9rem;
  transition: background-color 0.15s ease;
}

.user-avatar--in {
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.user-avatar--out {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.nav-link:hover .user-avatar--in,
.nav-link:focus .user-avatar--in {
  background-color: rgba(255, 255, 255, 0.38);
}

.nav-link:hover .user-avatar--out,
.nav-link:focus .user-avatar--out {
  background-color: rgba(255, 255, 255, 0.25);
}

.btn-primary {
  --bs-btn-bg: #D63363;
  --bs-btn-border-color: #D63363;
  --bs-btn-hover-bg: #b52a53;
  --bs-btn-hover-border-color: #b52a53;
  --bs-btn-active-bg: #a3264a;
  --bs-btn-active-border-color: #a3264a;
  --bs-btn-focus-shadow-rgb: 214, 51, 99;
  --bs-btn-disabled-bg: #D63363;
  --bs-btn-disabled-border-color: #D63363;
  background-color: #D63363;
  border-color: #D63363;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #b52a53;
  border-color: #b52a53;
}

.btn-primary:active,
.btn-primary.active {
  background-color: #a3264a;
  border-color: #a3264a;
}

.btn-outline-primary {
  --bs-btn-color: #D63363;
  --bs-btn-border-color: #D63363;
  --bs-btn-hover-bg: #D63363;
  --bs-btn-hover-border-color: #D63363;
  --bs-btn-active-bg: #D63363;
  --bs-btn-active-border-color: #D63363;
}

.bg-primary { background-color: #D63363 !important; }
.text-primary { color: #D63363 !important; }
.border-primary { border-color: #D63363 !important; }

/* Override Bootstrap's default blue active states */
.dropdown-item.active,
.dropdown-item:active {
  background-color: #D63363;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #D63363;
}

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 #D63363;
}

html {
  position: relative;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-bottom: 0;
}

.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;
}