@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color, var(--dxds-color-content-neutral-default-rest));
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.icon {
    width: var(--icon-width);
    height: var(--icon-height);
    background-color: currentcolor;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: var(--icon-mask-image);
    mask-image: var(--icon-mask-image);
}

.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed !important;
    border-width: 2px !important;
    border-color: var(--bs-border-color, var(--dxds-color-stroke-default));
    color: var(--bs-secondary-color, var(--dxds-color-content-neutral-default-rest));
    background: var(--bs-body-color, var(--dxds-color-content-neutral-default-rest));
    opacity: 0.95;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.custom-drop-zone svg {
    width: 42px;
    height: 42px;
}

.drop-file-icon {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-position: center center;
    background-color: var(--bs-secondary-color, var(--dxds-color-content-neutral-default-rest));
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-image: url("../images/icons/drop-file.svg");
    mask-image: url("../images/icons/drop-file.svg");
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.custom-drop-zone.custom-drop-zone-hover {
    border-style: solid;
    border-color: var(--bs-link-color, var(--dxds-primary-90));
}

.bp-upload-status {
    font-weight: 600;
}

.bp-upload-status.is-secondary {
    color: #6c757d;
}

.bp-upload-status.is-primary {
    color: #0d6efd;
}

.bp-upload-status.is-info {
    color: #0dcaf0;
}

.bp-upload-status.is-success {
    color: #198754;
}

.bp-upload-status.is-warning {
    color: #b26a00;
}

.bp-upload-status.is-danger {
    color: #dc3545;
}

.bp-full-width {
    width: 100%;
}

.bp-content-narrow {
    max-width: 640px;
}

.bp-section-spacing {
    margin-top: 1rem;
}

.bp-section-spacing-lg {
    margin-top: 1.5rem;
}

.bp-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.bp-message-success {
    color: var(--dxbl-btn-success-color, #107c41);
}

.bp-message-warning {
    color: #8a4b00;
}

.bp-message-error {
    color: var(--dxbl-btn-danger-color, #c4314b);
}

.bp-upload-container {
    margin-bottom: 1rem;
}

.bp-upload-drop-zone {
    width: 100%;
    border-radius: 0.75rem;
    background-color: var(--bs-body-bg, var(--dxds-color-surface-default));
}

.bp-drop-file-icon-spacing {
    margin-bottom: 0.75rem;
}

.bp-upload-options {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.bp-upload-input {
    margin-bottom: 0.5rem;
}

.bp-drop-zone-drag-over {
    background-color: var(--bs-tertiary-bg, var(--dxds-color-surface-default));
    border-color: var(--bs-link-color, var(--dxds-primary-90));
    color: var(--bs-body-color, var(--dxds-color-content-neutral-default-rest));
}

.bp-grid-section-title {
    margin-top: 1.5rem;
}

.bp-grid-actions {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.bp-inline-icon-button {
    padding: 0;
}