body {
  background: #FEF9C3;
  font-family: system-ui, sans-serif;
}
.first-header {
    background: #3772ff;
    color: white !important;
}
button.primary {
  background: #000;
  color: #ffffff;
}

input, select {
  border-radius: 12px;
  padding: 12px;
  width: 100%;
}
/* TAG MULTISELECT STYLES */

.tag {
  background: #3772ff;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag button {
  background: none;
  border: none;
  color: #3772ff;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.tag-option {
  border: 1px solid #e5e7eb;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  background: #ffffff;
}

.tag-option.active {
  background: #3772ff;
  border-color: #3772ff;
  font-weight: 600;
  color:#fff
}
.score-card {
  display: flex;
  align-items: flex-start;          /* 👈 proper vertical alignment */
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #3772ff;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}

/* 🔥 RADIO SIZE FIX */
.score-card input[type="radio"] {
  width: 18px;                      /* 👈 control size */
  height: 18px;
  margin-top: 4px;                  /* aligns with title */
  flex-shrink: 0;
  accent-color: #2563eb;            /* blue fill */
}

.score-card p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
}

.score-card strong {
  font-size: 14px;
}

/* Hover */
.score-card:hover {
  border-color: #3772ff;
}

/* Selected state */
.score-card:has(input:checked) {
  border-color: #2563eb;
  background: #f6f6ff;
}

.score-card input:checked + div {
  font-weight: 600;
}

/* Critical */
.score-card.critical {
  border-color: #fecaca;
}

.score-card.critical:has(input:checked) {
  background: #fee2e2;
  border-color: #ef4444;
}
.final-submit
{
color:#ffffff !important;
}

.toast {
  min-width: 280px;
  max-width: 340px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  animation: fadeSlide 0.3s ease forwards;
}

.toast.error {
  background: #ef4444;
}

.toast.success {
  background: #16a34a;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .final-submit {
    width: auto;              
    max-width: 420px;        
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}
