/* LordosConfigSystem – Világos téma (Light mode) */
* {
    box-sizing: border-box;
}
body {
    background: #f1f5f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    color: #1e293b;
}
.container {
    max-width: 1600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}
/* Fejléc */
.header {
    background: #f8fafc;
    padding: 15px 25px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 2px solid #e67e22;
}
.header h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #e67e22;
}
.header .lcs-small {
    font-size: 0.9rem;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 10px;
    color: #475569;
}
.header .badge {
    background: #e67e22;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: bold;
}
/* Vezérlősáv */
.control-bar {
    background: #f8fafc;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid #e2e8f0;
}
.user-level-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-level-selector label {
    font-weight: 600;
    color: #334155;
}
.user-level-select {
    background: #ffffff;
    border: 1px solid #e67e22;
    color: #e67e22;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
}
.action-buttons {
    display: flex;
    gap: 10px;
}
/* Gombok */
button {
    background: #e2e8f0;
    border: none;
    color: #1e293b;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
}
button.primary {
    background: #e67e22;
    color: #ffffff;
}
button.primary:hover {
    background: #d35400;
}
button.secondary:hover {
    background: #cbd5e1;
}
/* Fülek */
.tab-bar {
    display: flex;
    gap: 5px;
    background: #ffffff;
    padding: 10px 20px 0 20px;
}
.tab-btn {
    background: #f1f5f9;
    border: none;
    padding: 10px 24px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
}
.tab-btn.active {
    background: #ffffff;
    border-bottom: 3px solid #e67e22;
    color: #e67e22;
}
.tab-content {
    display: none;
    background: #ffffff;
    padding: 20px;
}
.tab-content.active {
    display: block;
}
/* Config panel */
.config-panel {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}
/* Szekciók */
.section {
    background: #ffffff;
    border-left: 5px solid #e67e22;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.section-header {
    background: #f1f5f9;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
}
.section-header h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #e67e22;
}
.section-content {
    padding: 18px;
    display: none;
    background: #ffffff;
}
.section-content.visible {
    display: block;
}
/* Kategória badge */
.category-badge {
    background: #e2e8f0;
    color: #e67e22;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 10px 0 5px 0;
    display: inline-block;
}
/* Toggle switch */
.toggle-switch {
    width: 50px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 26px;
    position: relative;
    cursor: pointer;
}
.toggle-switch.active {
    background: #e67e22;
}
.toggle-switch:after {
    content: "";
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 3px;
    transition: 0.2s;
}
.toggle-switch.active:after {
    left: 25px;
}
.toggle-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
}
/* Form elemek */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group {
    margin-bottom: 1rem;
}
label {
    font-weight: 600;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}
input, select, textarea {
    width: 100%;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.85rem;
}
input:focus, select:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 0 2px #fef3c7;
}
/* Checkbox csoport */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}
.checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    margin-bottom: 0;
    white-space: nowrap;
}
.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1);
    vertical-align: middle;
}
/* Cpu badge */
.cpu-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    font-weight: normal;
    background: #e2e8f0;
    color: #475569;
}
.cpu-badge.low { background: #dcfce7; color: #166534; }
.cpu-badge.medium { background: #fef9c3; color: #854d0e; }
.cpu-badge.high { background: #fee2e2; color: #991b1b; }
/* Tooltip ikon */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #cbd5e1;
    color: #334155;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    cursor: help;
    margin-left: 6px;
    position: relative;
}
.tooltip-icon:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #e2e8f0;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    z-index: 100;
}
/* Dinamikus listák */
.dynamic-list { margin-bottom: 12px; }
.dynamic-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.dynamic-row button {
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
/* Country table */
.country-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
}
.country-table label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    font-size: 0.85rem;
    color: #334155;
    cursor: pointer;
    white-space: nowrap;
}
.country-table input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}
/* Help table */
.help-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}
.help-table th, .help-table td {
    border: 1px solid #e2e8f0;
    padding: 8px;
    text-align: left;
}
.help-table th {
    background: #f1f5f9;
    color: #e67e22;
}
/* OUTPUT BOX */
.output-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px;
    margin: 20px 20px 0 20px;
    border: 1px solid #e2e8f0;
}
.output-box pre {
    background: #1e293b;
    padding: 14px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.7rem;
    font-family: 'Consolas', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 60vh;
    color: #e2e8f0;
}
.copy-btn {
    margin-bottom: 12px;
    background: #e2e8f0;
}
.copy-btn:hover {
    background: #cbd5e1;
}
/* Footer */
.footer {
    background: #f8fafc;
    padding: 12px 25px;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
/* Reszponzív */
@media (max-width: 800px) {
    .grid-2col {
        grid-template-columns: 1fr;
    }
    .control-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .checkbox-group {
        flex-wrap: wrap;
        gap: 10px;
    }
    .checkbox-group label {
        white-space: normal;
    }
    .country-table {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .output-box {
        margin: 20px 10px 0 10px;
    }
}
@media (max-width: 600px) {
    .country-table {
        grid-template-columns: 1fr;
    }
}
.output-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
/* Teljesítmény és hatás elemzés stílusok */
.impact-container {
    max-width: 100%;
}
.impact-intro {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.legend {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.legend-low, .legend-mid, .legend-high {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
.legend-low { background: #dcfce7; color: #166534; }
.legend-mid { background: #fef9c3; color: #854d0e; }
.legend-high { background: #fee2e2; color: #991b1b; }

.impact-block {
    background: #ffffff;
    border-left: 5px solid #e67e22;
    margin-bottom: 1.8rem;
    padding: 0.2rem 1.2rem 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.impact-block h3 {
    color: #e67e22;
    margin-top: 0.6rem;
    font-size: 1.2rem;
}
.impact-block p, .impact-block ul {
    line-height: 1.5;
    margin: 0.6rem 0;
}
.impact-block ul {
    margin-left: 1.2rem;
}
.impact-highlight {
    background: #fef9c3;
    font-weight: bold;
    padding: 0.1rem 0.3rem;
    border-radius: 6px;
}
.impact-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
}
.impact-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.impact-table th, .impact-table td {
    border: 1px solid #cbd5e1;
    padding: 8px;
    text-align: left;
    vertical-align: top;
}
.impact-table th {
    background: #e2e8f0;
    font-weight: 600;
}
.cell-good { background: #dcfce7; color: #166534; }
.cell-mid { background: #fef9c3; color: #854d0e; }
.cell-bad { background: #fee2e2; color: #991b1b; }
.impact-note {
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}