/* MekanAuto Core – formular. Farver arves fra temaet. */
.ma-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mac-form { max-width: 46rem; }
.mac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 1rem; }
.mac-form p { margin: 0 0 1rem; }
.mac-form label, .mac-form legend { display: block; font-weight: 600; margin-bottom: .3rem; }
.mac-opt { font-weight: 400; color: var(--ma-steel, #5B646C); }
.mac-form input[type=text], .mac-form input[type=tel], .mac-form input[type=email], .mac-form input[type=date], .mac-form select, .mac-form textarea {
	width: 100%; box-sizing: border-box; padding: .7rem .75rem; border: 1px solid #A9B1B8; border-radius: 4px; font: inherit; font-size: 1rem; background: #fff; color: inherit; min-height: 48px;
}
.mac-form input[type=file] { font-size: .9375rem; padding: .5rem 0; }
.mac-form input:focus, .mac-form select:focus, .mac-form textarea:focus { border-color: var(--ma-graphite, #23282D); }
.mac-type { border: 0; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.mac-type legend { width: 100%; margin-bottom: .5rem; }
.mac-type label { font-weight: 400; display: inline-flex; gap: .45rem; align-items: center; padding: .55rem .9rem; border: 1px solid #A9B1B8; border-radius: 4px; cursor: pointer; }
.mac-type label:has(input:checked) { border-color: var(--ma-graphite, #23282D); background: #fff8e0; box-shadow: inset 0 0 0 1px var(--ma-graphite, #23282D); }
.mac-consent label { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
.mac-consent input { margin-top: .35rem; }
.mac-small, .ma-small { font-size: .9375rem; color: var(--ma-steel, #5B646C); }
.mac-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mac-notice { padding: 1rem 1.2rem; border-radius: 4px; margin: 0 0 1.25rem; }
.mac-notice ul { margin: .4rem 0 0 1.1rem; }
.mac-notice--ok { background: #E8F4EC; border: 1px solid #B5DCC3; }
.mac-notice--error { background: #FBEAEA; border: 1px solid #E6B7B7; }
.ma-section--dark .mac-form input, .ma-section--dark .mac-form select, .ma-section--dark .mac-form textarea { border-color: transparent; color: #23282D; }
.ma-section--dark .mac-opt, .ma-section--dark .mac-small { color: #C9CED2; }
.ma-section--dark .mac-type label { border-color: #5B646C; }
.ma-section--dark .mac-type label:has(input:checked) { background: #2F353B; border-color: #F2B600; box-shadow: inset 0 0 0 1px #F2B600; }
