html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    min-height: 100%;
}

.gallery {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}

.gallery .thumb {
    position: relative;
}

    .gallery .thumb:hover .remove-picture-btn, .gallery .thumb:hover .ispublic-picture {
        display: block;
    }

    .gallery .remove-picture-btn {
        display: none;
        position: absolute;
        top: 5px;
        right: 5px;
    }

    .gallery .ispublic-picture {
        display: none;
        padding-left: 2em;
        background-color: #fff;
        position: absolute;
        bottom: 5px;
        right: 5px;
    }

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

.child-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    margin-top: 1rem;
}

    .child-grid .card {
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .child-grid .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

.card-img-wrapper {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.child-grid .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    width: 100%;
    height: 100%;
    color: #ccc;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.child-grid .card-title {
    color: #212529;
}

.card {
    box-shadow: 0 10px 24px rgba(15, 39, 31, .06);
    background: #fff;
    border-radius: 0.875rem;
}

.object-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

    .object-header.sticky {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
        padding: 1rem 1.75rem 1rem 1.75rem;
        margin: 0 -1rem 0 -1.75rem;
    }

    .object-header .title {
        vertical-align: middle;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-inline: 0 5px;
        color: inherit;
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }

    .object-header .options {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding-inline: 5px 0;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

.text-bg-0 {
    color: #fff !important;
    background-color: RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-5 {
    color: #fff !important;
    background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-10 {
    color: #fff !important;
    background-color: RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important;
}

.text-bg-15 {
    color: #fff !important;
    background-color: RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;
}

.reports-wrapper {
    background: rgba(245, 124, 0, 0.05);
    border-left: 3px solid #f57c00;
    border-radius: 4px;
    padding: 1px 6px;
}

.orders-wrapper {
    background: rgba(46, 125, 50, 0.08);
    border-left: 3px solid #2e7d32;
    border-radius: 4px;
    padding: 1px 6px;
}

.requests-wrapper {
    background: #e3f2fd;
    border-left: 3px solid #1976d2;
    border-radius: 4px;
    padding: 1px 6px;
}

.description {
    font-size: 1rem;
    white-space: pre-wrap;
    font-family: inherit;
}


/* Reset link styles */

a.config-btn {
    color: inherit; /* Inherits the color from the parent element */
    text-decoration: none; /* Removes the default underline */
    cursor: pointer; /* Ensures the hand cursor remains, which is a good default behavior */
}

/* Also reset link pseudo-classes for consistency */
    a.config-btn:link,
    a.config-btn:visited,
    a.config-btn:hover,
    a.config-btn:active {
        color: inherit;
        text-decoration: none;
    }

.justify-content-between .config-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    max-height:24px;
}

.justify-content-between:has(.config-btn):hover .config-btn 
{
    opacity: 1;
    pointer-events: auto;
}

.justify-content-between:has(.bg-info) .config-btn {
    margin-right: .25rem !important;
}

.dashboard-page .k-tabstrip-content{
    padding:0;
}
.dashboard-page .k-tabstrip-content > div {
    margin-top: 0px !important;
}

.dashboard-page .k-tabstrip-content .report-title {
    display:none;
}



.drop-zone {
    border: 2px dashed #aaa;
    border-radius: 6px;
    padding: 25px;
    cursor: pointer;
    text-align: center;
}

.drop-zone.dragover {
    background: #f3f9ff;
    border-color: #007bff;
}

.file-list {
    margin-top: 10px;
    font-size: 13px;
    text-align: left;
}

.status-dot {
    width: 0.75rem;
    height: 0.75rem;
    padding: 0;
    border-radius: 50%;
}

    .status-dot.badge:empty {
        display: inline-block;
    }