.offertspage_container .offertspage-table_box .add-product-box.visible.mt--1 { margin-top: 10px; }

.me-45 {
    margin-right: 2rem !important;
}

span.pink,
li.pink,
p.pink,
a.pink { color: #e20079; }

.mt--1 { margin-top: 10px; }
.mt--2 { margin-top: 20px; }
.mt--3 { margin-top: 30px; }
.mt--4 { margin-top: 40px; }

.mb--1 { margin-bottom: 10px; }
.mb--2 { margin-bottom: 20px; }
.mb--3 { margin-bottom: 30px; }
.mb--4 { margin-bottom: 40px; }

.pt--1 { padding-top: 10px; }
.pt--2 { padding-top: 20px; }
.pt--3 { padding-top: 30px; }
.pt--4 { padding-top: 40px; }

.pb--1 { padding-bottom: 10px; }
.pb--2 { padding-bottom: 20px; }
.pb--3 { padding-bottom: 30px; }
.pb--4 { padding-bottom: 40px; }

.alert  { border-radius: 0; }

.email      { display: none; }

a.common    { color: #e6007e; text-decoration: none; }
a.common:focus,
a.common:hover { color: #34224f; }

.color-btn:hover img {
    content: url(./../assets/icons/common/buttons/button_pink_arrow.svg);
}

.red {
    color: red;
}

.green {
    color: green;
}

textarea.fail,
select.fail,
input.fail {
    border-color: #f4afad !important;
    color: #a94442 !important;
    background-color: #f08481 !important;
}

label.fail,
label.fail a {
    color: #a94442 !important;
}

div#types-brandings-info {
    display: flex;
    flex-direction: row;
    gap: 35px;
}

@media (max-width: 768px) {
    div#types-brandings-info {
        flex-direction: column;
    }
    div#types-brandings-info div.branding-techniques {
        margin-top: 35px;
    }
}

.types-container-tags .types-container__tag {
    max-height: 40px;
}

/* === Slajd 360 === */
.slide-360 .view360-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    overflow: hidden;
}

.slide-360 .iframe-360 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* === Miniatura 360 === */
.thumb-360 {
    position: relative;
    overflow: hidden;
}

/* wyśrodkowanie idealnie na środku */
.thumb-360-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.9;
}

/* opcjonalne przyciemnione tło */
.thumb-360-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    border-radius: 50%;
}

/* SVG nad tłem */
.thumb-360-badge svg {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.dashboard-wrapper.filtered {
    height: auto;
}

/* Główny kontener paska filtrów - układa elementy w poziomie od lewej do prawej */
.dashboard-wrapper .title.title-filter {
    display: flex;
    flex-wrap: wrap;       /* Pozwala na zawijanie na mniejszych ekranach */
    justify-content: flex-start; /* Wymusza przyleganie od lewej strony i kierunek w prawo */
    align-items: center;   /* POPRAWKA: środek w pionie (wartość 'left' tu nie działa) */
    gap: 15px;             /* Odstępy między elementami */
    padding: 15px 40px 15px 0;
}

/* Styl dla napisu "Filtruj" */
.dashboard-wrapper .title.title-filter .filter-header {
    margin: 0 40px 0 0;
    font-size: 1.1em;
    font-weight: bold;
    /* Obniża napis o wysokość labela + marginesu, żeby był w jednej linii z inputami */
    margin-top: 18px;
}

/* Pojedynczy box filtra: label nad inputem */
.dashboard-wrapper .title.title-filter .filter-group {
    display: flex;
    flex-direction: column; /* Label ląduje nad inputem */
    font-size: 0.75em;
}

/* Delikatny odstęp między labelem a inputem */
.dashboard-wrapper .title.title-filter .filter-group label {
    margin-bottom: 4px;
    font-weight: 600;
}

.dashboard-wrapper .title.title-filter .filter-group input {
    max-width: 120px;
    font-size: 1em;
    padding: 10px 6px;
    height: auto;
    margin: 0;
}

/* Dopasowanie wysokości przycisku i wyrównanie go do dołu, by pasował do inputów */
.dashboard-wrapper .title.title-filter .filter-actions {
    align-self: flex-end; /* Wyrównuje dół przycisku do dolnej krawędzi inputów */
}

@media (max-width: 991px) {
    .dashboard-wrapper .title.title-filter {
        justify-content: center;
    }
    .dashboard-wrapper .title.title-filter .filter-group input {
        margin: 0;
    }
}

.dashboard-wrapper .title.title-filter .filter-actions button.color-btn,
.dashboard-wrapper .title.title-filter .filter-actions button.white-btn {
    padding: 6px 15px;
    margin-top: 20px;
    height: auto;
}

/* Kontener główny ramki */
.checkbox-frame.selectable-active {
    position: relative;
    border: 2px solid #ebebeb;
    border-radius: 0px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    padding: 45px 15px 15px 15px;
    background: #fff;
    box-sizing: border-box;
}

/* Efekt najechania */
.checkbox-frame.selectable-active:hover {
    border-color: #afafaf;
}

/* Stan po zaznaczeniu ramki */
.checkbox-frame.is-selected {
    border-color: #f26521;
    background-color: #fffbf9;
}

/* Pasek górny (tekst + checkbox) */
.selection-top-bar {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    z-index: 10;
    width: 25px;
    height: 25px;
}

/* Panel klienta - status zalogowania w nav */
nav .nav-account-cart a.nav-clients-panel-icon span {
    text-align: center;
}

nav .nav-account-cart a.nav-clients-panel-icon span .nav-clients-panel-status {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
    color: #747474;
}

/* Stylizacja checkboxa */
.frame-selector-input {
    width: 25px !important;
    height: 25px !important;
    cursor: pointer;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Poprawka dla obrazka, aby nie blokował kliknięć jeśli potrzeba */
.checkbox-frame .image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

div#nav-branding {
    background-color: #fff;
}
div#nav-branding p.frames-choice {
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f4f4f4;
}

.btn-small {
    height: auto !important;
    width: auto !important;
    white-space: unset !important;
    margin: 0 !important;
    padding: 5px 15px !important;
    font-size: 0.75em !important;
}

button.btn-load-intro:hover {
    border: 1px solid #e6007e;
}
.visualisation-generator-btn,
.visualisation-generator-btn-off {
    margin-top: 6px;
}

.brandkit-casual-btn {
    margin-top: 10px;
}

.brandkit-casual-slide {
    position: relative;
}

.bkc-slide-loading {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.45);
}

.bkc-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(23, 32, 42, 0.55);
}

.bkc-overlay.bkc-open {
    display: flex;
}

.bkc-modal {
    position: relative;
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 1040px;
    max-height: 92vh;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bkc-close {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 24px;
    line-height: 1;
    color: #374957;
    cursor: pointer;
}

.bkc-left {
    flex: 0 0 44%;
    padding: 16px 12px 16px 16px;
    overflow-y: auto;
}

.bkc-right {
    position: relative;
    flex: 1 1 56%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    background: #f4f4f4;
    border-radius: 6px;
    overflow: hidden;
}

.bkc-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bkc-title {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 600;
    color: #374957;
}

.bkc-desc {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 150%;
    color: #6a7a86;
}

.bkc-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 26px 18px;
    border: 1px dashed #b9c6d2;
    border-radius: 8px;
    background: #f6f9fc;
    text-align: center;
    cursor: pointer;
}

.bkc-dropzone.bkc-dragover,
.bkc-dropzone.bkc-has-file {
    border-color: #e6007e;
    background: #ffeef7;
}

.bkc-dropzone svg {
    width: 46px;
    height: 36px;
    margin-bottom: 6px;
    color: #374957;
}

.bkc-dropzone-main {
    font-size: 15px;
    font-weight: 600;
    color: #374957;
}

.bkc-dropzone-sub {
    font-size: 13px;
    color: #6a7a86;
}

.bkc-dropzone-formats {
    margin-top: 4px;
    font-size: 12px;
    color: #8a99a6;
}

.bkc-dropzone-file {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #e6007e;
    word-break: break-all;
}

#bkc_file_input {
    display: none;
}

.bkc-library {
    margin-top: 18px;
}

.bkc-library-title {
    margin: 0 0 8px;
    font-size: 13px;
    color: #6a7a86;
}

.bkc-library-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 128px;
    overflow-y: auto;
}

.bkc-library-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 76px;
    height: 66px;
    padding: 4px;
    border: 1px solid #dfe6ec;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.bkc-library-item img {
    max-width: 100%;
    max-height: 34px;
    object-fit: contain;
}

.bkc-library-item.selected {
    border-color: #e6007e;
    box-shadow: 0 0 0 1px #e6007e;
}

.bkc-library-ext {
    padding: 2px 6px;
    border-radius: 3px;
    background: #eef2f6;
    font-size: 11px;
    font-weight: 700;
    color: #374957;
}

.bkc-library-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: #8a99a6;
}

.bkc-library-empty {
    font-size: 13px;
    color: #8a99a6;
}

.bkc-technique-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #374957;
}

.bkc-technique {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #cfd8e0;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    color: #374957;
}

.bkc-generate-btn {
    width: 100%;
    height: 52px;
    margin-top: 22px;
    border: 1px solid #e6007e;
    border-radius: 6px;
    background: #e6007e;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.bkc-generate-btn:hover {
    background: #c4006b;
    border-color: #c4006b;
}

.bkc-generate-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.bkc-download-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin-top: 10px;
    border: 1px solid #e6007e;
    border-radius: 6px;
    background: #fff;
    color: #e6007e;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.bkc-download-btn.bkc-open {
    display: flex;
}

.bkc-download-btn:hover {
    background: #e6007e;
    color: #fff;
    text-decoration: none;
}

.bkc-error {
    display: none;
    margin: 10px 0 0;
    font-size: 13px;
    color: #c4006b;
}

.bkc-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    color: #374957;
}

.bkc-preview-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    color: #374957;
}

.bkc-preview-loading.bkc-open {
    display: flex;
}

.bkc-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(230, 0, 126, 0.25);
    border-top-color: #e6007e;
    border-radius: 50%;
    animation: bkc-spin 0.8s linear infinite;
}

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

@media (max-width: 860px) {
    .bkc-modal {
        flex-direction: column-reverse;
        gap: 12px;
        padding: 12px;
        overflow-y: auto;
    }
    .bkc-close {
        top: 20px;
        right: 20px;
    }
    .bkc-left {
        flex: none;
        padding: 8px 6px;
    }
    .bkc-right {
        flex: none;
        min-height: 220px;
    }
    .bkc-right img {
        max-height: 300px;
    }
    .bkc-title {
        font-size: 22px;
    }
}
