<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* ------------------------------------------------------------------- */
/* OgĂłlne style dla headera */
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: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    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;
    height: 100vh;
    width: calc(100% - 20px);
    margin: 0 auto;
    margin-top: 10px;
}

.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-grow: 1;
    width: 70%;
    height: calc(100vh - 140px);
    max-height: calc(100vh - 140px);
    margin: 10px;
}

/* Parametry - boczny panel */
.parametry {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 30%;
    height: calc(100vh - 140px);
    max-height: calc(100vh - 140px);
    margin: 10px;
}


/* ------------------------------------------------------------------- */
/* Styl menu na tabletach */
@media (max-width: 1200px) {
    .header .logo img {
        height: 18px;
    }

    .header button {
        font-size: 12px;
        padding: 4px 6px;
    }

    .parametry {
        width: 35%;
        height: calc(100vh - 140px);
        max-height: calc(100vh - 140px);
        font-size: 14px;
        padding: 15px;
        overflow-y: auto;
    }

    .parametry label, .parametry input, .parametry select, .parametry button {
        font-size: 12px;
    }

    .designer {
        width: 65%;
        height: calc(100vh - 140px);
        max-height: calc(100vh - 140px);
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
    }


}


/* ------------------------------------------------------------------- */
/* Styl menu na maĹych ekranach */
@media (max-width: 768px) {
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 10px;
        width: calc(100% - 20px);
        flex-direction: row;
    }

    .header .logo {
        margin-right: auto;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .buttons {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .buttons.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgb(0, 0, 0);
        z-index: 1;
    }

    main {
        display: flex;
        flex-direction: column;
        height: auto;
        width: calc(100% - 5px);
        margin: 0 auto;
    }

    .designer {
        width: 92%;
        height: 50vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    .parametry {
        width: 92%;
        height: auto;
        min-height: 50vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 10px;
    }


    /* poziomy ukĹad parametrĂłw na smartfonie */
 
    .control-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .control-item p {
        margin: 0;
        width: 40%;
        white-space: nowrap;
    }

    .control-item select,
    .control-item input {
        flex-grow: 1;
    }

    .controls {
        max-width: 100%;
    }

    .parametry_button {
        display: flex;
        
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }






}

/* ------------------------------------------------------------------- */
/* Projekt (SVG) */
#rysunek {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#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: 5px;
    font-size: 10px;
    z-index: 300;
}

.menu button, .elementMenu button {
    display: block;
    margin-bottom: 0px;
    background-color: rgb(222, 144, 0);
    color: white;
    border: none;
    padding: 2px;
    cursor: pointer;
    width: 90%;
    font-size: 10px;
}

.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 {
    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 */
}


@media (max-width: 768px) {
    #crudSection {
        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: auto;
        overflow-x: auto; 
    }
}



/* Styl dla tabeli w crudSection */
#dataTable, #packageTable, #constructionTable, #glassTable, #koloryTable, #systemyTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

/* KomĂłrki tabeli */
#dataTable th, #packageTable th, #constructionTable th, #glassTable th, #koloryTable th, #systemyTable th,
#dataTable td, #packageTable td, #constructionTable td, #glassTable td, #koloryTable td, #systemyTable td {
    border: 1px solid #ccc;
    text-align: left;
    padding: 8px;
    font-size: 14px;
}

/* NagĹĂłwki tabeli */
#dataTable th {
    background-color: #f2f2f2;
    font-weight: bold;
    cursor: pointer;
}

/* Zmiana koloru przy najechaniu na nagĹĂłwki */
#dataTable th:hover {
    background-color: #ddd;
}

/* Wiersze tabeli */
#dataTable tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Kolor dla parzystych wierszy */
}

#dataTable tbody tr:hover {
    background-color: #eaeaea; /* PodĹwietlenie wiersza przy najechaniu */
}

/* Styl dla wyszukiwarki w crudControls */
#crudControls, #packageControls, #constructionsControls, #szybyControls, #koloryControls, #systemyControls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#searchElementy, #searchPakiety, #searchKonstrukcje, #searchSzyby, #searchKolory, #searchSystemy {
    width: 50%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#addElementBtn, #addPackageBtn, #addConstructionBtn, #addGlassBtn, #addKoloryBtn, #addSystemyBtn {
    background-color: rgb(222, 144, 0);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#addElementBtn:hover, #addPackageBtn:hover, #addConstructionBtn:hover, #addGlassBtn:hover, #addKoloryBtn:hover, #addSystemyBtn:hover{
    background-color: rgb(171, 113, 4);
}

.editBtn, .viewElementsBtn, .editPackageBtn, .editElementBtn, .editConstructionBtn, .editGlassBtn, .editKoloryBtn, .editSystemyBtn {
    background-color: rgb(222, 144, 0);
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.editBtn:hover, .viewElementsBtn:hover, .editPackageBtn:hover, .editElementBtn:hover, .editConstructionBtn:hover, .editGlassBtn:hover, .editKoloryBtn:hover, .editSystemyBtn:hover {
    background-color: rgb(171, 113, 4);
}

.deleteBtn, .deletePackageBtn, .deleteElementBtn, .deleteConstructionBtn, .deleteGlassBtn, .deleteKoloryBtn, .deleteSystemyBtn {
    background-color: #7c7c7c;
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.deleteBtn:hover, .deletePackageBtn:hover, .deleteElementBtn:hover, .deleteConstructionBtn:hover, .deleteGlassBtn:hover, .deleteKoloryBtn:hover, .deleteSystemyBtn:hover {
    background-color: rgb(171, 4, 4);
}


/* 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;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ccc;
    text-align: left;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
    cursor: pointer;
}

th:hover {
    background-color: #ddd;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* ---------------- popup----------------- */


/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Przyciemnione tĹo */
    z-index: 1000;
}

/* Popup content */
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    max-height: 90%; /* Ograniczenie wysokoĹci pop-upu */
    overflow-y: auto; /* Dodanie przewijania w osi pionowej */
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row label {
    width: 55%; /* Etykiety po lewej stronie */
    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%;
}

/* Przyciski */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .primary-button {
    background-color: rgb(222, 144, 0);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary:hover, .primary-button:hover {
    background-color: rgb(171, 113, 4);
}

.btn-secondary, .secondary-button {
    background-color: #ccc;
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-secondary:hover, .secondary-button:hover {
    background-color: #bbb;
}



/* 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: 10px 20px;
    font-size: 16px;
    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;
}


@media (max-width: 768px) {
    .crud-tab {
        background-color: rgb(222, 144, 0);
        color: white;
        border: none;
        padding: 6px 6px;
        font-size: 10px;
        cursor: pointer;
        border-radius: 5px;
        transition: background-color 0.3s;
    }
}









.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Przyciemnione tĹo */
    z-index: 1000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.popup .form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.popup .form-container label {
    font-weight: bold;
}

.popup .form-container input,
.popup .form-container textarea {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popup .form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}



/* 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;
    }

    #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%;
    }

</pre></body></html>