/* ========================================
   Shared Dialog Styles
   Common modal dialog patterns used across
   VSuite components.
   ======================================== */

.dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
}

.dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 480px;
    max-width: 90%;
    z-index: 1101;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.dialog-header h3 {
    margin: 0;
    font-size: 1rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
}

.close-btn:hover {
    color: var(--text-primary);
}

.dialog-body {
    padding: 1.25rem;
}

.dialog-body p {
    margin: 0 0 0.5rem 0;
}

.dialog-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
