/* ========================================================= */
/* GLOBAL RESET + THEME                                      */
/* ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: #0f0f11;
    color: #f3f4f6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
}

/* ========================================================= */
/* LINKS                                                     */
/* ========================================================= */

a {
    color: inherit;
    text-decoration: none;
}

/* ========================================================= */
/* DEVICE STATUS DOT                                         */
/* ========================================================= */

.status-dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.6rem;

    outline: 2px solid rgba(255,255,255,0.15);
    outline-offset: -1px;

    background: #6b7280; /* offline */
}

.status-dot.status-online  { background: #22c55e; }
.status-dot.status-offline { background: #6b7280; }
.status-dot.status-alert   { background: #ef4444; }

/* ========================================================= */
/* INLINE ICON BUTTONS                                       */
/* ========================================================= */

.ui-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 0.25rem 0.35rem;
    line-height: 1;
    color: #9aa0a7;
}

.ui-icon-btn:hover {
    color: #f87171;
}
.ui-icon-btn-muted {
    color: #9aa0a7;
}

.ui-icon-btn-muted:hover {
    color: #e5e7eb;
}

.ui-icon-btn-danger {
    color: #ef4444;
}

.ui-icon-btn-danger:hover {
    color: #f87171;
}
