:root {
    --app-primary: #00A0D6;
    --app-dark: #002C55;
    --bs-primary: #00A0D6;
    --bs-primary-rgb: 0, 160, 214;
    --bs-link-color: #0081ad;
    --bs-link-hover-color: #002C55;
}

body {
    background: #f3f6f9;
}

.app-navbar {
    background: var(--app-dark);
}

.btn-primary {
    --bs-btn-bg: var(--app-primary);
    --bs-btn-border-color: var(--app-primary);
    --bs-btn-hover-bg: #008bb9;
    --bs-btn-hover-border-color: #008bb9;
    --bs-btn-active-bg: #00779f;
    --bs-btn-active-border-color: #00779f;
    --bs-btn-disabled-bg: var(--app-primary);
    --bs-btn-disabled-border-color: var(--app-primary);
}

.card {
    border: 0;
    box-shadow: 0 1px 3px rgba(0, 44, 85, .08), 0 1px 2px rgba(0, 44, 85, .06);
}

.table-apotheken th a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.table-apotheken td {
    vertical-align: middle;
}

.font-monospace.small {
    font-size: .8rem;
}

/* ---- display previews (screens are rendered at 1920px wide and scale themselves) ---- */
.preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: repeating-linear-gradient(-30deg, #222, #222 10px, #333 10px, #333 20px);
    border-radius: .5rem;
    overflow: hidden;
}

.preview iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.preview-balk {
    aspect-ratio: 1920 / 202;
}

/* ---- edit form ---- */
.color-field input[type=color] {
    width: 3rem;
    height: 2.4rem;
    padding: .2rem;
}

.logo-preview {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 50% / 16px 16px;
    border-radius: .5rem;
    border: 1px solid var(--bs-border-color);
}

/* ---- live search ---- */
[data-live-region] {
    transition: opacity .15s;
}

.live-loading {
    opacity: .55;
}

mark.live-mark {
    padding: 0 .1em;
    border-radius: .2rem;
    background: #fff3b0;
    color: inherit;
}

.login-wrap {
    min-height: 80vh;
}
