/* Custom Styles ported from Legacy */

/* --- Kuma Style Modal --- */
.kuma-top-section {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.kuma-heartbeat-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.kuma-hb-container {
    display: flex;
    gap: 4px;
    width: 100%;
    height: 30px;
    align-items: center;
}

.kuma-pill {
    flex: 1;
    height: 100%;
    background-color: #e2e3e5;
    /* Adjusted for light/dark */
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    min-width: 6px;
}

.kuma-pill:hover {
    transform: scaleY(1.15);
    z-index: 10;
}

.kuma-pill.online {
    background-color: #10b981;
}

.kuma-pill.offline {
    background-color: #ef4444;
}

.kuma-pill.warning {
    background-color: #f59e0b;
}

.kuma-pill.empty {
    background-color: rgba(148, 163, 184, 0.1);
}

/* Tooltip */
.kuma-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 20;
    border: 1px solid #333;
}

.kuma-pill:hover .kuma-tooltip {
    opacity: 1;
}

/* Dashboard Widget Icons - Make them larger and nicer */
.widgets-icons {
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
}

.widgets-icons ion-icon {
    font-size: 28px !important;
}

/* Improve icon backgrounds */
.bg-light-primary {
    background-color: rgba(13, 110, 253, 0.15) !important;
}

.bg-light-success {
    background-color: rgba(25, 135, 84, 0.15) !important;
}

.bg-light-warning {
    background-color: rgba(255, 193, 7, 0.15) !important;
}

.bg-light-danger {
    background-color: rgba(220, 53, 69, 0.15) !important;
}

.bg-light-info {
    background-color: rgba(13, 202, 240, 0.15) !important;
}

/* Action Icons in Tables */
.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.action-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-icon ion-icon {
    font-size: 18px;
}