/* ============================================================
   Wegold Legierungscenter – WordPress
   ============================================================ */

/* ---- Layout ---- */
.weglegierungscenter          { font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.weglegierungscenter-search-page .filter-form { max-width: 680px; }
.weglegierungscenter-list-page  { overflow-x: auto; }

/* ---- Formular ---- */
.control-group                { margin-bottom: 16px; }
.control-group .control-label { display: block; font-weight: bold; margin-bottom: 4px; }
.control-group .controls      { padding-left: 4px; }
.control-group.morebottom     { margin-bottom: 24px; }

.indikatoren                  { list-style: none; margin: 0; padding: 0; }
.indikatoren li               { margin-bottom: 4px; }
.indikatoren input            { margin-right: 6px; }

.searchfarbe fieldset         { border: none; padding: 0; margin: 0; }

/* Preislabels */
.preis-labels                 { margin-top: 8px; font-size: 13px; color: #444; }

/* noUiSlider anpassen */
#wlc-preis-slider             { margin: 8px 0; }
.noUi-connect                 { background: #c8a84b; }

/* ---- Buttons ---- */
.wlc-buttons-group            { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.wlc-action-buttons           { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }

.wlc-btn-primary              { background: #c8a84b; color: #fff; border: none;
                                 padding: 8px 18px; cursor: pointer; border-radius: 3px; }
.wlc-btn-primary:hover        { background: #b5933c; }
.wlc-btn-secondary            { background: #666; color: #fff; border: none;
                                 padding: 8px 18px; cursor: pointer; border-radius: 3px; }
.wlc-btn-secondary:hover      { background: #444; }

/* ---- Tabelle ---- */
.lc-table                     { width: 100% !important; }
.lc-table thead th            { background: #c8a84b; color: #fff; white-space: nowrap; }
.lc-table tbody tr            { cursor: pointer; }
.lc-table tbody tr:hover      { background: #fdf6e3; }
.lc-table td                  { vertical-align: middle; }

.wlc-table-wrapper            { overflow-x: auto; }

/* ---- Status-Meldungen ---- */
.wlc-status                   { margin-top: 8px; }
.wlc-error                    { color: #c00; font-weight: bold; }
.wlc-success                  { color: #060; }
.headercontent                { font-size: 13px; color: #666; }

/* ---- Detail-Gruppen ---- */
.wlc-detail                   { display: flex; flex-wrap: wrap; gap: 16px; padding: 8px 0; }
.wlc-detail-group             { flex: 1 1 240px; }
.wlc-detail-group h4          { margin: 0 0 6px; font-size: 13px; font-weight: bold;
                                 border-bottom: 1px solid #ddd; padding-bottom: 4px; }
.wlc-detail-group table       { width: 100%; border-collapse: collapse; font-size: 12px; }
.wlc-detail-key               { color: #666; padding: 2px 8px 2px 0; white-space: nowrap; }
.wlc-detail-val               { font-weight: bold; }

/* ---- Vergleich ---- */
.wlc-compare-selects          { margin-bottom: 24px; }
.wlc-compare-row              { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.wlc-compare-col              { flex: 1 1 200px; }
.wlc-compare-col label        { display: block; font-weight: bold; margin-bottom: 4px; }
.wlc-compare-col select       { width: 100%; }

.wlc-compare-table-wrap       { overflow-x: auto; }
.wlc-compare-table            { width: 100%; border-collapse: collapse; font-size: 13px; }
.wlc-compare-table th         { background: #c8a84b; color: #fff; padding: 8px; text-align: left; }
.wlc-compare-table td         { padding: 5px 8px; border-bottom: 1px solid #eee; }
.wlc-compare-group-header td  { background: #f5f0e8; font-weight: bold; color: #7a6020;
                                 padding: 6px 8px; }

/* ---- Modal ---- */
.wlc-modal                    { position: fixed; inset: 0; background: rgba(0,0,0,.5);
                                 z-index: 99999; display: flex; align-items: center; justify-content: center; }
.wlc-modal-inner              { background: #fff; max-width: 960px; width: 95%; max-height: 85vh;
                                 display: flex; flex-direction: column; border-radius: 4px;
                                 box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.wlc-modal-header             { display: flex; justify-content: space-between; align-items: center;
                                 padding: 14px 20px; border-bottom: 1px solid #ddd; }
.wlc-modal-header h3          { margin: 0; font-size: 18px; }
.wlc-modal-close              { background: none; border: none; font-size: 24px; cursor: pointer;
                                 line-height: 1; color: #666; }
.wlc-modal-close:hover        { color: #000; }
.wlc-modal-body               { overflow-y: auto; padding: 20px; }

/* ---- Tooltip-Icon ---- */
.lc-tooltip-icon              { display: inline-block; width: 16px; height: 16px; line-height: 16px;
                                 text-align: center; background: #c8a84b; color: #fff;
                                 border-radius: 50%; font-size: 11px; font-weight: bold;
                                 cursor: help; margin-left: 4px; vertical-align: middle; }
