/*
 * Vrijescholen Control Panel branding.
 * Keep login-specific overrides scoped to body.outside so the editor UI is
 * unaffected. Replace these placeholder colors with the final brand palette.
 */

body.outside {
    background-color: #c6e0fa;
    background-image: linear-gradient(145deg, #c6e0fa 0%, #e8f1f6 100%);
    background-attachment: fixed;
}

html.dark body.outside {
    background-color: #00357A;
    background-image: linear-gradient(145deg, #012757 0%, #00357A 100%);
}

/*
 * Statamic's outside layout does not assign a width to a custom SVG logo.
 * Give the replaceable light/dark logo files a predictable, responsive size.
 */
body.outside .logo {
    width: min(21rem, calc(100vw - 3rem));
}

body.outside .white-label-logo {
    width: 100%;
    height: auto;
    max-height: 5rem;
    object-fit: contain;
}

html:not(.dark) body.outside .white-label-logo.dark\:hidden {
    display: block !important;
}

html:not(.dark) body.outside .white-label-logo.hidden.dark\:block {
    display: none !important;
}

html.dark body.outside .white-label-logo.dark\:hidden {
    display: none !important;
}

html.dark body.outside .white-label-logo.hidden.dark\:block {
    display: block !important;
}

/* Vrijescholen dashboard welcome widget. */
.vrijescholen-dashboard-widget {
    overflow: hidden;
    border: 1px solid var(--theme-color-content-border);
    border-radius: 0.75rem;
    background: var(--theme-color-content-bg);
    box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

.vrijescholen-dashboard-widget__content {
    padding: 1.25rem;
}

.vrijescholen-dashboard-widget__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 650;
}

.vrijescholen-dashboard-widget__description {
    max-width: 48rem;
    margin: 0.35rem 0 0;
    color: var(--theme-color-gray-500);
    line-height: 1.5;
}

.vrijescholen-dashboard-widget__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1rem;
}

.vrijescholen-dashboard-widget__link {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--theme-color-gray-300);
    border-radius: 0.5rem;
    color: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 120ms ease, background-color 120ms ease;
}

.vrijescholen-dashboard-widget__link:hover {
    border-color: var(--theme-color-gray-400);
    background: var(--theme-color-gray-100);
}

.vrijescholen-dashboard-widget__link--primary {
    border-color: var(--theme-color-ui-accent-bg);
    background: var(--theme-color-ui-accent-bg);
    color: white;
}

.vrijescholen-dashboard-widget__link--primary:hover {
    border-color: var(--theme-color-ui-accent-bg);
    background: color-mix(in srgb, var(--theme-color-ui-accent-bg) 88%, black);
}

html.dark .vrijescholen-dashboard-widget__description {
    color: var(--theme-color-gray-400);
}

html.dark .vrijescholen-dashboard-widget__link {
    border-color: var(--theme-color-gray-700);
}

html.dark .vrijescholen-dashboard-widget__link:hover {
    border-color: var(--theme-color-gray-600);
    background: var(--theme-color-gray-800);
}

html.dark .vrijescholen-dashboard-widget__link--primary,
html.dark .vrijescholen-dashboard-widget__link--primary:hover {
    border-color: var(--theme-color-ui-accent-bg);
    color: white;
}
