.hex-notify-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.82);
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.hex-notify-overlay.is-open {
    display: flex;
}

.hex-notify-dialog {
    width: 100%;
    max-width: 420px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 52, 52, 0.35);
    border-radius: 14px;
    padding: 24px 24px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 52, 52, 0.08);
    animation: hexNotifyIn 0.22s ease;
    box-sizing: border-box;
}

@keyframes hexNotifyIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hex-notify-title {
    margin: 0 0 10px;
    color: #ff3434;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}

.hex-notify-message {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.hex-notify-hint {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.84rem;
    line-height: 1.4;
}

.hex-notify-input {
    width: 100%;
    margin-top: 14px;
    padding: 11px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 52, 52, 0.25);
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hex-notify-input:focus {
    outline: none;
    border-color: rgba(255, 52, 52, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 52, 52, 0.12);
}

.hex-notify-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.hex-notify-btn {
    flex: 1;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    transition: all 0.2s ease;
}

.hex-notify-btn-primary {
    background: rgba(255, 52, 52, 0.14);
    border-color: rgba(255, 52, 52, 0.4);
    color: #ff3434;
}

.hex-notify-btn-primary:hover {
    background: rgba(255, 52, 52, 0.24);
    border-color: rgba(255, 52, 52, 0.55);
}

.hex-notify-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.82);
}

.hex-notify-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.hex-notify-btn:only-child {
    max-width: 180px;
    margin-left: auto;
}