.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-header .logo {
  display: flex;
  align-items: center;
}

.modal-header .logo img {
  height: 50px;
  margin-right: 10px;
}

.role-toggle-buttons {
  display: flex;
  justify-content: center;
}

.role-toggle-btn {
  background-color: white;
  color: black;
  border: 1px solid #9c9b9b;
  border-radius: 0;
}

.role-toggle-btn.active {
  background-color: lightgray;
  color: black;
  border: 1px solid #9c9b9b;
}

.role-toggle-btn:hover {
  border: 1px solid #9c9b9b;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
#captchaBackground {
  height: 200px;
  width: 250px;
  background-color: #2d3748;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#captchaHeading {
  color: white;
}

#captcha {
  margin-left: 10px ;
  font-size: 20px;
  letter-spacing: 2px;
  color: #0D47A1;
}

.status-icon {
  width: 40px;
  height: 40px;
}

.mask {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.mask-star-on {
  background-color: rgb(228, 228, 9);
}
.mask-star-off {
  background-color: rgb(187, 187, 187);
}


.underline-tabs .nav-tabs {
  border-bottom: 2px solid #e9ecef;
}

.underline-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  padding: 1rem 1.5rem;
  margin-bottom: -2px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
}

.underline-tabs .nav-link:hover {
  border-bottom-color: #0d6efd50;
  color: #0d6efd;
}

.underline-tabs .nav-link.active {
  border-bottom-color: #0d6efd;
  color: #0d6efd;
}

/* Content Animation */
.tab-pane.fade {
  transition: all 0.2s ease-out;
}

.tab-pane.fade.show {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

input.disabled {
  pointer-events: none;
  background-color: #ececec;
}

select.disabled {
  pointer-events: none;
  background-color: #ececec;
}


.chat {
  display: flex;
  align-items: flex-end;
  margin-bottom: 1rem;
}
.chat-receiver {
  justify-content: flex-start;
}
.chat-sender {
  justify-content: flex-end;
}
.chat-avatar {
  display: flex;
  align-items: center;
}
.avatar .size-10 {
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: 9999px; /* Fully rounded */
  margin-right: 0.5rem;
}
.chat-sender .avatar {
  margin-left: 0.5rem;
  margin-right: 0;
  order: 2; /* Move avatar to the right */
}
.chat-sender .chat-bubble {
  order: 1; /* Move chat bubble to the left */
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-bubble {
  max-width: 50vw;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background-color: #f1f1f1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.chat-sender .chat-bubble {
  background-color: #d1e7fd;
}
.chat-details {
  font-size: 0.75rem;
  color: #999;
}

.icon-button{
  cursor: pointer;
}

.menu-item.selected {
  background-color: #80b3ff;
}

input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  -webkit-appearance: none; /* Chrome, Safari 和 Opera */
  appearance: none; /* 標準 */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  /* 取消上下邊框間距 */
  padding-right: 0; /* 根據需要調整 */
}
