html, body {
    font-family: 'Poppins', sans-serif !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5M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MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

@media (max-width: 480px) {
    .ant-table-thead > tr > th,
    .ant-table-tbody > tr > td,
    .ant-table tfoot > tr > th,
    .ant-table tfoot > tr > td {
        padding: 2px 2px;
    }
}

@media (max-width: 575px) {
    .ant-form-item .ant-form-item-label {
        padding: 0px;
    }

    .ant-form-item {
        margin-bottom: 4px;
    }

    .tab-content {
        padding: 0px !important;
        border-top: 1px solid #ddd;
    }
}



.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 30px;
}

.groups {
    flex: 1;
    border: 2px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.group {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
}

    .group h5 {
        margin: 0;
        font-size: 1.2em;
        font-weight: bold;
    }

.dropped-item {
    padding: 5px;
    margin: 5px 0;
    background-color: #e0e0e0;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .dropped-item:hover {
        background-color: #c6c6c6;
    }

.teams {
    flex: 1;
    border: 2px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.draggable {
    padding: 8px;
    margin: 5px 0;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .draggable:hover {
        background-color: #45a049;
    }




.scrollable-tabs-container {
    width: 100%;
}

.tab-header {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

    .tab-header::-webkit-scrollbar {
        display: none; /* Hide scrollbar in Chrome, Safari, Edge */
    }

.tab-item {
    flex-shrink: 0;
    padding: 8px 16px;
    margin-right: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

    .tab-item.active {
        color: #1890ff; /* Active tab color */
    }

.tab-content {
    padding: 16px;
    border-top: 1px solid #ddd;
}

.custom-transparent-select .ant-select-selector {
    background-color: transparent !important;
    border: none !important; /* Remove border if desired */
    box-shadow: none !important; /* Remove shadow if desired */
    color: inherit; /* Maintain text color */
}

.custom-transparent-select .ant-select-selection-item {
    color: inherit; /* Maintain selected item's text color */
}

.custom-transparent-select .ant-select-dropdown {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent dropdown */
}

img.fixed-size {
    height: 18px; /* Set a fixed height */
    object-fit: cover; /* Ensure the image fills the area without distortion */
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .ant-picker-datetime-panel {
        display: flex;
        flex-direction: column !important;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

.select-container {
    margin-bottom: 8px;
    margin-bottom: 8px;
    border: 1px solid lightgray;
    display: flex;
    padding: 2px;
    border-radius: 5px;
}

.select-label {
    display: flex;
    font-weight: normal;
    margin: 2px 2px 2px 8px;
    width: 30%;
    align-items: center;
    font-size: 14px;
}

.ant-avatar > img {
    display: flex;
    width: auto !important;
}

.ant-list-vertical .ant-list-item-meta-title {
    margin-bottom: 0px !important;
}

.border-solid {
    border: 2px solid lightgray;
    padding: 5px;
    border-radius: 5px;
}

.ant-input-affix-wrapper {
    border-radius: 5px !important;
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    border-radius: 5px !important;
}

.ant-picker-dropdown {
    font-size: 16px;
}

.ant-picker-input > input {
    font-size: 16px;
}

.ant-tabs > .ant-tabs-nav .ant-tabs-nav-list,
.ant-tabs > .ant-tabs-nav .ant-tabs-nav-list {
    position: relative;
    scroll-behavior: smooth;
    display: flex; /* Ensure items stay in a row */
    transition: transform 0.3s;
    overflow-x: auto; /* Scroll only when necessary */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

    /* Hide scrollbar by default, but keep functionality */
    .ant-tabs > .ant-tabs-nav .ant-tabs-nav-list::-webkit-scrollbar {
        height: 6px; /* Adjust height */
        display: none; /* Hide scrollbar */
    }

    .ant-tabs > .ant-tabs-nav .ant-tabs-nav-list:hover::-webkit-scrollbar {
        display: block; /* Show scrollbar on hover */
        height: 0px
    }

    .ant-tabs > .ant-tabs-nav .ant-tabs-nav-list::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }

    .ant-tabs > .ant-tabs-nav .ant-tabs-nav-list::-webkit-scrollbar-track {
        background: transparent;
    }

.content-centar {
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: medium;
}

.card-title-center {
    display: flex;
    justify-content: center;
    font-size: medium
}

.card-title-center-large {
    display: flex;
    justify-content: center;
    font-size: large;
}

.flex-direction-column {
    display: flex;
    flex-direction: column
}

:root {
    --ant-font-family: 'Poppins', sans-serif !important;
}


.draggable-item {
    cursor: grab;
}

.draggable-item:active {
    cursor: grabbing;
}

