/* Modern, professzionális CSS alapok */
:root {
    --bg-gradient: linear-gradient(135deg, #f4f6fc 0%, #eef2f7 100%);
    --card-bg: #ffffff;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #10b981;
    --accent-hover: #059669;
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-focus: #3b82f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* Teljes túlfolyás elleni védelem */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   ALAPVETŐ TAGEK FORMÁZÁSA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.5em;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

p {
    margin-bottom: 16px;
    color: var(--text-main);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    margin: 16px 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-main);
    font-style: italic;
}

ul, ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 6px;
}

dl {
    margin-bottom: 16px;
}

dt {
    font-weight: 700;
    margin-top: 8px;
}

dd {
    padding-left: 16px;
    color: var(--text-muted);
}

code {
    font-family: 'Fira Code', Consolas, Monaco, monospace;
    background-color:var(--primary-light);
    color: black;
    padding-left: 10px;
    padding-right:10px;
    border-radius: 5px;
    font-size: 13px;
}

kbd {
    background: #e2e8f0;
    border-bottom: 2px solid #cbd5e1;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 11px;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 16px 0;
}

/* ==========================================================================
   STRUKTÚRA & NAVIGÁCIÓ
   ========================================================================== */
header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.brand-title h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
}

.brand-title p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 24px auto;
    padding: 0 24px;
    flex: 1;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
}

@media (max-width: 1024px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   KÁRTYÁK & GRID-EK
   ========================================================================== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    word-wrap: break-word;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.template-card {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    background: var(--card-bg);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.template-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.template-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* ==========================================================================
   GOMBOK & GOMBCSOPORT (Button Group)
   ========================================================================== */
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

button.primary {
    background: var(--primary);
    color: white;
}

button.primary:hover {
    background: var(--primary-hover);
}

button.secondary {
    background: var(--primary-light);
    color: var(--primary);
}

button.secondary:hover {
    background: #dbeafe;
}

button.ghost {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
}

button.ghost:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

button.danger {
    background: #fef2f2;
    color: var(--danger);
    border-color: #fee2e2;
}

button.danger:hover {
    background: #fee2e2;
}

button.success {
    background: var(--accent);
    color: white;
}

button.success:hover {
    background: var(--accent-hover);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* BUTTON GROUP (Gombcsoport) */
.btn-group {
    display: inline-flex;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.btn-group button {
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-group button.ghost {
    border-right: 1px solid var(--border-color);
}

.btn-group button:last-child {
    border-right: none;
}

/* ==========================================================================
   FORM ELEMEK & EGYEDI SELECT
   ========================================================================== */
label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 6px;
}

input[type=text],
input[type=password],
input[type=email],
input[type=date],
input[type=number],
textarea {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: #f8fafc;
    color: var(--text-main);
    transition: all 0.15s ease;
    outline: none;
}

select {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    padding: 10px 40px 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: #f8fafc;
    color: var(--text-main);
    transition: all 0.15s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--border-focus);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group {
    margin-bottom: 18px;
}

/* ==========================================================================
   DRAG & DROP, FOLYAMATOK, KIEGÉSZÍTŐK
   ========================================================================== */
.dropzone {
    min-height: 80px;
    border: 2px dashed #93c5fd;
    border-radius: var(--radius-md);
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.dropzone.dragover {
    background: #dbeafe;
    border-color: var(--primary);
    transform: scale(1.01);
}

.step-card {
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    cursor: grab;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s ease;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

/* Progress bar / Lépésjelző */
.progress-wrapper {
    margin-bottom: 24px;
}

.progress-bar {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.3s ease-in-out;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Táblázatok */
.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.summary-table th {
    background-color: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1.5px solid var(--border-color);
}

.summary-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.summary-table tr:last-child td {
    border-bottom: none;
}

.error-banner {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: var(--danger);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 16px;
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    margin-top: auto;
}

.badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   VADONATÚJ SPECIÁLIS UI ELEMEK
   ========================================================================== */

/* ACCORDION (Modern natív összecsukható panel) */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--card-bg);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: none;
    outline: none;
    text-align: left;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
    border-radius: 0;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-header::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.2s ease;
}

/* details alapú animált működés */
details.accordion-item[open] .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* AVATAR SYSTEM */
.avatar-group {
    display: inline-flex;
    align-items: center;
}

.avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid #ffffff;
    color: white;
    box-shadow: var(--shadow-sm);
}

.avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    margin: 0;
}

.avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
}
.avatar-badge.online { background-color: var(--accent); }
.avatar-badge.busy { background-color: var(--danger); }

/* LIST GROUP */
.list-group {
    list-style: none;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--card-bg);
}

.list-group-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    transition: background 0.15s;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item.interactive {
    cursor: pointer;
}

.list-group-item.interactive:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* OFFCANVAS (Oldalsó panel vizuális demója) */
.offcanvas-demo {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--card-bg);
    height: 320px;
    position: relative;
    overflow: hidden;
}

.offcanvas-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    background: #ffffff;
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}

/* DIALOG / MODAL (Natív HTML5 dialog) */
dialog.custom-dialog {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    max-width: 480px;
    width: 90%;
    margin: auto;
    background: #ffffff;
}

dialog.custom-dialog::backdrop {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* SPINNER (Töltésjelzők) */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.spinner.accent { border-top-color: var(--accent); }
.spinner.danger { border-top-color: var(--danger); }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* TOAST (Értesítések) */
.toast {
    background: #1e293b;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: var(--accent); }
.toast.danger { border-left-color: var(--danger); }

/* TOOLTIP (CSS-alapú buborék) */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: help;
    border-bottom: 1px dashed var(--text-muted);
}

.tooltip-text {
    visibility: hidden;
    background-color: #1e293b;
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ==========================================================================
   DOKUMENTÁCIÓS EXTRA STÍLUSOK (Styleguide elemek)
   ========================================================================== */
.demo-stage {
    background: #f8fafc;
    border: 2px dashed var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    max-width: 100%;
    overflow-x: auto;
}

.styleguide-code-title {
    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 16px;
}

pre.styleguide-pre {
    background: var(--primary-light);
    color: #f1f5f9;
    border: 2px dashed var(--border-color);

    padding: 16px;
    border-radius: var(--radius-md);
    font-family: 'Fira Code', Consolas, Monaco, monospace;
    font-size: 13px;
    overflow-x: auto;
    white-space: pre;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 100%;
}

.section-divider {
    margin: 40px 0 20px;
    border: none;
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
}



/* ==========================================================================
   10 ÚJ SPECIÁLIS KOMPONENS STÍLUSA
   ========================================================================== */

/* 1. PROGRESS STEPS / STEPPER (Vízszintes folyamat-lépések) */
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 24px;
}
.stepper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
    transform: translateY(-50%);
}
.stepper-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.stepper-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.stepper-item.active .stepper-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.stepper-item.completed .stepper-circle {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}
.stepper-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
}

/* 2. CARD WITH BADGE AND OVERLAY IMAGE (Képkártya lebegő jelvénnyel) */
.featured-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
}
.featured-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}
.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.featured-body {
    padding: 16px;
}

/* 3. SWITCH / TOGGLE BUTTON (Egyedi kétállású kapcsoló) */
.switch-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--border-color);
    transition: .3s;
    border-radius: 24px;
}
.slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}
.switch input:checked + .slider {
    background-color: var(--primary);
}
.switch input:checked + .slider::before {
    transform: translateX(24px);
}

/* 4. STAT CARD WITH ICON (Statisztikai mutató kártya) */
.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.stat-info {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* 5. SEARCH BAR WITH ICON (Keresősáv integrált ikonnal) */
.search-wrapper {
    position: relative;
    width: 100%;
}
.search-input {
    width: 100%;
    padding: 12px 16px 12px 42px !important; /* Hely az ikonnak */
}
.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* 6. TIMELINE (Függőleges idővonal eseményeknek) */
.timeline {
    position: relative;
    padding-left: 24px;
    margin: 16px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}
.timeline-event {
    position: relative;
    margin-bottom: 20px;
}
.timeline-event:last-child {
    margin-bottom: 0;
}
.timeline-event::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--card-bg);
    box-shadow: 0 0 0 2px var(--primary);
}
.timeline-time {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}
.timeline-title {
    font-size: 14px;
    font-weight: 700;
    margin: 2px 0;
}
.timeline-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* 7. PROGRESS RING (Kör alakú folyamatjelző) */
.progress-ring-container {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.progress-ring {
    position: relative;
    width: 60px;
    height: 60px;
}
.progress-ring svg {
    transform: rotate(-90deg);
}
.progress-ring-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 4;
}
.progress-ring-bar {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 175.9; /* 2 * PI * r (r=28) */
    stroke-dashoffset: 44;   /* 75% kitöltöttség */
}
.progress-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

/* 8. PAGINATION (Lapozó komponens) */
.pagination {
    display: inline-flex;
    gap: 4px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    padding: 4px;
    border: 1px solid var(--border-color);
}
.pagination-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
}
.pagination-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.pagination-item.active {
    background: var(--primary);
    color: white;
}
.pagination-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 9. RANGE SLIDER (Személyre szabott csúszka) */
.range-container {
    width: 100%;
}
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
}
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: var(--shadow-sm);
}
.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* 10. EMPTY STATE PANEL (Üres állapot/Keresési eredmények nélküli kártya) */
.empty-state {
    text-align: center;
    padding: 40px 24px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
}
.empty-state-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}
.empty-state-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}
.empty-state-desc {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto 16px;
}

/* ==========================================================================
   10 TOVÁBBI MODULÁRIS UI-KOMPONENS STÍLUSA
   ========================================================================== */

/* 1. BREADCRUMB (Navigációs útvonal) */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 500;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: var(--border-color);
    font-weight: bold;
}
.breadcrumb-item a {
    color: var(--text-muted);
    transition: color 0.15s;
}
.breadcrumb-item a:hover {
    color: var(--primary);
    text-decoration: none;
}
.breadcrumb-item.active {
    color: var(--text-main);
    font-weight: 600;
}

/* 2. ALERTS (Rendszerüzenetek / Figyelmeztető sávok) */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}
.alert-info {
    background-color: var(--primary-light);
    border-color: #bfdbfe;
    color: var(--primary);
}
.alert-warning {
    background-color: #fffbeb;
    border-color: #fef3c7;
    color: #b45309;
}

/* 3. PRICING CARD (Árazó kártya) */
.pricing-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    background: var(--card-bg);
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
}
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.pricing-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}
.pricing-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin: 16px 0;
}

/* 4. TESTIMONIAL (Vásárlói vélemény) */
.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.testimonial-text {
    font-style: italic;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

/* 5. TAG CHIPS (Interaktív címkék) */
.chip-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
}
.chip-close {
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.1s;
}
.chip-close:hover {
    color: var(--danger);
}

/* 6. LABELED PROGRESS BAR (Százalékértékkel ellátott folyamatjelző) */
.progress-bar-labeled {
    height: 20px;
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.progress-fill-labeled {
    height: 100%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
    transition: width 0.3s ease;
}

/* 7. INPUT GROUP WITH BUTTON ADDON (Gombbal egybeépített beviteli mező) */
.input-group-addon {
    display: flex;
    width: 100%;
}
.input-group-addon input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.input-group-addon button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    white-space: nowrap;
}

/* 8. DIVIDER WITH TEXT (Szöveges szakaszelválasztó) */
.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.divider-text:not(:empty)::before {
    margin-right: .5em;
}
.divider-text:not(:empty)::after {
    margin-left: .5em;
}

/* 9. RATING STARS (Csillagos értékelés) */
.rating-stars {
    display: inline-flex;
    gap: 4px;
    color: #f59e0b;
    font-size: 18px;
}

/* 10. HORIZONTAL CARD (Fekvő kártyaelrendezés) */
.horizontal-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.horizontal-card-img {
    width: 150px;
    flex-shrink: 0;
}
.horizontal-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}
.horizontal-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 480px) {
    .horizontal-card {
        flex-direction: column;
    }
    .horizontal-card-img {
        width: 100%;
        height: 120px;
    }
}

/* ==========================================================================
   IX. RESZPONZÍV TÁBLÁZAT RENDSZER (5 KÜLÖNBÖZŐ STÍLUS)
   ========================================================================== */

/* Reszponzív konténer - ha a táblázat túl széles, mobilon finoman görgethetővé válik */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}

/* Alap globális táblázat formázás */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    color: var(--text-main);
}
.custom-table th,
.custom-table td {
    padding: 12px 16px;
    vertical-align: middle;
}
.custom-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background-color: #f8fafc;
    border-bottom: 2px solid var(--border-color);
}

/* --- 1. STÍLUS: LETISZTULT / MINIMALISTA --- */
.table-clean th {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
}
.table-clean tbody tr {
    border-bottom: 1px solid #f1f5f9;
}
.table-clean tbody tr:last-child {
    border-bottom: none;
}

/* --- 2. STÍLUS: ZEBRACSÍKOS --- */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8fafc;
}
.table-striped tbody tr {
    border-bottom: 1px solid var(--border-color);
}

/* --- 3. STÍLUS: SÖTÉT / MODERN DARK MODE --- */
.table-dark {
    background-color: #1e293b;
    color: #f1f5f9;
}
.table-dark th {
    background-color: #0f172a;
    color: #94a3b8;
    border-bottom: 2px solid #334155;
}
.table-dark tbody tr {
    border-bottom: 1px solid #334155;
}
.table-dark tbody tr:last-child {
    border-bottom: none;
}
.table-dark tbody tr:hover {
    background-color: #334155;
}

/* --- 4. STÍLUS: KERETES / RÁCSOS (CLASSIC GRID) --- */
.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border-color);
}
.table-bordered th {
    background-color: #f1f5f9;
}

/* --- 5. STÍLUS: INTERAKTÍV AKCIÓGOMBOS + HOVER EFFECT --- */
.table-interactive tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
}
.table-interactive tbody tr:hover {
    background-color: var(--primary-light);
}
.table-interactive tbody tr:last-child {
    border-bottom: none;
}

/* ==========================================================================
   X. MODERN NAVIGÁCIÓS SÁV (NAVBAR WITH DROPDOWN)
   ========================================================================== */

.custom-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--card-bg);
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 8px 0;
}

.navbar-link:hover {
    color: var(--primary);
}

/* Legördülő menü (Dropdown) CSS */
.navbar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px 0;
    margin-top: 8px;
    list-style: none;
    display: none; /* Alapértelmezetten rejtve */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.navbar-dropdown li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.15s, color 0.15s;
}

.navbar-dropdown li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Hover hatásra megjelenő legördülő rész */
.navbar-item:hover .navbar-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Jobb oldali akciógombok és kereső a navbarban */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-search {
    position: relative;
}

.navbar-search input {
    padding: 8px 12px 8px 32px !important;
    font-size: 13px;
    width: 180px;
    transition: width 0.2s ease;
}

.navbar-search input:focus {
    width: 240px;
}

.navbar-search::before {
    content: "🔍";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    pointer-events: none;
}

/* Mobil reszponzivitás finomhangolása */
@media (max-width: 768px) {
    .navbar-menu, .navbar-search {
        display: none; /* Mobilon a komplex elemeket elrejtjük (vagy összecsukhatóvá tennénk JS-sel) */
    }
}

/* ==========================================================================
   XI. HALADÓ MODERN MODULOK (SKELETON, CHAT, SIDEBAR, TRENDS, FILE LIST)
   ========================================================================== */

/* 1. SKELETON LOADER (Shimmer effektus betöltéshez) */
.skeleton-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    overflow: hidden;
    position: relative;
}
.skeleton-line {
    height: 16px;
    background: #e2e8f0;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}
.skeleton-line.title {
    width: 60%;
    height: 20px;
}
.skeleton-line.text-short {
    width: 40%;
}
.skeleton-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e8f0;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
/* Shimmer animáció */
.skeleton-line::after,
.skeleton-circle::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 20%,
            rgba(255, 255, 255, 0.9) 60%,
            rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* 2. CHAT WIDGET & FLOATING ACTION BUTTON (FAB) */
.fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.fab-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.fab-button:hover {
    transform: scale(1.08);
}
.chat-window {
    width: 320px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: none; /* JS-sel vagy CSS :focus-szal nyitható */
    flex-direction: column;
    overflow: hidden;
}
/* Demó célból a stílusguide-on belül blokkban mutatjuk meg */
.chat-window-demo {
    display: flex;
    width: 100%;
    max-width: 340px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    flex-direction: column;
    overflow: hidden;
}
.chat-header {
    background: var(--primary);
    color: white;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 14px;
}
.chat-body {
    padding: 16px;
    height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
}
.chat-bubble {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    max-width: 80%;
}
.chat-bubble.incoming {
    background: #e2e8f0;
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}
.chat-bubble.outgoing {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* 3. TREND INDICATOR CARDS (Statisztikai trend-jelzők) */
.trend-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.trend-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
}
.trend-up {
    background: #d1fae5;
    color: #065f46;
}
.trend-down {
    background: #fee2e2;
    color: #991b1b;
}

/* 4. ACTIVE FILE UPLOAD LIST (Feltöltött fájlok listája) */
.file-upload-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.file-icon {
    font-size: 20px;
}
.file-meta {
    display: flex;
    flex-direction: column;
}
.file-name {
    font-size: 13px;
    font-weight: 600;
}
.file-size {
    font-size: 11px;
    color: var(--text-muted);
}

/* 5. SEGMENTED CONTROL (Kategória választó fül) */
.segmented-control {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 400px;
}
.segmented-tab {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.segmented-tab.active {
    background: var(--card-bg);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}




/* ==========================================================================
   XII. EGYEDI JAVÍTOTT NATÍV HARMONIKA (DETAILS & SUMMARY)
   ========================================================================== */

/* A külső details konténer */
.custom-details {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Ha nyitva van a panel, kap egy finom aktív keretet és árnyékot */
.custom-details[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* A kattintható fejléc rész */
.custom-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    cursor: pointer;
    list-style: none; /* Eltünteti az alapértelmezett nyilat Chrome/Firefox alatt */
    user-select: none;
}

/* Eltünteti a nyilat Safari alatt */
.custom-details summary::-webkit-details-marker {
    display: none;
}

/* Egyedi állapotjelző ikon (a "+" jel) */
.custom-details summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.25s ease, color 0.25s ease;
    line-height: 1;
}

/* Ha nyitva van a panel, a "+" jel átalakul "×"-szé és elfordul */
.custom-details[open] summary::after {
    transform: rotate(45deg);
    color: var(--primary);
}

.custom-details summary:hover {
    background-color: var(--primary-light);
}

.custom-details summary:hover::after {
    color: var(--primary);
}

/* A lenyíló belső szöveges tartalom */
.details-content {
    padding: 0 16px 16px 16px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid transparent;
    /* Finom megjelenés animáció nyitáskor */
    animation: slideDown 0.25s ease-out;
}

/* Ha nyitva van, finom elválasztó vonal kerül a tartalom fölé */
.custom-details[open] .details-content {
    border-top-color: #f1f5f9;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   XIII. RESPONSIVE & LAYOUT UTILITIES (Flexbox, Grid, Display & Spacing)
   ========================================================================== */

/* --- Display & Flexbox Alapok --- */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

/* --- Flex Irányok (Direction) --- */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

/* --- Flex Növekedés és Kitöltés (Grow & Fill) --- */
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-fill { flex: 1 1 auto !important; }

/* --- Igazítások (Alignment & Justify) --- */
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }

/* --- Gyors rács-közök (Gaps) --- */
.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }

/* --- Szélességek --- */
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

/* ==========================================
   DINAMIKUS MOBIL UTILITIES (Media Queries)
   ========================================== */

/* 768px alatti képernyők (Mobil és Tablet) */
@media (max-width: 768px) {
    /* Mobilon a flex sorok automatikusan függőleges oszloppá alakulnak */
    .flex-md-column {
        flex-direction: column !important;
    }

    /* Mobilon teljes szélességűvé váló elemek (pl. gombok, kártyák) */
    .w-md-100 {
        width: 100% !important;
    }

    /* Szöveg igazítás mobilon centerbe */
    .text-md-center {
        text-align: center !important;
    }

    /* Elrejtés/Megjelenítés mobilon */
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}