/* docs/117 J1 — a másolt workOrderManagement oldalak Bootstrap 5 osztályainak MINIMÁLIS saját pótlása (docs/116 D4: CDN nincs, Bootstrap nem tölthető).
   Csak az átvett sablonokban ténylegesen használt osztályok: rács, térköz, flex, szöveg, gomb, űrlap, táblázat, lenyíló, kártya, modál-vázak. Mobil-első. */
*, *::before, *::after { box-sizing: border-box; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
/* 147c Q14: column-gap 0 — az admin.css .row { gap: 10px } (grid) beszivárgott, és a 2 × 50 % oszlop + 10 px rés miatt minden csempe külön sorba tört */
.row { display: flex; flex-wrap: wrap; margin: 0 -8px; column-gap: 0; }
.row > * { padding: 0 8px; width: 100%; max-width: 100%; }
.row.g-3 { row-gap: 16px; } .row.g-4 { row-gap: 24px; } .row.g-2 { row-gap: 8px; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; } .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; } .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; } .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .col-md-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
    .d-md-block { display: block !important; }
}
@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; } .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .text-lg-start { text-align: left !important; }
}
.d-flex { display: flex !important; } .d-block { display: block !important; } .d-none { display: none !important; } .d-inline-block { display: inline-block !important; }
.flex-wrap { flex-wrap: wrap !important; } .flex-column { flex-direction: column !important; } .flex-grow-1 { flex-grow: 1 !important; }
.align-items-center { align-items: center !important; } .justify-content-between { justify-content: space-between !important; } .justify-content-center { justify-content: center !important; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 16px; }
.text-center { text-align: center !important; } .text-start { text-align: left !important; } .text-end { text-align: right !important; }
.text-muted { color: var(--text2) !important; } .text-dark { color: var(--text) !important; } .text-primary { color: var(--blue) !important; }
.text-danger { color: var(--err) !important; } .text-success { color: var(--ok) !important; } .text-white { color: #fff !important; } .text-warning { color: var(--warn) !important; }
.fw-bold { font-weight: 700 !important; } .fw-semibold { font-weight: 600 !important; } .small, small { font-size: .875em; } .lead { font-size: 1.15rem; }
.fs-1 { font-size: 2.2rem; } .fs-4 { font-size: 1.4rem; } .fs-5 { font-size: 1.15rem; } .italic { font-style: italic; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; line-height: 1.25; } p { margin: 0 0 1rem; }
.h4 { font-size: 1.4rem; font-weight: 600; } .mx-auto { margin-left: auto !important; margin-right: auto !important; } .w-100 { width: 100% !important; } .h-100 { height: 100% !important; }
.m-0 { margin: 0 !important; } .mt-1 { margin-top: 4px !important; } .mt-2 { margin-top: 8px !important; } .mt-3 { margin-top: 16px !important; } .mt-4 { margin-top: 24px !important; } .mt-5 { margin-top: 48px !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 4px !important; } .mb-2 { margin-bottom: 8px !important; } .mb-3 { margin-bottom: 16px !important; } .mb-4 { margin-bottom: 24px !important; } .mb-5 { margin-bottom: 48px !important; }
.me-1 { margin-right: 4px !important; } .me-2 { margin-right: 8px !important; } .me-3 { margin-right: 16px !important; } .ms-auto { margin-left: auto !important; } .ms-2 { margin-left: 8px !important; } .ms-lg-2 { margin-left: 0; }
.p-3 { padding: 16px !important; } .p-4 { padding: 24px !important; } .px-3 { padding-left: 16px !important; padding-right: 16px !important; } .px-4 { padding-left: 24px !important; padding-right: 24px !important; }
.py-3 { padding-top: 16px !important; padding-bottom: 16px !important; } .py-5 { padding-top: 48px !important; padding-bottom: 48px !important; }
.border-bottom { border-bottom: 1px solid var(--border) !important; } .border-start { border-left: 1px solid var(--border) !important; } .border-end { border-right: 1px solid var(--border) !important; }
.rounded-pill { border-radius: 999px !important; } .shadow-sm { box-shadow: 0 1px 3px color-mix(in srgb, var(--text) 10%, transparent) !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; background: transparent; color: var(--text); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; } .btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.btn-light { background: var(--card); border-color: var(--border); color: var(--text); } .btn-outline-secondary { border-color: var(--border); color: var(--text2); background: var(--card); }
.btn-outline-primary { border-color: var(--blue-line); color: var(--blue); background: var(--card); } .btn-danger { background: var(--err); color: #fff; } .btn-success { background: var(--ok); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: .9rem; } .btn-lg { min-height: 52px; padding: 0 28px; font-size: 1.05rem; }
.form-label { display: block; margin-bottom: 4px; font-size: .9rem; font-weight: 600; color: var(--text2); }
.form-control, .form-select { display: block; width: 100%; min-height: 46px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--group); border: 1px solid var(--border); border-radius: 12px; }
textarea.form-control { padding: 12px 14px; min-height: 90px; }
.form-control:focus, .form-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-line); }
.form-check { display: flex; align-items: center; gap: 8px; } .form-check-input { width: 22px; height: 22px; accent-color: var(--blue); }
.input-group { display: flex; width: 100%; } .input-group > .form-control { flex: 1; min-width: 0; }
.table { width: 100%; border-collapse: collapse; } .table td, .table th { padding: 8px 10px; border-bottom: 1px solid var(--divider); text-align: left; vertical-align: top; }
.table-sm td, .table-sm th { padding: 5px 8px; } .table-responsive { overflow-x: auto; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; } .card-body { padding: 16px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--blue-soft); color: var(--blue); }
.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 12px; } .alert-info { background: var(--blue-soft); color: var(--blue-hover); }
.alert-success { background: var(--ok-bg); color: var(--ok); } .alert-danger { background: var(--err-bg); color: var(--err); } .alert-warning { background: var(--warn-bg); color: var(--warn); }
.dropdown { position: relative; display: inline-block; } .dropdown-menu { display: none; position: absolute; right: 0; top: 100%; z-index: 30; min-width: 190px; padding: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 24px color-mix(in srgb, var(--text) 14%, transparent); }
.dropdown.open .dropdown-menu, .dropdown-menu.show { display: block; } .dropdown-item { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; color: var(--text); text-decoration: none; border-radius: 8px; background: none; border: 0; width: 100%; font: inherit; cursor: pointer; }
.dropdown-item:hover { background: var(--group); } .dropdown-divider { height: 1px; background: var(--divider); margin: 4px 0; }
.modal { display: none; position: fixed; inset: 0; z-index: 100; background: color-mix(in srgb, var(--text) 45%, transparent); overflow-y: auto; }
.modal.show { display: block; } .modal-dialog { max-width: 520px; margin: 40px auto; padding: 0 12px; } .modal-content { background: var(--card); border-radius: 20px; overflow: hidden; }
.modal-header, .modal-footer { display: flex; align-items: center; gap: 8px; padding: 14px 18px; } .modal-header { justify-content: space-between; border-bottom: 1px solid var(--divider); } .modal-footer { justify-content: flex-end; border-top: 1px solid var(--divider); }
.modal-body { padding: 18px; } .btn-close { width: 44px; height: 44px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--text2); } .btn-close::before { content: "×"; }
.toast-container { position: fixed; top: 0; right: 0; padding: 16px; z-index: 200; } .toast { display: none; padding: 12px 16px; border-radius: 12px; } .toast.show { display: block; }
.nav-tabs { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; overflow-x: auto; } .nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text2); text-decoration: none; border-radius: 999px; }
.nav-link.active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.list-unstyled { list-style: none; padding: 0; } .position-relative { position: relative; } .position-fixed { position: fixed; } .sticky-top { position: sticky; top: 0; z-index: 20; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
