﻿/* Decorare camp obligatoiru */
.required > label {
    position: relative
}

.required > label:before {
    position: absolute;
    color: #e32;
    content: '*';
    display: inline;
    margin-left: -.45em;
}

/* Custom - Select 2 */
li.select2-results__option[aria-selected='true'] .c-4 {
    color: unset
}

/* t-item
-------------------------------------------------- */
.t-item.border-bottom.border-1:hover {
    border-color: var(--t-color-7) !important;
}

.t-item .dropdown-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100% !important;
}

.t-item.selected {
    background-color: var(--t-color-3);
}

.t-item.selected-danger {
    background-color: #f6dad7;
}
@media screen and (max-width: 700px) {
    table.tabel-mobil {
        width: 100% !important;
        border-collapse: separate;
        /*border-spacing: 0 32px;*/
        border-spacing: 0 32px;
    }

    .hr-statusuri {
        display: none;
    }

    table.tabel-mobil thead {
        display: none !important;
    }

    table.tabel-mobil tr, table.tabel-mobil td {
        border-bottom: 1px solid #ddd !important;
    }

    table.tabel-mobil td {
        display: flex !important;
        justify-content: space-between;
        text-align: justify;
        text-justify: inter-word;
    }

        table.tabel-mobil td::before {
            content: attr(label) !important;
            font-weight: bold !important;
            width: 120px !important;
            min-width: 120px !important;
        }
}

.cfd-text-no-wrap {
    text-wrap-mode: nowrap !important;
}
.on-hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.on-hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.imagine-svg-paginatie {
    width: 1.5rem;
    height: 1.5rem;
}

.wh-1rem {
    width: 1rem;
    height: 1rem;
}

.wh-1_5rem {
    width: 1.5rem;
    height: 1.5rem;
}

.rotate-180 {
    transform: rotate(180deg);
}
.readonly {
    background-color: #e9ecef !important;
    cursor: not-allowed;
}

input.readonly, select.readonly {
    border: 1px solid black !important;
    background-color: #e9ecef !important;
    cursor: not-allowed;
}

.imagine-head-line {
    width: 1rem;
    height: 1rem;
    /*    filter: brightness(0) saturate(100%) invert(20%) sepia(70%) saturate(785%) hue-rotate(199deg) brightness(92%) contrast(97%);*/
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.btn-vizualizare {
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: nowrap;
    min-width: max-content;
}


@media (min-width: 1600px) {
    .container-xxxl, .container-xxl, .container-xl, .container {
        max-width: 1500px;
    }
}

@media (min-width: 1920px) {
    .container-4k, .container-xxxl, .container-xxl, .container-xl, .container {
        max-width: 1800px;
    }
}

@media (min-width: 2560px) {
    .container-5k, .container-4k, .container-xxxl, .container {
        max-width: 2300px;
    }
}

@media (min-width: 3840px) {
    .container-8k, .container-5k, .container-4k, .container {
        max-width: 3400px;
    }
}


.server-clock {
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
    --bs-bg-opacity: 0.01 !important;
    --bs-text-opacity: 1 !important;
    color: var(--bs-secondary-color) !important;
}

.formatare-txt {
    white-space: pre-line;
}

.border-radius {
    border-radius: var(--bs-border-radius);
}

[data-bs-theme="dark"] .bg-light {
    background-color: var(--bs-tertiary-bg) !important;
}

[data-bs-theme="dark"] .bg-white {
    background-color: var(--bs-secondary-bg) !important;
}

[data-bs-theme="dark"] .readonly,
[data-bs-theme="dark"] input.readonly,
[data-bs-theme="dark"] select.readonly {
    background-color: var(--bs-secondary-bg) !important;
}

[data-bs-theme="dark"] img[src$=".svg"]:not(.no-invert):not([src*="-alb"]):not([src*="-galben"]):not([src*="-rosu"]) {
    filter: invert(1);
}

[data-bs-theme="dark"] .btn-primary {
    --bs-btn-bg: #21a86a;
    --bs-btn-border-color: #21a86a;
    --bs-btn-hover-bg: #2bbc78;
    --bs-btn-hover-border-color: #2bbc78;
    --bs-btn-active-bg: #1c9760;
    --bs-btn-active-border-color: #1c9760;
    --bs-btn-disabled-bg: #21a86a;
    --bs-btn-disabled-border-color: #21a86a;
}

[data-bs-theme="dark"] .btn-secondary {
    --bs-btn-bg: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-bg: #7d868e;
    --bs-btn-hover-border-color: #7d868e;
    --bs-btn-active-bg: #5c636a;
    --bs-btn-active-border-color: #5c636a;
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d;
}