﻿:root {
    --chart-line-color: rgba(255, 255, 255, 0.65);
    --pie-color-90: rgba(255, 255, 255, 0.9);
    --pie-color-50: rgba(255, 255, 255, 0.5);
    --pie-color-25: rgba(255, 255, 255, 0.25);
    --ct-border-color: rgb(255 255 255 / 33%);
    --chart-kolor: rgb(255 255 255 / 70%);
    --range-color: rgb(0 0 0 / 0%);
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
}

.grid-item {
    padding: 10px;
}

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
.my_select2_dropdown_class {
    z-index: 9999 !important;
}

.tcenter {
    text-align: center;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: rgba(var(--bs-light-rgb), 0.5); /* 50% przezroczystości */
}

/*.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}*/

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}



.footer {
    position: static;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-content {
    flex: 1 0 auto;
}

footer.page-footer {
    flex-shrink: 0;
}

.kafelValue {
    text-align: center;
    width: 100%;
}

.tilebox-one i {
    position: absolute;
    right: 1.5rem;
    font-size: 2rem;
    opacity: .3;
}

.card .header-title {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: .9rem;
    margin-top: 0;
}

.text-muted {
    color: var(--ct-secondary-color) !important;
}

.card-header {
    background-color: transparent !important;
    border-bottom: none !important;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x) !important;
}

/*.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--ct-secondary-color);
}*/
form.user .col-12 {
    margin-top: 1rem;
}

form.user .col-6 {
    margin-top: 1rem;
}

.form-group > .control-label {
    margin-bottom: 0.5rem; /* Domyślnie Bootstrap daje ~0.375rem */
    margin-top: 0.3rem;
}

.modal-content {
    background-color: #515151;
}

.form-group > h4 {
    font-size: 1.2rem;
}

.form-group > h5 {
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1rem; /* Domyślnie Bootstrap daje ~0.375rem */
    margin-top: 0.5rem;
}

.form-select {
    --ct-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

span.badge-primary-lighten {
    color: #727cf5 !important;
    background-color: rgb(0 0 0 / 20%);
    /*    background-color: #f1f2fe !important;*/
}

span.badge-secondary-lighten {
    color: #6c757d !important;
    /*    background-color: #f6f7fb !important;*/
    background-color: rgb(0 0 0 / 20%);
}

span.badge-success-lighten {
    color: #0acf97 !important;
    /*    background-color: #e7faf5 !important;*/
    background-color: rgb(0 0 0 / 20%);
}

span.badge-danger-lighten {
    color: #fa5c7c !important;
    background-color: rgb(0 0 0 / 20%);
    /*    background-color: #ffeff2 !important;*/
}

span.badge-warning-lighten {
    color: #ffc35a !important;
    background-color: rgb(0 0 0 / 20%);
    /* background-color: #fff9ef !important;*/
}

span.badge-info-lighten {
    color: #39afd1 !important;
    background-color: rgb(0 0 0 / 20%);
    /* background-color: #ebf7fa !important;*/
}

span.badge-dark-lighten {
    color: #313a46 !important;
    background-color: rgb(0 0 0 / 20%);
    /* background-color: #ced4da !important;*/
}

.custom-dropdown-button {
    /*    padding: 0.9rem 0.45rem;
    font-size: 0.9rem;
    text-align: center;
    vertical-align: middle;*/
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 30px; /* lub tyle, ile trzeba */
    width: 50px; /* już jest w stylu */
    padding: 0;
}

.cst-btn-i {
    margin-right: 0 !important;
}

.xycenter {
    justify-content: center;
    text-align: center;
    display: flex;
}

.arrow-none:after {
    display: none;
}

.logo-icon {
    width: 38px;
}

select optgroup {
    background-color: var(--bs-gray-800); /* lub np. #343a40 */
    color: #fff; /* jasny tekst dla kontrastu */
    /*    font-weight: bold;*/
}

.gm-style .gm-style-iw {
    color: #000;
}

.gm-style-iw-d h1,
.gm-style-iw-d h2,
.gm-style-iw-d h3,
.gm-style-iw-d h4,
.gm-style-iw-d h5,
.gm-style-iw-d h6 {
    color: #0000ff;
}

.bool-icon {
    stroke: #ffffff; /* domyślnie białe */
}

.sidebar-wrapper {
    min-height: 300px; /* lub 100vh minus header/footer */
}

table.dataTable tbody td.dt-control:before {
    display: inline-block;
  
    content: "";
    border-top: 5px solid transparent;
    border-left: 10px solid var(--bs-table-striped-color);
    border-bottom: 5px solid transparent;
    border-right: 0px solid transparent;
}

table.dataTable tbody tr.dt-hasChild td.dt-control:before {
    border-top: 10px solid var(--bs-table-striped-color);
    border-left: 5px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 5px solid transparent;
}


table.dataTable tbody td.dt-control {
    text-align: center;
    cursor: pointer;
    display: table-cell;
}

.apexcharts-legend-text {
    color: var(--chart-kolor) !important;
    fill: var(--chart-kolor) !important;
}
.apexcharts-text tspan {
    color: var(--chart-kolor) !important;
    fill: var(--chart-kolor) !important;
}
.apexcharts-menu-item {
    color: #6c757d !important;
    fill: #6c757d !important;
}

/* Większy odstęp po lewej (miejsce na większy suwak) */
.form-check.form-switch.big-switch {
    /*padding-left: 4.5em;*/ /* dostosuj: width + ~1em */
    display: flex;
    justify-content: center; /* poziome wyśrodkowanie */
    align-items: center; /* pionowe wyśrodkowanie */
}

    /* Powiększony przełącznik */
    .form-check.form-switch.big-switch .form-check-input {
        width: 5em !important; /* domyślnie 2em */
        height: 2.75em !important; /* domyślnie ~1em */
        margin-left: -4em !important; /* = width + 0.5em */
        background-position: left center; /* jak w BS */
        background-size: contain;
        transition: background-position .15s ease-in-out;
        cursor: pointer;
    }

        /* Po zaznaczeniu – gałka na prawo (jak w BS) */
        .form-check.form-switch.big-switch .form-check-input:checked {
            background-position: right center;
            background-size: contain;
        }

.apexcharts-menu-item.exportCSV {
    display: none !important;
}