/* Custom styles for HR Survey Portal */

.vertical-card {
  transition: all 0.2s ease;
}

.vertical-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Style links inside Umoor descriptions to be clearly clickable */
.vertical-card details div a {
  color: #2563eb; /* Blue-600 */
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.vertical-card details div a:hover {
  color: #1d4ed8; /* Blue-700 */
  text-decoration: underline;
}

.vertical-card details div a:visited {
  color: #7c3aed; /* Purple-600 for visited links */
}

.subvertical-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.subvertical-container.active {
  max-height: 1000px;
}

.checkbox-custom {
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-custom:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.success-animation {
  animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
