/* ------------------------------------------------------------------- */
/* Ogólne style dla headera */

.view {
  display: contents;
  height: auto;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.header {
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: calc(100% - 40px);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header .logo img {
    height: 30px;
    width: auto;
}

.buttons {
    display: flex;
    gap: 10px;
}

.header button {
    background-color: rgb(222, 144, 0);
    color: white;
    border: none;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.header button:hover {
    background-color: rgb(171, 113, 4);
}

/* Przycisk menu (domyślnie ukryty na dużych ekranach) */
.menu-toggle {
    display: none;
    background-color: rgb(222, 144, 0);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    font-weight: bold;
}

/* Kontener dla "designer" i "parametry" */
main {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 60px); /* 🔑 zamiast height */
    height: auto;                  /* 🔑 */
}

.designer,
.parametry {
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Designer - główny obszar */
.designer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 70%;
    margin: 10px;
    min-height: 0;   /* 🔑 BARDZO WAŻNE */
    overflow: hidden;
}

/* Parametry - boczny panel */
.parametry {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 30%;
    height: auto;        /* 🔑 */
    max-height: none;    /* 🔑 */
    margin: 10px;
}



/* wyłączenie dolnego menu na duych ekranach */
#bottomNav {
  display: none;
}





/* ------------------------------------------------------------------- */
/* Projekt (SVG) */
#rysunek {
    width: 100%;
    height: 100%;
    min-height: 0;      /* 🔑 */
    background: #ddd;
    overflow: visible;
}

#rysunekSvg {
    width: 100%;
    height: 100%;
    display: block;
}

#komunikat {
    font-size: 16px;
    color: red;
    text-align: center;
}

/* Domyślne style dla elementów ramy */
#rysunekSvg path {
    stroke: black;
    stroke-width: 1px;
}

/* Parametry */
.parametry label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.parametry input[type="number"],
.parametry select {
    width: 100%;
    padding: 1px;
    margin-top: 2px;
    margin-bottom: 3px;
    font-size: 14px;
}

.parametry button {
    background-color: rgb(222, 144, 0);
    color: white;
    border: 1px;
    padding: 4px;
    cursor: pointer;
    font-size: 14px;
    /* font-weight: bold; */
    border-radius: 3px;
    margin: 4px;
    
}

.parametry button:hover {
    background-color: orange;
}

.parametry p {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 3px;
    font-weight: bold;
}

.parametry p span {
    font-weight: bold;
}

/* Menu kontekstowe */
#menu, #elementMenu {
    position: absolute;
    display: none;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 3px;
    margin: 3px;
    font-size: 8px;
    z-index: 300;
}

.menu button, .elementMenu button {
    display: block;
    background-color: rgb(222, 144, 0);
    color: white;
    cursor: pointer;
    width: 90%;
 
}

.elementMenu button:hover {
    background-color: #555;
}

/* Stopka */
.footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    margin: auto;
}

/* --------------------adminPanel---------------------------------- */

#crudSection {
    display: none;
}



/* Styl dla kontenera dataTable -  lista elementów*/
/* Styl dla sekcji #crudSection */
#crudSection,
#produkcjaSection,
#ofertySection {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    width: 100%;
    /* overflow-x: auto */; /* Przewijanie w poziomie na małych ekranach */
}





/* OFERTY – identyczny układ jak BAZA DANYCH */
#ofertyControls {
    display: flex;
    justify-content: flex-end; /* wyszukiwarka po prawej */
    align-items: center;
    margin-bottom: 15px;
}

#ofertySearch {
    width: 50%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* PRODUKCJA – wyszukiwarka jak w CRUD */
#produkcjaControls {
    display: flex;
    justify-content: flex-end; /* po prawej */
    align-items: center;
    margin-bottom: 15px;
}

#searchProdukcja {
    width: 50%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


#produkcjaSection {
    display: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    width: 100%;
}







/* Styl dla kontenera dataTable -  dodaj element*/

#adminPanel {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    width: 80%;
}

#adminPanel form {
    display: flex;
    flex-direction: column;
}

#adminPanel label,
#adminPanel input,
#adminPanel select {
    margin-bottom: 10px;
}

#adminMessage {
    margin-top: 10px;
    font-weight: bold;
    color: green;
}


/* ---------------- popup----------------- */








.fraction-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.form-row label {
    
    text-align: left;
    font-weight: bold;
}

.form-row input,
.form-row select {
    width: 55%; /* Pola wejściowe po prawej stronie */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Nagłówek formularza */
.form-container h2 {
    text-align: center;
    margin: 20;
    color: #333;
}

/* Układ wiersza formularza */
.form-row {
    display: flex;
    gap: 10px;
    margin: 3px;
}







/* Kolumny formularza */
.form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.form-column label {
    font-weight: bold;
}

.form-column input,
.form-column select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}





/* zakładki w bazie danych */
#crudTabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.crud-tab {
    background-color: rgb(222, 144, 0);
    color: white;
    border: none;
    padding: 7px 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}




.crud-tab:hover {
    background-color: rgb(171, 113, 4);
}


.crud-tab.active {
    background-color: #7c7c7c;
    color: #fff;
}

.crud-tab-content {
    display: none;
}

.crud-tab-content.active {
    display: block;
}








/* kontener edycji pakietu - rysunek - wymiary */
#container {
    display: flex;
    flex-direction: row;
    gap: 20px; /* Odstęp między kolumnami */
    }

    #profilePreview {
    max-width: 200px;
    border: 1px solid #ccc;
    flex-direction: column;
    }

    #container label {
    display: inline-block;
    width: 250px; /* szerokość etykiety */
    }



/* kolor picker - do zakładania koloru ram w bazie danych */
#koloryRgbPicker, #koloryRgb, #editKoloryRgbPicker, #editKoloryRgb, #glassRgb, #glassRgbPicker, #editGlassRgb, #editGlassRgbPicker {
    padding: 0px;
    width: 27%;
    }




/* ================================ */
/* ZOOM – TOGGLE BUTTON */
/* ================================ */

/* DOMYŚLNIE: ZOOM WYŁĄCZONY */
.parametry_button.toggle.inactive {
    background-color: rgb(222, 144, 0);
    color: white;
}

/* hover gdy WYŁĄCZONY */
.parametry_button.toggle.inactive:hover {
    background-color: rgb(171, 113, 4);
}

/* ZOOM WŁĄCZONY (brak .inactive) */
.parametry_button.toggle:not(.inactive) {
    background-color: rgb(249, 97, 3);
    color: white;
}

/* hover gdy WŁĄCZONY */
.parametry_button.toggle:not(.inactive):hover {
    background-color: rgb(235, 175, 63);
}




/* ===== TOAST CONTAINER - popup znikające powiadomienia ===== */

/* ===== TOAST CONTAINER ===== */
#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== TOAST ===== */
.toast {
    min-width: 250px;
    max-width: 400px;
    padding: 14px 18px;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(30px);
    animation: toastSlideIn 0.3s ease forwards;
}

/* Typy */
.toast-success {
    background-color: #2e7d32;
}

.toast-warning {
    background-color: #ef6c00;
}

.toast-error {
    background-color: #c62828;
}

/* Animacja wejścia */
@keyframes toastSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animacja wyjścia */
.toast.hide {
    animation: toastFadeOut 0.3s ease forwards;
}

@keyframes toastFadeOut {
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}





/* ============================= */
/* EDIT OFERTA MODAL */
/* ============================= */




.oferta-edit-modal {
    width: 95%;
    max-width: 1400px;
    min-width: 900px;  
}



.oferta-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.oferta-edit-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 16px;
}

#editOfertaTable {
    width: 100%;
    border-collapse: collapse;
}

#editOfertaTable th {
    background: #cfcfcf;
    color: rgb(0, 0, 0);
    padding: 8px;
    text-align: left;
    font-weight: 600;
}

#editOfertaTable td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

/* co drugi wiersz szary */
#editOfertaTable tbody tr:nth-child(even) {
    background: #f3f4f6;
}

.miniatura {
    width: 120px;
    height: 120px;
}

/* nowa oferta - dokaj klienta */
.input-with-buttons{
display:flex;
gap:6px;
}

.btn-small{
padding:4px 10px;
font-size:14px;
}

.form-grid{
display:grid;
grid-template-columns:150px 1fr;
gap:8px;
}


/* uniwersalny popup wyboru elementu konstrukcji - rama skrzydło slupek z miniaturą SVG*/

/* =========================================
   Popup elementów konstrukcyjnych
   (skrzydła, słupki, przyszłe ramy)
========================================= */

.element-popup,
.constructionElementPopup{
    width:600px;
}

/* layout */
.element-layout,
.constructionElement-layout{
    display:flex;
    gap:20px;
    margin-top:10px;
}

/* preview SVG */
.element-preview,
.constructionElement-preview{
    flex:1;
    border:1px solid #ddd;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* lista elementów */
.element-list,
.constructionElement-list{
    flex:1;
    max-height:300px;
    overflow-y:auto;
}

/* UL */
.element-list ul,
.constructionElement-list ul{
    list-style:none;
    padding:0;
    margin:0;
}

/* LI */
.element-list li,
.constructionElement-list li{
    padding:8px 10px;
    border-bottom:1px solid #eee;
    cursor:pointer;
}

.element-list li:hover,
.constructionElement-list li:hover{
    background:#f0f0f0;
}

.element-list li.active,
.constructionElement-list li.active{
    background:#e79f2c;
    color:white;
}

/* przyciski */
.element-actions,
.constructionElement-actions{
    margin-top:15px;
    display:flex;
    justify-content:flex-end;
    gap:10px;
}


/* ========================= */
/* WSPÓLNA TABELA */
/* ========================= */

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table th,
.table td {
    border: 1px solid #ccc;
    text-align: left;
    padding: 8px;
    font-size: 14px;
}

/* nagłówek */
.table th {
    background-color: #f2f2f2;
    font-weight: bold;
    cursor: pointer;
}

/* hover nagłówka */
.table th:hover {
    background-color: #ddd;
}

/* zebra */
.table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* hover wiersza */
.table tbody tr:hover {
    background-color: #eaeaea;
}


/* ========================= */
/* CRUD CONTROLS (NEW) */
/* ========================= */

.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* ========================= */
/* SEARCH INPUT */
/* ========================= */

.search-input {
    width: 50%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ========================= */
/* ADD BUTTON (NEW SYSTEM) */
/* ========================= */

.btn-add {
    background-color: rgb(222, 144, 0);
    color: white;
    border: none;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-add:hover {
    background-color: rgb(171, 113, 4);
}


/* ========================= */
/* BUTTON SYSTEM (NEW) */
/* ========================= */

.btn {
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

/* primary (edycja itp.) */
.btn-primary {
    background-color: rgb(222, 144, 0);
    color: white;
}

.btn-primary:hover {
    background-color: rgb(171, 113, 4);
}

/* secondary (usuń / anuluj) */
.btn-danger {
    background-color: #7c7c7c;
    color: white;
}

.btn-danger:hover {
    background-color: rgb(171, 4, 4);
}



/* ========================= */
/* POPUP SYSTEM FINAL */
/* ========================= */

.popup,
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 1000;

    opacity: 0;
    transition: opacity 0.2s ease;
}

/* aktywny popup */
.popup[style*="flex"],
.modal[style*="flex"] {
    opacity: 1;
}

/* ========================= */
/* CONTENT */
/* ========================= */

.popup-content,
.modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;

    max-height: 90vh;
    overflow-y: auto;

    box-shadow: 0 0 15px rgba(0,0,0,0.2);

    transform: scale(0.95);
    transition: transform 0.2s ease;
}

/* zoom-in */
.popup[style*="flex"] .popup-content,
.modal[style*="flex"] .modal-content {
    transform: scale(1);
}

/* ========================= */
/* SIZE */
/* ========================= */

.popup-sm .popup-content { width: 260px; }
.popup-md .popup-content { width: 500px; }
.popup-lg .popup-content { width: 800px; }
.popup-xl .popup-content { width: 1000px; }

/* ========================= */
/* FORM LAYOUT */
/* ========================= */

.form-group { margin-bottom: 10px; }

.flex-row { display: flex; gap: 6px; }

.flex-center { justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-end { justify-content: flex-end; }



/* ========================= */
/* POPUP VERTICAL ACTIONS */
/* ========================= */

.popup-vertical .popup-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-vertical button {
    width: 100%;
}


/* ========================= */
/* BUTTONS IN POPUP */
/* ========================= */

.popup-content button {
    border: none;
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}



/* klik efekt */
.popup-content button:active {
    transform: scale(0.97);
}

/* input full width */
.popup-content input,
.popup-content select,
.popup-content textarea {
    width: 100%;
}


/* ========================= */
/* SELECT LIST (POPUP) */
/* ========================= */

.select-list {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.select-item {
    padding: 6px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.select-item:last-child {
    border-bottom: none;
}

.select-item:hover {
    background: #f5f5f5;
}

/* aktywny */
.select-item.active {
    background: rgb(222, 144, 0);
    color: white;
}

/* kolejność wyświetlania pakietów */
#addElementPopup {
    z-index: 2000;
}

#viewOkuciaPopup {
    z-index: 1000;
}

/* edycja okuć w tabeli */
.edit-field {
    width: 70px;
    border: none;
    background: transparent;
    text-align: center;
}

.edit-field:focus {
    border: 1px solid #007bff;
    background: #fff;
}

#okuciaElementsTableBody td:nth-child(3) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.okucie-selector {
    border: 1px dashed #ccc;
    padding: 10px;
    cursor: pointer;
    text-align: center;
}

.okucie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.okucie-option {
    cursor: pointer;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
}

.okucie-option:hover {
    background: #f8f9fa;
}

.svg-box svg {
    width: 60px;
    height: 60px;
}

#okucieTypePopup {
    display: none;
}

/* kwadratowe miniatury */
.okucie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    gap: 12px; /* dopasowane do Twojego 122px */
}

.okucie-option {
    width: 100px;
    height: 100px;
    box-sizing: border-box; /* 🔥 kluczowe */
    padding: 6px;
    border: 1px solid #ccc;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
}

.okucie-separator {
    grid-column: 1 / -1; /* 🔥 nowa linia */
    font-weight: bold;
    margin-top: 10px;
    padding: 5px 0;
}

.okucie-option:hover {
    background: #f0f0f0;
}

.okucie-option svg {
    width: 100%;
    height: 100%;
}

.okucie-option.active {
    border: 2px solid #f19914;
}

.okucia-line {
    stroke: #e7b617;
    fill: none;
    stroke-width: 3;           /* 🔥 grubsza linia */
}

.okucia-wew {
    stroke-dasharray: 20,20;
}

.okucia-zew {
    stroke-dasharray: none;
}

.okucia-helper {
    stroke: #e7b617;
    stroke-width: 1.5;
}

.okucia-hinge { 
    fill:#e7b617; 
}

.okucia-handle { 
    fill:#007bff; 
}







/* checkboxy systemów okuć */
#okucieSystemCheckboxes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

/* 🔥 KLUCZ – naprawa globalnego CSS */
#okucieSystemCheckboxes input {
    width: auto;
}

/* grupa */
.system-group {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 4px;
    background: #fafafa;
}

/* nagłówek */
.system-title {
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 3px;
}

/* checkbox + tekst */
.system-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    line-height: 1.1;
    cursor: pointer;
}

/* checkbox */
.system-item input {
    transform: scale(0.8);
    margin: 0;
}

/* tekst */
.system-item span {
    white-space: nowrap;
}

/* hover */
.system-item:hover {
    background: #f2f2f2;
    border-radius: 3px;
}







/* typy skrzydeł – układ jak systemy */
#okucieTypSkrzydlaCheckboxes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

/* kafelek */
#okucieTypSkrzydlaCheckboxes > label {
    display: flex;
    align-items: center;
    gap: 4px;

    padding: 4px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fafafa;

    font-size: 11px;
    cursor: pointer;
}

/* hover */
#okucieTypSkrzydlaCheckboxes > label:hover {
    background: #f2f2f2;
}

/* checkbox */
#okucieTypSkrzydlaCheckboxes input {
    width: auto;
    transform: scale(0.8);
    margin: 0;
}

/* tekst */
#okucieTypSkrzydlaCheckboxes span {
    white-space: nowrap;
}




/* popup wyboru rodzaju otwierania – układ kafelkowy z miniaturami */
/* 🔹 kontener typów */
.okucie-types{
  display:flex;
  flex-wrap:nowrap;          /* 🔥 jedna linia */
  gap:8px;
  padding:10px;
  border-bottom:1px solid #ddd;
  overflow-x:auto;           /* 🔥 scroll jeśli dużo */
}

/* 🔹 pojedynczy typ */
.okucie-type-item{
  width:70px;
  height:70px;
  border:1px solid #bbb;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
}

/* 🔥 SVG NA CAŁOŚĆ */
.okucie-type-item svg{
  width:100%;
  height:100%;
}

/* 🔹 opis */
.okucie-type-item small{
  font-size:10px;
  margin-top:4px;
}

/* 🔹 hover */
.okucie-type-item:hover{
  border-color:#1976d2;
  background:#f5faff;
}

/* 🔹 aktywny */
.okucie-type-item.active{
  border:2px solid #1976d2;
  background:#e3f2fd;
}


.okucie-row{
  display:flex;
  gap:10px;
  padding:6px 8px;
  cursor:pointer;
}

.okucie-nazwa{
  width:120px;        /* 🔥 stała szerokość */
  font-weight:600;
}

.okucie-opis{
  flex:1;
  color:#555;
}

/* ukrywanie zawiasów i klamek na oknie - pozostają na miniaturze */
.okucie-on-skrzydlo .okucia-hinge,
.okucie-on-skrzydlo .okucia-handle {
    display: none;
}


/* 🔥 OKUCIA – zebra + hover (nadpisanie) */

/* ========================= */
/* LIST TABLE (UL zamiast TABLE) */
/* ========================= */

.list-table{
    list-style:none;
    padding:0;
    margin:0;
    border:1px solid #ccc;
    border-radius:6px;
    overflow:hidden;
}

/* wiersz */
.list-table li{
    padding:8px 10px;
    border-bottom:1px solid #ddd;
    cursor:pointer;
    background:#fff;
}

/* usuń border z ostatniego */
.list-table li:last-child{
    border-bottom:none;
}

/* 🔥 zebra */
.list-table li:nth-child(even){
    background:#f3f4f6;
}

/* 🔥 hover */
.list-table li:hover{
    background:#eaeaea;
}

/* 🔥 active (zostaw kompatybilność) */
.list-table li.active{
    background:#e79f2c;
    color:#fff;
}

/* ========================= */
/* EKRAN – tabela stylów */
/* ========================= */

#ekranTable td:nth-child(2) {
    width: 220px; /* szerokość kolumny */
}

/* wspólny styl dla inputów */
#ekranTable .input-value {
    width: 100%;
    box-sizing: border-box;
    height: 32px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* 🔥 COLOR PICKER – wygląda jak normalny input */
#ekranTable input[type="color"].input-value {
    padding: 0;
    cursor: pointer;
}




/* ========================= */
/* LOGO – dostosowanie do headera */    
.logo img {
    height: 30px;
    max-width: 275px;
    object-fit: contain;
}