body {
  background: linear-gradient(135deg, #fa9464, #fdd365);
  min-height: 100vh;
}

.brand-logo {
  max-width: 250px;
  margin-bottom: 1rem;
}
.brand-logo-small {
  max-width: 180px;
      margin-bottom: 1rem;
      transition: transform 0.3s ease;
}

.brand-logo-small:hover {
  transform: scale(1.05) rotate(-2deg);
}

.btn-primary {
  border-radius: 2rem;
  font-weight: bold;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #4ABDAC, #3AA89B);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0.5rem 1rem rgba(74, 189, 172, 0.4);
}

/* Secondary button */
.btn-outline-secondary {
  border-radius: 2rem;
  border: 2px solid #f76c6c;
  color: #f76c6c;
}
.btn-outline-secondary:hover {
  background: #f76c6c;
  color: #fff;
}

.btn-delete {
  border-radius: 2rem;
  font-weight: bold;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #f76c6c, #f28b8b);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-delete:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0.5rem 1rem rgba(247, 108, 108, 0.4);
}

.bg-brand-coral {
  background-color: lightcoral;
}

.bg-brand-teal {
  background-color: teal;
}

.bg-brand-mint {
  background-color: mediumaquamarine;
}

.headline {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: bold;
  color: #4ABDAC;
  text-align: center;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

/* Tagline */
.tagline {
  text-align: center;
  color: #f76c6c;
  font-style: italic;
  margin-bottom: 2rem;
}

/* Card styling */
.card {
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Add playful circles in the corners */
.card::before,
.card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}
.card::before {
  width: 150px; height: 150px;
  background: #4ABDAC;
  top: -50px; right: -50px;
}
.card::after {
  width: 100px; height: 100px;
  background: #f76c6c;
  bottom: -40px; left: -40px;
}

.card-footer {
  border-top: none;
}

/* Inputs with playful look */
.form-control, .form-select {
  border-radius: 1rem;
  border: 2px solid #4ABDAC20;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus, .form-select:focus {
  border-color: #4ABDAC;
  box-shadow: 0 0 0 0.2rem rgba(74, 189, 172, 0.25);
  transform: scale(1.02);
}

/* Footer */
.footer {
  font-size: 0.9rem;
  background: #fff5f2;
  border-top: 3px solid #4ABDAC;
}

fieldset {
  border: 2px solid #4ABDAC !important;
  background: #fdfdfd;
}

legend {
  color: #4ABDAC;
  padding: 0 0.5rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.35em 0.65em;
}

.img-fixed-height {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.chat-fab {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
  border-radius: 50%;
  background-color: var(--bs-primary);
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out;
}

.chat-fab:hover {
  transform: scale(1.1);
}

.chat-modal {
  border-radius: 0.75rem;
  border: none;
}

.read-thread {
  opacity: 0.85;
  font-weight: normal;
}

.splash-section {
  background-color: #f8f9fa;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.splash-subtitle {
  font-size: 1.2rem;
  color: teal;
  margin-bottom: 1rem;
}

.splash-features {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  text-align: left;
  max-width: 400px;
}

.splash-features li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #343a40;
}

.splash-note {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 2rem;
}

.login-card {
  max-width: 420px;
  width: 100%;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0.75rem;
}

.status-badge {
  float: right;
}

.grecaptcha-badge {
    z-index: 9999; /* Adjust this value as needed */
}

.tab-scroll-container {
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent);
  mask-image: linear-gradient(to right, black 90%, transparent);
}

#toast-container .toast {
  min-width: 320px;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
  border-radius: 0.5rem;
}

.highlight-pulse {
  background: linear-gradient(45deg, #007bff, #00c4cc);
  border: none;
  color: #fff !important;
  animation: pulse-border 2s infinite;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.6);
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(0, 180, 255, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 180, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 180, 255, 0); }
}

.buddy-character {
  width: 90px;
  height: auto;
  animation: floaty 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.animated-helper {
  background: #f9f9f9;
  border-radius: 1rem;
  padding: 1rem;
  display: inline-block;
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.1);
  transition: transform 0.3s ease;
}

.animated-helper:hover {
  transform: scale(1.03);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}


