/* DIAMARIX Core – baseline styles (the DIAMARIX Corporate theme extends these). */
.dmx-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dmx-form .form-field { display: flex; flex-direction: column; gap: 6px; }
.dmx-form .form-field--full { grid-column: 1 / -1; }
.dmx-form label { font-size: 0.86rem; font-weight: 600; }
.dmx-form .req { color: #b42318; }
.dmx-form input:not([type="checkbox"]), .dmx-form select, .dmx-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd6e0; border-radius: 8px; font: inherit; background: #fff; }
.dmx-form textarea { min-height: 140px; resize: vertical; }
.dmx-form .form-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.88rem; }
.dmx-form .form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.dmx-form .form-hint { margin: 0; font-size: 0.82rem; opacity: 0.75; }
.dmx-form .hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
.form-notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.form-notice--success { background: rgba(21, 115, 71, 0.1); color: #157347; border: 1px solid rgba(21, 115, 71, 0.3); }
.form-notice--error { background: rgba(180, 35, 24, 0.08); color: #b42318; border: 1px solid rgba(180, 35, 24, 0.3); }
.dmx-btn { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.85em 1.6em; border-radius: 999px; background: #c9a227; color: #071527; font-weight: 600; border: 0; cursor: pointer; text-decoration: none; }
.dmx-btn:hover { background: #e8c766; color: #071527; }
.dmx-grid { display: grid; gap: 24px; }
.dmx-grid.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dmx-grid.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dmx-grid.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dmx-meta-table { margin-bottom: 24px; }
.dmx-meta-table table { width: auto; min-width: 280px; border-collapse: collapse; }
.dmx-meta-table th { text-align: left; padding: 8px 16px 8px 0; color: #5b6676; font-weight: 600; }
.dmx-meta-table td { padding: 8px 0; }
.dmx-lang-switcher { position: relative; display: inline-block; }
.dmx-lang-switcher .lang-switcher__menu { display: none; position: absolute; right: 0; top: 100%; list-style: none; margin: 0; padding: 6px 0; background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; min-width: 160px; z-index: 50; }
.dmx-lang-switcher.is-open .lang-switcher__menu, .dmx-lang-switcher:focus-within .lang-switcher__menu { display: block; }
.dmx-lang-switcher .lang-switcher__menu a { display: flex; justify-content: space-between; padding: 8px 14px; text-decoration: none; }
@media (max-width: 768px) {
  .dmx-form .form-grid, .dmx-grid.grid--2, .dmx-grid.grid--3, .dmx-grid.grid--4 { grid-template-columns: 1fr; }
}
