table.compact-mode td, table.dataTable th {
    margin: 0;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.2;
    vertical-align: middle;
}

table.compact-mode p {
    margin: 0;
    padding: 0;
}

#massActionsSidebar {
    width: 300px;
    right: -300px;
    top: 100px;
    transition: right 0.3s;
}

#massActionsSidebar.open {
    right: 0;
}

.content-right.open {
    margin-right: 300px; /* Shift sidebar on open */
}

.alert {
    position: relative;
}

.progress {
    height: 2px;
    background-color: transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.thin-progress-bar {
    background-color: rgba(51, 205, 86, 0.45);
    transition: width 0.1s linear;
    height: 100%;
    border-radius: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close {
    font-size: 24px;
    cursor: pointer;
}

.copy-tooltip {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    display: none;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

#new-label-dropdown {
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    position: relative;
    z-index: 1050;
}

.sidebar #new-label-dropdown {
    margin-left: -40px;
}

.object-form #new-label-dropdown {
    margin-left: 0;
    margin-right: 60px;
}

#new_label {
    transition: all 0.2s ease;
}

.truncate {
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.8em;
}

.attribute-column {
    min-width: 200px;
    white-space: nowrap;
}

.custom-icon {
    width: 14px;
    vertical-align: middle;
    margin-right: 1px;
    margin-bottom: 1px;
}

.hide-as-none.hidden {
    visibility: hidden;
    display: none;
}

.popover-note-content {
    max-height: 300px;
    overflow-y: auto;
    min-width: 300px;
    max-width: 500px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.animate-pulse {
    animation: pulse 1s infinite;
}

.pointer-events-none {
    cursor: not-allowed !important;
}

.bg-light-success {
    background-color: #e9f9ef;
}

.sync-summary-box {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 100%;
    width: auto;
    gap: 1rem;
}
