/* HostPanel client dialogs (confirm / alert) */
.hp-dialog {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.hp-dialog[hidden] {
    display: none !important;
}
.hp-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}
.hp-dialog-panel {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.35rem 1.5rem 1.25rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    font-family: 'Raleway', system-ui, sans-serif;
}
.hp-dialog-panel.hp-dialog-panel--danger {
    border-left: 4px solid #dc2626;
}
.hp-dialog-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}
.hp-dialog-message {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}
.hp-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    justify-content: flex-end;
}
.hp-dialog-btn-danger {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff !important;
}
.hp-dialog-btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    text-decoration: none;
}
html[data-theme="dark"] .hp-dialog-panel,
body.theme-dark .hp-dialog-panel {
    background: #262626;
    border-color: #404040;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .hp-dialog-title,
body.theme-dark .hp-dialog-title {
    color: #f3f4f6;
}
html[data-theme="dark"] .hp-dialog-message,
body.theme-dark .hp-dialog-message {
    color: #d1d5db;
}
