/* wwwroot/css/dynamic-forms/themes/dynamic-form-theme-default.css */

.dynamic-form-theme-default {
    max-width: 980px;
}

    .dynamic-form-theme-default #surveyContainer .sd-root-modern,
    .dynamic-form-theme-default #surveyContainer .sd-root {
        background: transparent;
    }

    .dynamic-form-theme-default #surveyContainer .sd-body {
        padding: 0;
    }

    .dynamic-form-theme-default #surveyContainer .sd-title,
    .dynamic-form-theme-default #surveyContainer .sd-description {
        text-align: left;
    }

    .dynamic-form-theme-default #surveyContainer .sd-page {
        box-shadow: none;
    }

    .dynamic-form-theme-default #surveyContainer .sd-btn {
        border-radius: 3px;
    }

    .dynamic-form-theme-default #surveyContainer .sd-navigation__complete-btn {
        min-width: 150px;
        min-height: 42px;
        font-weight: 700;
    }

    .dynamic-form-theme-default #surveyContainer .sd-question {
        border-radius: 3px;
    }

.dynamic-form-error-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
}

    .dynamic-form-error-modal-backdrop.is-visible {
        display: flex;
    }

.dynamic-form-error-modal {
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.dynamic-form-error-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
}

.dynamic-form-error-modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #212529;
}

.dynamic-form-error-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #212529;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

    .dynamic-form-error-modal-close:hover,
    .dynamic-form-error-modal-close:focus {
        background: #f1f3f5;
        outline: none;
    }

.dynamic-form-error-modal-body {
    padding: 1.25rem;
    color: #212529;
}

.dynamic-form-error-modal-message {
    margin: 0;
    white-space: pre-wrap;
}

.dynamic-form-error-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.25rem;
    border-top: 1px solid #dee2e6;
}

.dynamic-form-error-modal-button {
    border: 0;
    border-radius: 5px;
    padding: 0.625rem 1.25rem;
    background: #0d6efd;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

    .dynamic-form-error-modal-button:hover,
    .dynamic-form-error-modal-button:focus {
        background: #0b5ed7;
        outline: none;
    }
