@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --rz-input-font-size: 1rem;
}

.rz-grid-table {
    z-index: 1;
}

/* Menu narzędziowe nad listami i formatkami edycji */
.menu:not(.profile-menu) {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: lightgray;
    margin-bottom: 30px;
}

/* Kontener dla stron ze szczegółami */
detail-content {
    padding: 10px;
}

/* Poprawka dla RadzenRequiredValidator żeby się nie chował pod inne elementy formularza */
.ui-message-popup {
    z-index: 1000;
}
/* Drobna modyfikacja dla formularzy */
.form-group {
    margin-bottom: 1.5rem; /* Powiększony odstęp między kolejnymi wierszami */
}

.hr-narrow {
    margin-top: 0;
    margin-bottom: 0;
}

.hr-medium {
    margin-top: 1px;
    margin-bottom: 15px;
}

/*Panele callout za https://gist.github.com/fernandolozer/97b6c4ed806460d63e74*/
.bs-callout {
    padding: 4px;
    margin: 10px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }

.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, 15rem);
    grid-gap: 2rem;
    justify-content: center;
    padding-left: 0;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.footer {
    padding: 0.75rem;
}

.textbox:disabled, .textarea:disabled, .mask:disabled, .ui-dropdown:disabled, .ui-multiselect:disabled, .ui-calendar-w-btn:disabled, .ui-spinner:disabled, .ui-lookup-search input:disabled, .ui-radiobutton-box.ui-state-disabled, .ui-state-disabled.ui-dropdown, .ui-state-disabled.ui-multiselect, .ui-autocomplete-input:disabled, .ui-listbox.ui-state-disabled, .ui-picklist.ui-state-disabled, .ui-calendar-w-btn.ui-state-disabled, .ui-spinner.ui-state-disabled {
    color: #212529;
    background-color: rgba(58, 58, 58, 0.05);
}

/* Poprawka komunikatów walidacji (chmurki/baloons) w Radzen */
.rz-message-popup {
    z-index: 999 !important;
}

.rz-cell-filter-content .rz-textbox, .rz-cell-filter-content .rz-inputtext {
    text-indent: 0.25rem;
}

.rz-cell-filter-content .rz-cell-filter-label {
    position: relative;
    min-width: 0.5rem;
}
