.form-control {
    border-color: #9ea2a9 !important;
}

.dropdown-toggle {
    border-color: #9ea2a9 !important;

}

.form-select {
    border-color: #9ea2a9 !important;
}

.form-check-input {
    border-color: #9ea2a9 !important;

}

.color-select {
    margin-top: 15px;
    display: none;
}

.color-selected {
    box-shadow: inset 0px 0px 0px 2px white;
}

.color-select td {
    width: 35px;
    height: 35px;
    border: 1px solid black;
}

.color-select td:hover {
    box-shadow: inset 0px 0px 0px 2px white;
}

.shift-warnings-count {
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.response-rate {
    min-width: 100px !important;
}

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

.rounded-circle {
    border-radius: 50% !important;
}

.avatar-sm {
    height: 2rem;
    width: 2rem;
    object-fit: cover;
    object-position: center right;
}

#filterGroup {
    width: 55px;
    height: 25px;
    padding: 2px;
    border-radius: 5px;
    background: white;
    border: 1px solid gray;
}

.tooltip {
    --bs-tooltip-bg: var(--bs-primary);
    color: white;
}


.tooltip hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
}

.tooltip {
    --bs-tooltip-max-width: 300px;
}

.list-display li {
    margin-bottom: .4rem;
    font-size: 1.1rem;
}

.list-checkmarks {
    padding-left: 10px;
}

.list-checkmarks li {
    list-style-type: none;
    padding-left: 1rem;
}

.list-checkmarks li:before {
    font-family: 'FontAwesome';
    content: "\f00c";
    margin: 0 10px 0 -28px;
    color: #17aa1c;
}

.pre-line {
    white-space: pre-line;
}

.fileName {
    width: 80%;

}

.folderName {
    margin-top: 20px;
    margin-bottom: 4px;
}

.text-red {
    color: #f42a2a !important;
}



@media (min-width:500px) {

    #jobList th,
    #jobList td {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 8vw;
    }

    .hours-td {
        max-width: 5vw !important;
    }
}

@media (max-width:500px) {

    #jobList th,
    #jobList td {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 130px;
    }
}


.preview_image p {
    text-align: center;
}


.image-box {
    max-width: 100%;
    max-height: 100%;
}

.img-min {
    width: 100px;
    height: 100px;
    display: inline-block;
    padding: 5px;
    margin-bottom: 12px;


}

.image_name {
    display: block;
    font-size: 14px;
    text-align: center;
}

#report-sent {
    display: none;
}

.upload__box {
    margin-bottom: 10px;
}

.upload__inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.upload__btn {
    display: inline-block;
    color: black;
    text-align: center;
    min-width: 116px;
    width: 100%;
    padding: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    background-color: #fcfcfc;
    border-color: #dbdbdb;
    border-radius: 10px;
    border-style: dashed;
    line-height: 26px;
    font-size: 16px;

}

.upload__btn:hover {
    background-color: unset;
    color: #0d6efd;
    transition: all 0.3s ease;
}

.upload__btn-box {
    margin-bottom: 10px;
}

.upload__img-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.upload__img-box {
    width: 100px;
    padding: 0 10px;
    margin-bottom: 12px;
}

.upload__img-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    font-family: Arial;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}

.upload__btn p {
    margin: 0;
}

.alert ul {
    margin-bottom: 0;
}

.check {
    width: 50px;
    height: 50px;
    border: 3px solid;
}

.check i {
    font-size: 24px;
}

.no {
    font-size: 24px;
}

.x-icon {
    position: absolute;
    top: 5px;
    right: 5px;
}

.lThrough {
    text-decoration: line-through
}

.rate-muted input {
    color: #bbb;
}


.rates-tr input {
    width: 55px;

}

.cursor-pointer {
    cursor: pointer;
}

[v-cloak] {
    display: none;
}

.invoice-cancelled {
    text-decoration: line-through;
    color: #868686 !important;
}

.invoice-cancelled td {
    color: #868686 !important;
}

.warrior-name:hover {
    color: #0d6efd;
}


.tooltip .tooltip-inner {
    text-align: left;
}

.calendar-itm {
    display: inline-block;
    position: relative;
}

.button__badge {
    font-weight: normal;
    background-color: #fa3e3e;
    border-radius: 2px;
    color: white;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    position: absolute;
    /* Position the badge within the relatively positioned button */
    top: 0;
    left: 0;
}

.button__badge__medium {
    font-weight: normal;
    background-color: #ffb300;
    border-radius: 2px;
    color: white;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    position: absolute;
    /* Position the badge within the relatively positioned button */
    top: 0;
    left: 0;
}

.warning-tooltip {
    --bs-tooltip-bg: var(--bs-primary);
    color: white;
}

.warning-tooltip hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
}

.calendar-today {
    border-bottom: 2px solid red !important;
}

.calendar-today td {
    color: #800020;
    font-weight: bold;
}

.calendar-td {
    padding: 0 !important;
}

.calItem {
    margin: 6px;
}

#fileList td {
    height: 45px;
}

.review-file {
    max-width: 200px;
    padding: 10px 0;
    margin-right: 5px;
}

.review-file textarea {
    resize: none;
}

.img-preview {
    height: 200px;
}

.img-pr {
    width: 200px;
}

.small-hr {
    margin-bottom: 2px;
    margin-top: 2px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 1), rgba(0, 0, 0, 0));
}

.link-task {
    text-decoration: none;
    color: black;
}

.resize-none {
    resize: none;
}

.td-70 {
    min-width: 70px;
}

.tr-gray td {
    color: gray;
}

.screenshot-preview-img {

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.cal-high-priority-warning button {
    background: #c00000 !important;
    color: white !important;
}


.send-blink {
    animation: send-booking-animation 3s infinite;
}


@keyframes send-booking-animation {

    0%,
    100% {
        color: blue;
        border-color: blue;
    }

    50% {
        color: rgb(215, 53, 69);
        border-color: rgb(215, 53, 69);
    }
}



.cal-high-priority-warning {
    animation: cal-blink 2s infinite;
}

@keyframes cal-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.task-high-priority-warning {
    background: #c00000 !important;
    animation: cal-blink 3s infinite;
}

.task-high-priority-warning td {
    color: white !important;
}

@media only screen and (max-width: 600px) {
    .calendar-daily {
        width: 100%;
    }

    .calendar-daily button {
        width: 95%;
        text-align: left;
    }
}

.invoice-table-tasks-list {
    width: 150px;
    display: block;
}



.sidebar-menu .menu-open>.nav-treeview {
    margin-left: 10px;
}

.pricing-additional-table {
    font-size: 13px;
}

.pricing-additional-table td {
    color: gray;

}



.app-sidebar::-webkit-scrollbar {
    width: 7px;
}

.app-sidebar::-webkit-scrollbar-track {
    background: #ffffff0f;
}

.app-sidebar::-webkit-scrollbar-thumb {
    background-color: #959595;
    border-radius: 10px;
    border: 3px solid #959595;
}

.icon-advance {
    font-size: 22px;
}


@keyframes animation-send {
    50% {
        opacity: 0.0;
    }
}

.blink {
    animation: blink 1s step-start 0s infinite;
}

.text-primary-tr td {
    color: var(--bs-primary);
}


.client-email-span {
    display: inline-block;
    /* Ensures the span behaves like a block within the cell */
    max-width: 100%;
    /* Prevents overflow beyond the cell width */
    word-break: break-word;
    /* Breaks long words to fit within the container */
    overflow-wrap: anywhere;
    /* Provides additional flexibility for breaking long words */
}

.bg-purple {
    background-color: #6f42c1 !important;
    color: white;
}

.bg-teal {
    background-color: #20c997 !important;
    color: white;
}

.bg-orange {
    background-color: #fd7e14 !important;
    color: white;
}

.bg-lime {
    background-color: #a3e635 !important;
    color: black;
}

.bg-maroon {
    background-color: #800000 !important;
    color: white;
}

.bg-navy {
    background-color: #001f3f !important;
    color: white;
}

.bg-olive {
    background-color: #3d9970 !important;
    color: white;
}

.bg-pink {
    background-color: #ff69b4 !important;
    color: white;
}

.bg-cyan {
    background-color: #17a2b8 !important;
    color: white;
}

.bg-gold {
    background-color: #ffd700 !important;
    color: black;
}

.bg-silver {
    background-color: #c0c0c0 !important;
    color: black;
}

.bg-rose {
    background-color: #ff007f !important;
    color: white;
}

.bg-brown {
    background-color: #8b4513 !important;
    color: white;
}

.bg-light-blue {
    background-color: #87cefa !important;
    color: black;
}

.bg-violet {
    background-color: #9400d3 !important;
    color: white;
}

.bg-yellow-green {
    background-color: #9acd32 !important;
    color: black;
}

.bg-light-gray {
    background-color: #d3d3d3 !important;
    color: black;
}

.bg-sky-blue {
    background-color: #00bfff !important;
    color: white;
}

.bg-crimson {
    background-color: #dc143c !important;
    color: white;
}

.bg-dark-green {
    background-color: #006400 !important;
    color: white;
}

.rating-container {
    display: flex;
    gap: 5px;
    align-items: center;
}

.rating-rectangle {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    user-select: none;
}

.rating-rectangle.active {
    background-color: #007bff;
    color: white;
}

.btn-purple {
    color: rgb(111, 16, 235);
    border-color: rgb(111, 16, 235);
}

.btn-purple:hover {
    color: white;
    background: rgb(111, 16, 235);
}

.color-purple {
    color: rgb(111, 16, 235);
}

.warrior-photo-container {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    /* Makes it circular */
    overflow: hidden;
    /* Ensures the image fits within the circle */
    display: flex;
    /* Centers the image */
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    /* Optional: fallback background color */
}

.warrior-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image fills the circle */
}

.comment-hidden-td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px;
}

.icon-gray {
    color: rgb(202, 215, 228);
}

@media (min-width: 800px) {
    .card-height {
        height: 360px;
    }
}


div#dropZone {
    background: gray;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    opacity: 0.6;
    visibility: hidden;
}

.drop-zone {
    width: 100%;
    height: 150px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 4px dashed #0d6efd;
    border-radius: 10px;

    margin: 20px 0;
}

.custom-icon-picker-container {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-icon-picker-search {
    width: 100%;
    margin-bottom: 10px;
}

.custom-icon-picker-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.custom-icon-picker-item {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
}

.custom-icon-picker-item:hover {
    border: 1px solid #007bff;
    background-color: #f0f8ff;
}


#requestMessage {
    padding: 2px 10px;
    border-radius: 5px;
    background: #eae8e8cd;
}



.table-email {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
}

.cal-muted button {
    background: #c8c8c8 !important;
    color: white !important;
}

.drag-over {
    border: 2px dashed #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.p-tax-info {
    padding: 5px;
    background: rgb(233, 233, 233);
}

.text-gray-icon {
    color: rgb(208, 208, 208);
}

.client-h4 {
    font-size: 22px;
    font-weight: normal;
}

.change-request-modal .modal-dialog {
    max-width: 700px;
}

.invoice-bold {
    font-size: 1.1em;
    margin-bottom: 6px;
    font-weight: bold;
}

.invoice-text {
    color: #646464;
}


:root {
    --invoice-green: #05b2c2;
}

.numeric-no-arrows::-webkit-outer-spin-button,
.numeric-no-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.numeric-no-arrows {
    -moz-appearance: textfield;
}


.vertical-table th {
    position: sticky;
    left: 0;
    background: #fff;
    /* Keep it visible above cells */
    z-index: 2;
    text-align: left;
}


select.order-status {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 200px;
    background-color: white;
    transition: all 0.3s ease;
}



/* Option colors (for dropdown) */
select.order-status option.order_status_created {
    color: #3498db;
}

select.order-status option.order_status_in_realisation {
    color: #f39c12;
}

select.order-status option.order_status_realised {
    color: #2ecc71;
}

select.order-status option.order_status_cancelled {
    color: #e74c3c;
}


select.order-status,
select.order-status option {
    transition: none !important;
}

select.order-status {
    transition-property: color, background-color !important;
    transition-duration: 0s !important;
}


.product-table {
    table-layout: fixed;
    /* This is crucial for fixed column widths */
    width: 100%;
}

.product-table th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    /* Match your table-light background */
    z-index: 10;
}

/* Set specific widths for each column based on your requirements */
.product-table th:nth-child(1) {
    width: 60px;
}

/* ID */
.product-table th:nth-child(2) {
    width: 15%;
}

/* Foto */
.product-table th:nth-child(3) {
    width: 25%;
}

/* Nazwa produktu */
.product-table th:nth-child(4) {
    width: 20%;
}

/* Dodatkowe pola */
.product-table th:nth-child(5) {
    width: 8%;
}

/* Netto */
.product-table th:nth-child(6) {
    width: 8%;
}

/* Brutto */
.product-table th:nth-child(7) {
    width: 10%;
}

/* Dostępność */
.product-table th:nth-child(8) {
    width: 14%;
}

/* Actions */


.text-hover-primary:hover {
    color: #0d6efd !important;
    cursor: pointer;
}

.bootbox-price-modal .modal-dialog {
    max-width: 600px;
    /* or more if needed */
}


#floating-alert-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}