/* Componentes neutros no padrão shadcn/Flowbite, isolados do catálogo. */
.nx-push-bell[hidden] {
    display: none !important;
}

.nx-push-bell {
    position: fixed;
    right: 16px;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    z-index: 9990;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #52525b;
    border-radius: 50%;
    background: #27272a;
    color: #fafafa;
    cursor: pointer;
    box-shadow: 0 3px 15px #0003;
}

.nx-push-dialog {
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    border: 1px solid #3f3f46;
    border-radius: 18px;
    background: #18181b;
    color: #fafafa;
    box-shadow: 0 20px 60px #0007;
    z-index: 10080;
    font: 14px/1.5 system-ui, sans-serif;
}

.nx-push-dialog::backdrop {
    background: #0009;
}

.nx-push-dialog[open] {
    display: block;
}

.nx-push-dialog:not([open]),
.nx-push-dialog [hidden] {
    display: none !important;
}

.nx-push-content {
    padding: 24px;
}

.nx-push-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nx-push-heading h2 {
    font-size: 20px;
    font-weight: 650;
    margin: 0;
    color: #fafafa;
}

.nx-push-heading button {
    background: none;
    border: 0;
    color: #d4d4d8;
    font-size: 26px;
    cursor: pointer;
}

.nx-push-dialog p {
    color: #d4d4d8;
    margin: 14px 0;
}

.nx-push-dialog .nx-push-note {
    font-size: 12px;
    color: #a1a1aa;
}

.nx-push-option {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 12px 0;
    cursor: pointer;
}

.nx-push-option input {
    width: 17px;
    height: 17px;
    accent-color: #849b90;
    flex-shrink: 0;
}

.nx-push-device-label {
    display: grid;
    gap: 7px;
    margin: 16px 0 8px;
    color: #d4d4d8;
    font-size: 13px;
}

.nx-push-device-label input {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #52525b;
    border-radius: 9px;
    background: #27272a;
    color: #fafafa;
    font: inherit;
}

.nx-push-device-label input:focus-visible {
    outline: 2px solid #a6bdb2;
    outline-offset: 2px;
}

.nx-push-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.nx-push-actions button {
    border: 1px solid #52525b;
    border-radius: 9px;
    padding: 10px 14px;
    background: #27272a;
    color: #fafafa;
    font: inherit;
    cursor: pointer;
}

.nx-push-actions [data-nx-push-enable],
.nx-push-actions [data-nx-push-save] {
    background: #d4d4d8;
    color: #18181b;
}

.nx-push-dialog button:disabled {
    opacity: .5;
    cursor: wait;
}

.nx-push-dialog button:focus-visible,
.nx-push-bell:focus-visible {
    outline: 2px solid #a6bdb2;
    outline-offset: 3px;
}