﻿/* Full-page container with tint - updated to use nx-theme.css variables */
/* Using  to override Blazor CSS isolation scoped styles */

.nx-dialog {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-dim-bg);
    z-index: 2000 ;
    padding: var(--nx-space);
}

/* Centered panel holding the dialog content */
.nx-dialog-panel {
    position: relative;
    width: 100%;
    max-width: 720px ;
    background: var(--nx-primary-bg);
    border-radius: var(--nx-border-radius);
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.25);
    overflow: hidden ;
    display: flex ;
    flex-direction: column ;
    border: var(--nx-border-width) solid var(--nx-border-color);
    font-family: var(--nx-font);
    color: var(--nx-primary-fg);
}

/* Header */
.nx-dialog-header {
    padding: var(--nx-space-small) var(--nx-space);
    font-weight: 600;
    border-bottom: var(--nx-border-width) solid var(--nx-border-color);
    background: var(--nx-secondary-bg);
    color: var(--nx-primary-fg);
}

/* Body / content */
.nx-dialog-body {
    padding: var(--nx-space);
    max-height: 70vh;
    overflow: auto;
    background: var(--nx-primary-bg);
}

.nx-dialog-controlbox {
    padding: var(--nx-space-small);
    justify-content: right;
    width: auto;
    border-top: var(--nx-border-width) solid var(--nx-border-color);
    background: var(--nx-primary-bg);
}
