html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/Logo.svg');
    mask: url('../images/Logo.svg');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 28px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.whatsapp-phone-editor {
    --wa-phone-editor-height: 2.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
}

.whatsapp-phone-editor .wa-country {
    flex: 0 0 280px;
    max-width: 320px;
    min-width: 240px;
}

.whatsapp-phone-editor .wa-phone {
    flex: 1 1 auto;
    min-width: 180px;
}

.whatsapp-phone-editor .wa-phone .dxbl-text-edit {
    min-height: var(--wa-phone-editor-height);
}

.whatsapp-phone-editor .wa-phone input,
.whatsapp-phone-editor .wa-phone .dxbl-input-editor {
    min-height: calc(var(--wa-phone-editor-height) - 2px);
}

.whatsapp-phone-editor.is-readonly .wa-country {
    opacity: 0.8;
    pointer-events: none;
}

@media (max-width: 768px) {
    .whatsapp-phone-editor {
        flex-direction: column;
    }

    .whatsapp-phone-editor .wa-country,
    .whatsapp-phone-editor .wa-phone {
        flex: 1 1 auto;
        max-width: none;
        min-width: 100%;
        width: 100%;
    }
}
