/* 
  VULCAN DESIGN SYSTEM - MOLECULES
  Combinations of atoms
*/

/* --- GLASS CARD --- */

.v-card {
  background: var(--s-color-surface-glass);
  backdrop-filter: blur(var(--s-glass-blur));
  border: 1px solid var(--s-glass-border);
  border-radius: var(--p-radius-sm);
  padding: var(--p-space-6);
  transition: all var(--s-motion-duration-medium) var(--s-ease-expo-out);
}

.v-card:hover {
  border-color: rgba(0, 238, 129, 0.3);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
}

.v-card--interactive:hover {
  transform: translateY(-5px);
  box-shadow: var(--s-glow-primary);
}

/* --- FORM FIELD --- */

.v-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--p-space-1);
  margin-bottom: var(--p-space-4);
}

.v-form-field__error {
  font-size: 10px;
  color: var(--s-color-error);
  font-family: var(--p-font-mono);
  text-transform: uppercase;
}

/* --- TOOLTIP (CSS Only base) --- */

.v-tooltip {
  position: relative;
  display: inline-block;
}

.v-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 0.5rem;
  background-color: var(--p-color-gray-900);
  color: white;
  font-size: 10px;
  font-family: var(--p-font-mono);
  border-radius: var(--p-radius-xs);
  border: 1px solid var(--s-color-primary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s var(--s-ease-expo-out);
}

.v-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
