.dialog-field {
    text-align: left;
    margin-bottom: 1rem;
}

.dialog-field input,
.dialog-field select {
    background-color: var(--brand-white);
    border: 1px solid #888;
    color: var(--brand-black-100);
    padding: 6px 10px;
    font-family: Brown, Century Gothic, sans-serif;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

.dialog-field input:disabled,
.dialog-field select:disabled {
    background-color: var(--brand-grey-N70);
    color: var(--brand-white);
}

.dialog-box button.busy,
.dialog-box button.busy:hover {
    cursor: default;
    color: var(--brand-white);
    border-color: var(--brand-white);
    opacity: 0.5;
}

.dialog-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-box {
    background-color: var(--brand-black-100);
    color: var(--brand-white);
    font-family: Brown, Century Gothic, sans-serif;
    padding: 32px 40px;
    text-align: center;
}

.dialog-box .validation-errors {
    text-align: left;
}

.dialog-box .dialog-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.dialog-box button {
    background-color: transparent;
    border: 1px solid var(--brand-white);
    color: var(--brand-white);
    cursor: pointer;
    font-family: Brown, Century Gothic, sans-serif;
    padding: 6px 20px;
}

.dialog-box button:hover {
    color: var(--brand-rodeo-dust);
    border-color: var(--brand-rodeo-dust);
}

.dialog-box button.danger {
    border-color: var(--brand-alert-red-50);
    color: var(--brand-alert-red-50);
}

.dialog-box button.danger:hover {
    border-color: var(--brand-alert-red-30);
    color: var(--brand-alert-red-30);
}

.dialog-box button.success {
    border-color: var(--brand-alert-green-50);
    color: var(--brand-alert-green-50);
}

.dialog-box button.success:hover {
    border-color: var(--brand-alert-green-30);
    color: var(--brand-alert-green-30);
}

.dialog-box h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
