body {
  background-color: white !important;
  color: #000000;
  font-family: system-ui, sans-serif;
}

h2,
h4,
h5 {
  color: #050505;
}

input.form-control,
select.form-select,
button.btn,
textarea {
  background-color: #f9f9f9 !important;
  color: #000 !important;
  border-color: #ccc !important;
}

button.btn-dark {
  background-color: #111 !important;
  color: #fff !important;
  border: none;
}

button.btn-dark:hover {
  background-color: #222 !important;
}

.list-group-item {
  background-color: #f4f4f4;
  color: #000;
  border-color: #ddd;
  cursor: pointer;
}

.list-group-item:hover {
  background-color: #eaeaea;
}

#chatBox {
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 6px;
}

audio {
  background: #f8f8f8;
  border-radius: 6px;
  width: 100%;
  margin-top: 5px;
}

::placeholder {
  color: #777 !important;
}

a {
  color: #0047ab;
}

a:hover {
  text-decoration: underline;
}

@keyframes flashSuccess {
  0% {
    background-color: #198754;
    color: #fff;
  }

  50% {
    background-color: #28c76f;
    color: #fff;
  }

  100% {
    background-color: #198754;
    color: #fff;
  }
}

.btn.flash-success {
  background-color: #198754 !important;
  color: #fff !important;
  border-color: #198754 !important;
  animation: flashSuccess 1s ease-in-out;
}

@keyframes flashViz {
  from {
    height: 8px;
    opacity: 0.4;
  }

  to {
    height: 32px;
    opacity: 1;
  }
}

.tab-btn {
  border: 1px solid lightgray;
  background-color: white;
  color: gray;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

.tab-btn:hover {
  background-color: #f5f5f5;
}

.tab-btn.active {
  background-color: #d4f6e0;
  /* light green */
  color: #067d56;
  /* WhatsApp green */
  border-color: #067d56;
}

#incomingRequests {
  background: none !important;
}

@keyframes pulseText {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.incoming-requests-title {
  animation: pulseText 1.8s ease-in-out infinite;
  transition: all 0.3s;
  color: #067d56;
  /* WhatsApp green */
}

.incoming-requests-title i,
.btn .bi {
  font-size: 0.9rem;
  line-height: 1;
}

.btn .bi {
  font-size: 1rem;
  /* or use 16px to match badge scale */
  vertical-align: middle;
}

/* Normalize Accept/Reject button icon size to match ✓ icon */
#incomingRequests .bi-check-circle-fill,
#incomingRequests .bi-x-circle-fill {
  font-size: 0.85rem;
  /* Adjust to match your ✓ */
  vertical-align: middle;
}

#incomingRequests .bi {
  font-size: 0.75rem !important;
  vertical-align: middle;
}

.nav-item.active i,
.nav-item.active small {
  color: #067d56;
  /* WhatsApp green */
  font-weight: 600;
}

.nav-item i,
.nav-item small {
  color: #6c757d;
  /* Bootstrap's gray-600 */
  transition: color 0.2s;
}

.fixed-bottom .nav-item i,
.fixed-bottom .nav-item small {
  color: #6c757d;
  /* default muted gray */
  transition: color 0.2s;
}

.fixed-bottom .nav-item.active {
  color: #067d56 !important;
  font-weight: 600;
}

.fixed-bottom .nav-item.active i,
.fixed-bottom .nav-item.active small {
  color: #067d56 !important;
}