.dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background-color: var(--color-overlay);
}

.dialog {
    width: 100%;
    max-width: 560px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    overflow-y: auto;
    border-radius: var(--radius);
    background-color: var(--color-dialog);
    color: var(--color-text-dark);
    animation: dialog-in 200ms ease-out;
}

@keyframes dialog-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog h2 {
    font-size: 36px;
    font-weight: 400;
}

.dialog h3 {
    margin-bottom: 4px;
    font-size: 24px;
    font-weight: 400;
    color: var(--color-background);
}

.dialog p {
    font-size: 18px;
    line-height: 1.4;
}

.close-button {
    background-color: var(--color-background);
}

.controls-table {
    width: 100%;
    margin-bottom: 8px;
    border-collapse: collapse;
    font-size: 18px;
}

.controls-table th,
.controls-table td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
}

.controls-table th {
    font-weight: 400;
    color: var(--color-background);
}
