html, body {
    height: 100%;
}

body {
    margin: 0;
    letter-spacing: var(--DS-letter-spacing-body-1);
    background-color: var(--DS-color-surface-neutral-subdued-rest);
}

*, ::after, ::before {
    box-sizing: border-box
}

.icon {
    opacity: 0.7;
    background-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 100% 100%;
    background-color: currentColor;
}

.small-size .medium-icon {
    width: 1rem;
    height: 1rem;
}

.medium-size .medium-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.large-size .medium-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.small-size .avatar {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.5rem;
}

.medium-size .avatar {
    width: 2rem;
    height: 2rem;
    margin-left: 0.75rem;
}

.large-size .avatar {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: 1rem;
}

.icon.small-icon {
    width: 0.75rem;
    height: 0.75rem;
}

.sun-icon {
    mask-image: url("images/icons/weather-sunny.svg");
}

.moon-icon {
    mask-image: url("images/icons/weather-moon.svg");
}

.bell-icon {
    mask-image: url("images/icons/bell.svg");
}

.back-icon {
    mask-image: url("images/icons/arrow-left.svg");
}

.copy-icon {
    mask-image: url("images/icons/copy.svg");
}

.refresh-icon {
    mask-image: url("images/icons/arrow-sync.svg");
}

.person-add-icon {
    mask-image: url("images/icons/person-add.svg");
}

.sign-out-icon {
    mask-image: url("images/icons/sign-out.svg");
}

.call-icon {
    mask-image: url("images/icons/call.svg");
}

.mail-icon {
    mask-image: url("images/icons/mail.svg");
}

.more-icon {
    mask-image: url("images/icons/more-horizontal.svg");
}

.notification {
    position: relative;
}

.notification::after {
    content: attr(notification-count) / "";
    color: white;
    display: flex;
    position: absolute;
    top: 0;
    left: 5%;
    font-size: 0.8em;
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    background-color: red;
    align-items: center;
    justify-content: center;
}

.dropdown-no-padding {
    --dxbl-dropdown-body-padding-x: 0;
    --dxbl-dropdown-body-padding-y: 0;
}

@media (min-width: 899.98px) {
    .pw-800 {
        max-width: 800px !important;
        width: 800px !important;
    }
}

.loading-panel {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .loading-panel > .loader {
        display: flex;
        align-items: center;
    }

    .loading-panel > .loader > .spinner {
        width: 2rem;
        height: 2rem;
        border: 0.25rem solid color-mix(in sRGB, var(--DS-color-surface-primary-default-rest) 30%, transparent);
        border-bottom-color: var(--DS-color-surface-primary-default-rest);
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 0.75s linear infinite;
    }

    .loading-panel > .loader > .label {
        color: var(--DS-color-content-neutral-default-rest);
        font-size: var(--DS-font-size-subtitle-2);
        font-weight: var(--DS-font-weight-subtitle-2);
        margin-left: 0.75rem;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.impressum-list {
    margin: 0;
}
.impressum-list dt {
    font-weight: 600;
}
.impressum-list dd {
    margin-left: 0;
    margin-bottom: 0.5rem;
}

.help-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    margin-right: 10px;
}

    .help-icon-button:focus-visible {
        outline: 2px solid var(--DS-color-stroke-focus-inner, #0f6cff);
        outline-offset: 2px;
    }

    .help-icon-button img {
        width: 1.5rem;
        height: 1.5rem;
    }

.help-caption {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-caption-text {
    flex: 1 1 auto;
}

.dxbl-popup.help-popup .dxbl-popup-header {
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: none;
}

.dxbl-popup.help-popup .dxbl-popup-body {
    padding: 0 1.5rem 1.5rem;
    background: #ffffff;
}

.dxbl-popup.help-popup .dxbl-popup-close {
    top: 1rem;
    right: 1rem;
    background: rgba(15, 108, 255, 0.08);
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dxbl-popup.help-popup .dxbl-popup-close:hover {
    background: rgba(15, 108, 255, 0.15);
    transform: scale(1.05);
}

.help-popup__container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: 0.9rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #1d4ed8;
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.25);
}

.help-popup__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.help-popup__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: #e0e7ff;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
}

.help-popup__icon img {
    width: 1.5rem;
    height: 1.5rem;
    filter: hue-rotate(190deg) saturate(125%);
}

.help-popup__header-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.help-popup__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.help-popup__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.01em;
}

.help-popup__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #334155;
}

.help-popup__description {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.help-popup__hint {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.validation-summary {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    background-color: #fef2f2;
    color: #7f1d1d;
    font-weight: 500;
}

.validation-summary ul {
    margin: 0;
    padding-left: 1.25rem;
}

.help-popup__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e3a8a;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.help-popup__hint-text {
    line-height: 1.5;
}

.help-popup__support-text {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
}

.help-popup__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #1d4ed8;
    font-weight: 600;
}

.help-popup__contact .icon {
    color: #2563eb;
}

.help-popup__contact-link {
    color: inherit;
    text-decoration: none;
}

.help-popup__contact-link:hover,
.help-popup__contact-link:focus-visible {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .help-popup__container {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .help-popup__header {
        flex-direction: row;
    }

    .help-popup__icon {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.65rem;
    }
}
