:root {
    --advantas-purple: #9441E5;
    --advantas-cyan: #00C9EA;
    --advantas-blue: #2854BF;
    --advantas-green: #00CE9D;
    --advantas-dark: #2B2B2B;
    --advantas-gray: #B3B3B3;
}

html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-image: url('../images/Logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 149px;
    height: 30px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/* Advantas brand color overrides for DevExpress / Bootstrap */
.dxbs-primary,
.btn-primary,
.bg-primary {
    background-color: var(--advantas-purple) !important;
    border-color: var(--advantas-purple) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--advantas-blue) !important;
    border-color: var(--advantas-blue) !important;
}

a {
    color: var(--advantas-blue);
}

a:hover {
    color: var(--advantas-purple);
}

.text-primary {
    color: var(--advantas-purple) !important;
}

.border-primary {
    border-color: var(--advantas-purple) !important;
}

.splash-screen {
    background-color: var(--advantas-dark) !important;
}

/* Loading/splash screen: the XAF SplashScreen component renders the Advantas
   logo on a solid disc (.loading-image-wrapper) whose background is bound to
   the theme primary colour (blue). That blue clashes with the brand-coloured
   logo mark, so we make the disc transparent — the logo then sits cleanly on
   the splash background, framed by the surrounding loading ring. */
.loading-image-wrapper {
    background-color: transparent !important;
}
