/* Custom Radio Style 2 - Button Style */
.radio-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-button {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.radio-button-label {
  display: inline-block;
  width: 250px;
  padding: 0.75rem 1.5rem;
  background: var(--green-11);
  color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.radio-button-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.radio-button-label:hover::before {
  width: 100%;
  height: 200px;
}

.radio-button:checked + .radio-button-label {
  background: var(--red-a10);
  color: white;
  border-color: var(--red-a10);
  transform: scale(1.05);
  box-shadow: 0 5px 10px var(--red-a10);
}

@media (max-width: 768px) {
  .radio-button-label {
    display: block;
    width: 100% !important;
  }
}

.alert-sucface-user {
  color: #002bb7c5;
  background-color: #0040ff08;
  box-shadow: inset 0 0 0 1px #003eff3e;
}

.alert-sucface-user .alert-link {
  color: #002bb7c5;
}

.alert-sucface-ceo {
  color: #1f0099af;
  background-color: #4900ff07;
  box-shadow: inset 0 0 0 1px #3100fb35;
}

.alert-sucface-user .alert-link {
  color: #1f0099af;
}

.border-purple {
  border-color: #aa60c8 !important;
}

.bg-custom-primary {
  background-color: #4e9170 !important;
  color: #ffffff;
}

.text-custom-primary {
  color: #4e9170 !important;
}

.border-custom-primary {
  border-color: #4e9170 !important;
}

/* ปรับแต่ง Badge ให้นุ่มนวลขึ้น */
.badge-form-no {
  font-size: 0.9rem;
  padding: 8px 12px;
  font-weight: 500;
}
