
/* ==========================================================
   /assets/ui/ljh-forms.css

   LJH FORMS – GLOBAL BASE (STRICT)
   ÄGER ENDAST FORMULÄR, INTE LAYOUT
========================================================== */

/* -------------------------------
   FORM ROOT
-------------------------------- */

.ljh-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-width: 0;
}

/* -------------------------------
   FORM FIELD
-------------------------------- */

.ljh-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.ljh-form-field.is-frozen {
  opacity: 0.5;
  pointer-events: none;
}

/* -------------------------------
   FORM SHELL (VISUAL ONLY)
-------------------------------- */

.ljh-form-shell {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;

  padding: 1.8rem;
  border-radius: 20px;

  /* 🔥 endast visuellt – ingen layout */
}

/* -------------------------------
   INPUTS
-------------------------------- */

.ljh-form input,
.ljh-form textarea,
.ljh-form select {
  width: 100%;
  max-width: 100%;
  min-width: 0;

  padding: 0.85rem 1rem;
  border-radius: 14px;

  line-height: 1.5;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.22),
    rgba(255,255,255,0.14)
  );

  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(235,245,255,0.95);

  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.ljh-form input:focus,
.ljh-form textarea:focus,
.ljh-form select:focus {
  outline: none;
  border-color: rgba(120,180,255,0.6);

  box-shadow: 0 0 0 2px rgba(120,180,255,0.15);
}

/* -------------------------------
   ACTION BAR
-------------------------------- */

.ljh-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 1.2rem;
}

/* -------------------------------
   CHECKBOX / RADIO
-------------------------------- */

.ljh-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.ljh-checkbox input {
  accent-color: var(--ljh-aqua);
}


/* -------------------------------
   FORM GRID
-------------------------------- */
.ljh-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.ljh-form-span-12 { grid-column: 1 / -1; }
.ljh-form-span-6  { grid-column: span 1; }

@media (max-width: 600px) {
  .ljh-form-grid {
    grid-template-columns: 1fr;
  }
  .ljh-form-span-6 {
    grid-column: 1 / -1;
  }
}

/* -------------------------------
   FONT & PLACEHOLDER
-------------------------------- */
.ljh-form input,
.ljh-form textarea,
.ljh-form select {
  font-size: 0.95rem;
  font-family: inherit;
}

.ljh-form input::placeholder,
.ljh-form textarea::placeholder {
  color: rgba(180, 210, 255, 0.4);
}






                                                                                                                                                                                                                                                                                                                                         