.overflow-hidden {
    overflow: hidden !important;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

.w-100 {
    width: 100% !important;
}

.max-w-100 {
    max-width: 100% !important;
}

body * {
    max-width: 100%;
    box-sizing: border-box;
}

body > div:not(.container),
.panel,
.wrapper:not(.container),
section,
main,
aside,
header,
footer,
nav {
    max-width: 100%;
    overflow: hidden;
}

.table-container,
.table-responsive,
.data-container,
.indices-table-container,
.shards-table-container,
.sample-table-container {
    overflow-x: auto !important;
    max-width: 100%;
    width: 100%;
}

.text-danger {
    color: var(--error-color);
}

.success {
    color: var(--success-color) !important;
}

.warning {
    color: var(--warning-color) !important;
}

.rotating {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

[title] {
    cursor: help;
    position: relative;
}

[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    transform: translateX(0);
    padding: 8px 12px;
    background: var(--text-primary);
    color: white;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

[title]:hover::before {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    left: 15px;
    border: 6px solid transparent;
    border-bottom-color: var(--text-primary);
}

.health-green {
    color: var(--success-color);
    font-weight: 600;
}

.health-yellow {
    color: var(--warning-color);
    font-weight: 600;
}

.health-red {
    color: var(--error-color);
    font-weight: 600;
} 