﻿/* #0 — scrollbar-gutter: zawsze rezerwuj miejsce na scrollbar,
        zapobiega przesunięciu page-wrapper względem fixed sidenavbara */
html {
    scrollbar-gutter: stable;
}

/* =====================================================
   Bootstrap 4 → 5 compatibility shims
   ===================================================== */

/* Badge colors (B4 badge-* → B5 bg-*) */
.badge-primary   { background-color: var(--tblr-primary) !important; color: #fff !important; }
.badge-secondary { background-color: var(--tblr-secondary) !important; color: #fff !important; }
.badge-success   { background-color: var(--tblr-success) !important; color: #fff !important; }
.badge-danger    { background-color: var(--tblr-danger) !important; color: #fff !important; }
.badge-warning   { background-color: var(--tblr-warning) !important; color: #fff !important; }
.badge-info      { background-color: var(--tblr-info) !important; color: #fff !important; }
.badge-dark      { background-color: var(--tblr-dark) !important; color: #fff !important; }
.badge-light     { background-color: var(--tblr-light) !important; color: #333 !important; }

/* Float helpers (B3/B4 pull-* still used in views) */
.pull-right { float: right !important; }
.pull-left  { float: left !important; }

/* Text alignment (B4 names still used) */
.text-left  { text-align: left !important; }
.text-right { text-align: right !important; }

/* Spacing (B4 ml-/mr- still used) */
.ml-auto { margin-left: auto !important; }
.mr-auto { margin-right: auto !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }

/* Alert box (flash messages) */
#alert-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    width: 100%;
}

#alert-box .alert {
    margin: 0;
    border-radius: 0;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 20px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

#alert-box .btn-close {
    position: static;
    flex-shrink: 0;
}

#alert-box .alert-success {
    background-color: #2fb344;
    color: #fff;
}

#alert-box .alert-danger {
    background-color: #d63939;
    color: #fff;
}

#alert-box .alert-warning {
    background-color: #f76707;
    color: #fff;
}

#alert-box .alert-info {
    background-color: #1c7ed6;
    color: #fff;
}

#alert-box .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}

/* form-inline (removed in B5) */
.form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.form-inline .form-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0;
}

/* B4 .form-group margin */
.form-group {
    margin-bottom: 1rem;
}

/* form-group.row — avoid double bottom spacing */
.form-group.row {
    margin-bottom: 0.5rem;
}

/* col-form-label B5 */
.col-form-label {
    display: block;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    flex-direction: column;
}

/* B4 modal close button (.close) */
button.close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

button.close:hover {
    opacity: 0.75;
}

/* Table cell vertical alignment */
td, th {
    vertical-align: middle;
}

/* Wider modals */
.modal-dialog {
    max-width: 70vw;
}

/* Less rounded badges */
.badge {
    border-radius: 3px;
}

.rounded-pill {
    border-radius: 6px !important;
}

/* Dropzone message font */
.dz-message {
    font-size: 1rem;
}

/* Sidebar collapse arrow indicator */
.navbar-vertical .nav-link[data-bs-toggle="collapse"]::after {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: auto;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.navbar-vertical .nav-link[data-bs-toggle="collapse"][aria-expanded="true"]::after {
    transform: rotate(-135deg);
}

/* Sidebar sub-items indentation */
.navbar-vertical .navbar-nav .nav-item .collapse .nav-link,
.navbar-vertical .navbar-nav .nav-item .collapsing .nav-link {
    padding-left: 2.5rem;
}

/* Primary color — darker blue */
:root {
    --tblr-primary: #1a5fa8;
    --tblr-primary-rgb: 26, 95, 168;
    --tblr-link-color: #1a5fa8;
}

/* Narrower font */
:root {
    --tblr-font-sans-serif: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 14px;
}

body {
    font-size: 0.875rem;
}

/* bootstrap-select B5 compatibility */
.bootstrap-select .btn {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding-left: 0.75rem !important;
    font-weight: normal;
}

/* Bottom-align helper — dla guzika szukaj obok inputów */
[style*="align-content: end"] {
    display: flex !important;
    align-items: flex-end;
}

/* Card header consistent color */
.card-header.bg-info {
    background-color: var(--tblr-primary) !important;
}

.card-header {
    text-transform: uppercase;
}

/* Paginator — B4 .page-item.disabled .page-link → B5 compatible */
.page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
}

/* Sidebar active link */
.navbar-vertical .nav-link.active {
    color: var(--tblr-primary);
    font-weight: 600;
}

/* l-radio / l-switch alignment fix */
label.l-radio,
label.l-switch {
    display: inline-flex;
    align-items: center;
}

/* Card header contrast fix (SameAsOffice checkbox) */
.card-header .form-check-label,
.card-header .form-check-input {
    color: inherit;
}

/* ===================================================== */

.l-radio {
    padding: 4px;
    border-radius: 5px;
    display: inline-flex;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 8px 0;
    -webkit-tap-highlight-color: transparent;
}

    .l-radio:hover, .l-radio:focus-within {
        background: rgba(159, 159, 159, 0.1);
    }

    .l-radio input {
        vertical-align: middle;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        background: none;
        border: 0;
        box-shadow: inset 0 0 0 1px #9F9F9F;
        box-shadow: inset 0 0 0 1.5px #9F9F9F;
        appearance: none;
        padding: 0;
        margin: 0;
        transition: box-shadow 150ms cubic-bezier(0.95, 0.15, 0.5, 1.25);
        pointer-events: none;
    }

        .l-radio input:focus {
            outline: none;
        }

        .l-radio input:checked {
            box-shadow: inset 0 0 0 6px #246AB3;
        }

    .l-radio span {
        vertical-align: middle;
        display: inline-block;
        line-height: 20px;
        padding: 0 8px;
    }

.l-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 17px;
}

    /* Hide default HTML checkbox */
    .l-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.l-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E7E7E7;
    -webkit-transition: .4s;
    transition: .4s;
}

    .l-switch-slider:before {
        position: absolute;
        content: "";
        height: 13px;
        width: 13px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .l-switch-slider {
    background-color: #246AB3;
}

input:checked + .l-switch-slider-green {
    background-color: #62D493 !important;
}

input:checked + .l-switch-slider-cyan {
    background-color: #00FFFF !important;
}

input:checked + .l-switch-slider-magenta {
    background-color: #FF00FF !important;
}

input:checked + .l-switch-slider-yellow {
    background-color: #FFFF00 !important;
}

input:checked + .l-switch-slider-black {
    background-color: #000000 !important;
}

input:focus + .l-switch-slider {
    box-shadow: 0 0 1px #246AB3;
}

input:focus + .l-switch-slider-green {
    box-shadow: 0 0 1px #62D493 !important;
}

input:checked + .l-switch-slider:before {
    -webkit-transform: translateX(29px);
    -ms-transform: translateX(29px);
    transform: translateX(29px);
}

/* Rounded sliders */
.l-switch-slider.round {
    border-radius: 15px;
}

    .l-switch-slider.round:before {
        border-radius: 15px;
    }

#ghostbar {
    width: 2px;
    background-color: #000;
    opacity: 0.5;
    position: absolute;
    cursor: col-resize;
    z-index: 999
}

.spec-row {
    min-height: 100px;
    border-bottom: 1px dashed #efefef;
}

.form-element {
    padding-right: 0;
}

    .form-element:hover {
        border: 1px solid #00ced1;
        cursor: grab;
    }

.form-element-wrapper {
    float: left;
    overflow: hidden;
    width: 97%;
}

.dragbar {
    height: 100%;
    float: right;
    width: 2px;
    background-color: #bfbfbf;
    cursor: col-resize;
}

.delete-element {
    margin-left: -18px;
    position: absolute;
    padding: 0 4px !important;
}

.file-upload-mock {
    width: 99.5%;
    height: 150px;
    border: 2px dashed #EFEFEF;
    text-align: center;
    color: #999999;
    padding-top: 30px;
}

.upload-container {
    height: 100%;
    border: 1px dashed #EFEFEF;
    text-align: center;
    color: #CBCBCB;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.option-image-drop {
    width: 99.5%;
    height: 50px;
    margin-top: 10px;
    border: 2px dashed #EFEFEF;
    text-align: center;
    color: #999999;
    text-align: center;
}

.dropzone:hover {
    cursor: pointer;
}

.pattern-preview, .punch-pattern-preview {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    align-content: flex-end;
}

.pattern-image-preview, .punch-pattern-image-preview {
    max-width: 60%;
    max-height: 55%;
    position: absolute;
}

.layout-on-roll-label {
    border: 1px solid #CBCBCB;
    padding: 4px 8px;
    border-radius: 2px;
    width: 100%;
}

.layout-on-roll-label {
    border: 1px solid #CBCBCB;
    padding: 4px 8px;
    border-radius: 2px;
    width: 100%;
}

.layout-on-roll-label-selected {
    border: 2px solid #246AB3;
    padding: 4px 8px;
    border-radius: 2px;
    width: 100%;
}

.layout-on-roll-label:hover {
    cursor: pointer;
}

.roll-items-container-inside {
    position: absolute;
    top: 59%;
    left: 32%;
    width: 65%;
    height: 30%;
    display: flex;
    gap: 4px;
}

.roll-items-container-outside {
    position: absolute;
    top: 6%;
    left: 12%;
    width: 85%;
    height: 30%;
    display: flex;
    gap: 4px;
}

.certificate-box {
    border: 1px solid #CBCBCB;
    padding: 4px 8px;
    border-radius: 2px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.certificate-box-selected {
    border: 2px solid #246AB3;
    padding: 4px 8px;
    border-radius: 2px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.certificate-box:hover, .certificate-box-selected:hover {
    cursor: pointer;
}

.color {
    width: 5%;
    height: 30px;
    float: left;
    overflow: hidden;
}

    .color:hover {
        cursor: pointer;
    }

.glue-side-overprint-overlay, .alternative-material-1-overlay, .alternative-material-2-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #777777;
    opacity: 0.1;
    z-index: 20;
    margin: 0 !important;
    top: 0;
    left: 0;
}

/* bootstrap-select — stara definicja zastąpiona przez wersję B5 na górze pliku */

/* duplicate usunięte — definicja alert-box jest na górze pliku */

.fixed-width {
    width: 270px;
    max-width: 300px;
    overflow-x: auto;
    white-space: nowrap;
}

.fixed-width::-webkit-scrollbar {
    height: 8px; /* Set the height for horizontal scrollbar */
}

.fixed-width::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track background color */
}

.fixed-width::-webkit-scrollbar-thumb {
    background: #888; /* Thumb color */
}

.fixed-width::-webkit-scrollbar-thumb:hover {
    background: #555; /* Thumb color on hover */
}

.fixed-width-client {
    width: 190px;
    max-width: 190px;
    overflow-x: auto;
    white-space: nowrap;
}

.fixed-width-client::-webkit-scrollbar {
    height: 8px;
}

.fixed-width-client::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.fixed-width-client::-webkit-scrollbar-thumb {
    background: #888;
}

.fixed-width-client::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.actions-inline {
    display: block;
    white-space: nowrap;
    text-align: right;
}

.actions-dropdown {
    display: none !important;
    text-align: right;
}

.actions-dropdown .dropdown-menu {
    min-width: auto;
}

.actions-dropdown .dropdown-item {
    padding: 0.35rem 0.75rem;
}

.actions-dropdown .dropdown-item i {
    margin-right: 5px;
}

.note-editor.note-airframe .note-editable {
    border-bottom: 1px solid #ced4da;
    padding: .5rem !important;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.5;
    min-height: 80px;
}

.ql-snow .ql-stroke {
    stroke: #444;
}
.ql-snow .ql-fill,
.ql-snow .ql-stroke.ql-fill {
    fill: #444;
}
.ql-snow .ql-picker {
    color: #444;
}

@media screen and (max-width: 1715px) {
    .attachments-col, .position-col {
        display: none;
    }
}

@media screen and (max-width: 1626px) {
    .updated-at-col, .phone-col {
        display: none;
    }
}

@media screen and (max-width: 1596px) {
    .created-at-col {
        display: none;
    }
}

@media screen and (max-width: 1320px) {
    .fixed-width {
        width: 140px;
        max-width: 140px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .fixed-width-client {
        width: 100px;
        max-width: 100px;
    }
}

@media screen and (max-width: 1200px) {
    .actions-inline {
        display: none !important;
    }

    .actions-dropdown {
        display: block !important;
    }
}
/* =====================================================
   Fixes runda 2
   ===================================================== */

/* #2 — filtry: nie łam labelek w form-inline */
.form-inline .form-group,
.form-inline > div {
    flex-shrink: 0;
}

/* #3 — gap między topbarem a sidebar: sidebar wypełnia całą wysokość */
.navbar-vertical {
    min-height: 100vh;
}

.page-wrapper {
    min-height: 100vh;
    margin-left: 14rem !important;
}

/* Wyrównanie top-headera z sidebar */
.page-wrapper > header.navbar {
    border-bottom: 1px solid var(--tblr-border-color);
    background: var(--tblr-bg-surface);
}

/* #4 — radio buttony (.l-radio + Bootstrap 5 .form-check) */
label.l-radio.form-check {
    padding-left: 0;
    min-height: auto;
    margin-bottom: 0;
}

label.l-radio.form-check .form-check-input {
    float: none;
    margin-left: 0;
    margin-top: 0;
    position: static;
    flex-shrink: 0;
}

/* #5 — odstępy między sekcjami (karty stykające się) */
.page-body .row + .row,
.page-body .card + .card {
    margin-top: 0.75rem;
}

.page-body .card {
    margin-bottom: 0.75rem;
}

/* #6 — błędy walidacji formularza — zawsze widoczne */
.jquery-validation-error {
    display: block !important;
}

/* #7 — tabele flush z krawędzią karty */
.card-body > table.table {
    margin-left: calc(-1 * var(--tblr-card-spacer-x, 1.25rem));
    margin-right: calc(-1 * var(--tblr-card-spacer-x, 1.25rem));
    width: calc(100% + 2 * var(--tblr-card-spacer-x, 1.25rem));
    max-width: none;
    margin-bottom: 0;
}

.card-body > table.table:first-child {
    margin-top: calc(-1 * var(--tblr-card-spacer-y, 1.25rem));
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* thead zaokrąglenia przy karcie */
.card-body > table.table thead th:first-child { border-top-left-radius: 0; }
.card-body > table.table thead th:last-child  { border-top-right-radius: 0; }

/* Nagłówki tabeli: uppercase + subtelne pogrubienie */
table.table thead th {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

/* Szare guziki (btn-secondary) — jasne jak header tabeli */
.btn-secondary {
    --tblr-btn-bg: #f0f2f5;
    --tblr-btn-border-color: #dce0e6;
    --tblr-btn-color: #626976;
    --tblr-btn-hover-bg: #e2e6eb;
    --tblr-btn-hover-border-color: #c8cdd4;
    --tblr-btn-hover-color: #3d434a;
    --tblr-btn-active-bg: #d8dce2;
}

/* =====================================================
   Fixes runda 3
   ===================================================== */

/* #2 — dropdowny w top navbarze (Tabler ustawia overflow:hidden na .navbar) */
header.navbar {
    overflow: visible;
}

header.navbar .dropdown-menu {
    z-index: 1050;
}

/* =====================================================
   Fixes runda 4
   ===================================================== */

/* #6 — pull-right / pull-left (usunięte w BS5) */
.pull-right { float: right; }
.pull-left  { float: left; }

/* #1 — l-switch: resetuj ingerencję .form-check z BS5 */
label.l-switch.form-check,
label.l-switch.form-check-inline {
    padding-left: 0;
    min-height: auto;
    margin-bottom: 0;
    vertical-align: middle;
}

label.l-switch.form-check .form-check-input,
label.l-switch.form-check-inline .form-check-input {
    float: none;
    margin-left: 0;
    margin-top: 0;
    position: static;
}

/* #1 — suwaczek (thumb) wycentrowany w sliderze 17px */
.l-switch-slider:before {
    bottom: 2px; /* było 4px — dla height:17px dawało top=0 (przyklejony do góry) */
}

/* #1 — label text obok slidera wyrównany pionowo */
.form-check-label {
    vertical-align: middle;
}

/* l-switch + labelka: wyrównanie pionowe przez flex na rodzicu */
.form-group:has(.l-switch) {
    display: flex;
    align-items: center;
}

/* card-header z l-switch lub ikonką (i): tekst + element po prawej, wyrównane pionowo */
.card-header:has(.l-switch),
.card-header:has(.icon-info) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* #2 — kolory: wyrównaj elementy w rzędzie do dołu */
.color-section.row {
    align-items: flex-end;
}

/* #3 — dropzone: tekst "Drop file here" czytelniejszy */
.dropzone .dz-message {
    color: var(--tblr-body-color, #354052);
}

.dropzone .dz-message h5,
.dropzone .dz-message h1 {
    color: var(--tblr-body-color, #354052);
    font-size: 1rem;
}

/* #4 — ikona walidacji (czerwone X) przy prawej krawędzi inputa */
.form-control.is-invalid,
.form-select.is-invalid {
    background-position: right 0.5rem center;
}

/* #7 — labelki na formularzu nie łamią układu wiersza */
.form-group.row .form-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* #9 — sidebar: białe tło + obramowanie + brak widocznego scrollbara */
.navbar-vertical {
    background-color: var(--tblr-bg-surface);
    box-shadow: inset calc(-1 * var(--tblr-border-width, 1px)) 0 0 0 var(--tblr-border-color);
}

.navbar-expand-lg.navbar-vertical {
    overflow-y: auto;
    scrollbar-width: none;
}

.navbar-expand-lg.navbar-vertical::-webkit-scrollbar {
    display: none;
}

/* separator pod logo sidenavbara wyrównany z top navbarem */
.navbar-vertical .navbar-brand {
    border-bottom: 1px solid var(--tblr-border-color);
    width: 100%;
    min-height: calc(1.5rem + 36px);
    display: flex;
    align-items: center;
}

/* top navbar — ta sama wysokość co brand section sidenavbara */
.page-wrapper > header.navbar {
    min-height: calc(1.5rem + 36px);
}

/* =====================================================
   Fixes runda 3
   ===================================================== */

/* #10 — paginacja: kolor tekstu taki jak w tabelach */
.pagination .page-link {
    color: var(--tblr-body-color);
}

.pagination .page-item.active .page-link {
    color: #fff;
}

/* #11 — nagłówki tabeli UPPERCASE */
thead td,
thead th {
    text-transform: uppercase;
}

/* #12 — selecty i inputy: białe tło */
.form-select,
.form-control,
.bootstrap-select .dropdown-toggle {
    background-color: #fff !important;
}

/* #13 — filtry: równe małe odstępy, multiselect stała szerokość */

/* col-md-* wewnątrz form-inline dodaje gutter padding 0.75rem z każdej strony —
   zerujemy go i nadajemy width: auto, żeby gap był jedynym odstępem */
.form-inline .form-group[class*="col-"],
.form-inline > div[class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: auto !important;
    flex: 0 0 auto !important; 
    margin-bottom: 0;
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Term input: szersza wyszukiwarka */
.form-inline #Term {
    width: 400px;
}

/* Kontrahenci: krótsze inputy, wszystko w jednej linii */
#companies-filter-form #Term {
    width: 250px;
}
#companies-filter-form .bootstrap-select {
    width: 200px !important;
}

/* bootstrap-select: stała szerokość niezależnie od wybranych opcji */
.form-inline .bootstrap-select {
    width: 230px !important;
}

.form-inline .bootstrap-select .dropdown-toggle {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ostatni element (guziki) po prawej stronie */
.form-inline > *:last-child {
    margin-left: auto;
}

/* focus inputów: grubszy border, bez cienia */
.form-control:focus,
.form-select:focus,
.bootstrap-select .dropdown-toggle:focus {
    border-width: 2px;
    box-shadow: none;
}


/* Przycisk usuń kolor pantone: wysokość = podgląd koloru (30px) */
.remove-pantone-color {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropzone file preview row: wszystko wycentrowane pionowo */
.dz-preview .row {
    align-items: center;
}

/* Material dropzone: input i bootstrap-select równa szerokość, odstęp pionowy */
.dz-preview .dz-filename {
    width: 100% !important;
}

.dz-preview .bootstrap-select,
.dz-preview select[name="MaterialType"] {
    width: 100% !important;
    margin-top: 8px;
}

.dz-preview .bootstrap-select .dropdown-toggle {
    width: 100%;
}

.ql-container {
    min-height: 120px;
    border-bottom: 1px solid #CCC;
}
