﻿.admintree-company {
    color: #28856D;
}

.admintree-overwrite {
    color: #2196F3;
}

.admintree-enddate {
    color: #7F0037;
}

.admintree-hidden {
    filter: opacity(0.50);
}

.admintree-enddate-row {
    background-color: #fcf1f9 !important;
}

.comments {
    display: flex;
    flex-flow: column nowrap;
    margin: 1.5rem -1.5rem 0 -2rem;
    padding: 1rem 1.5rem 1rem 2rem;
    background: #f7f7f7;
}

.comment *[style*="background-color"],
.comment *[style*="background"] {
    background-color: transparent !important;
}

.comment {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.5rem;
    border: 0.0625rem solid #d6d5d5;
    border-radius: 0.25rem;
    background: #ffffff;
}

.comment--incomming {
    margin-right: 8rem;
}

.comment--outgoing {
    margin-left: 8rem;
    border-color: #e5e5f1;
    background-color: #e5e5f1;
}

.comment .time {
    color: #666666;
    font-size: small;
}

.commentadd {
    margin-top: 1rem;
    margin-bottom: 1rem;
}


.header__currentyear {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 1rem;
    color: #000000
}

.accordeon-item-link 
{
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
}

.active-learningcard {
    background-color: lavender;
}




/*
@media (min-width: 576px) and (max-width: 1199.98px) {
    .header__controls {
        flex-flow: row-reverse nowrap;
    }
}

@media (min-width: 1200px) {
    .header__controls {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, white 100%);
        height: auto;
        padding: 1.5rem 1.5rem 1rem;
    }
}*/

/* Switchboard tiles */
.switchboard-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 150px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.switchboard-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}

.switchboard-tile--clickable {
    cursor: pointer;
}

.switchboard-tile--clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.switchboard-tile--inactive {
    opacity: 0.55;
    cursor: default;
}

.switchboard-tile--inactive:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.switchboard-tile--inactive .switchboard-tile__links a {
    pointer-events: none;
    border-bottom-color: transparent;
}

.switchboard-tile--primary {
    background-color: #1b3a5c;
}

.switchboard-tile--success {
    background-color: #28856D;
}

.switchboard-tile--info {
    background-color: #3a8fb7;
}

.switchboard-tile--warning {
    background-color: #e87722;
}

.switchboard-tile__icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.switchboard-tile__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: inherit;
    line-height: 1.4;
}

.switchboard-tile__description {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 0;
    color: inherit;
    margin-top: auto;
}

.switchboard-tile__links {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
}

.switchboard-tile__links li {
    margin-bottom: 0.35rem;
}

.switchboard-tile__links li::before {
    content: '\203A';
    margin-right: 0.4rem;
    font-weight: bold;
}

.switchboard-tile__links a {
    color: inherit;
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 1px;
    transition: border-color 0.15s ease;
}

.switchboard-tile__links a:hover {
    border-bottom-color: #fff;
}

/* Doelen overview card */
.switchboard-goals {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ------------------------------------------------------------------
   Leerdoelstatus: derde stand "Gedeeltelijk behaald" (besluit 6.8).
   Zelfde vorm als "behaald", maar half gevuld en in de waarschuwingskleur,
   zodat het visueel onderscheidbaar is van zowel open als volledig behaald.
   ------------------------------------------------------------------ */
.my-learning__progress ul li.my-learning__partial::after {
    border-color: #B8860B;
}

.my-learning__progress ul li.my-learning__partial button::before {
    border-color: #B8860B;
    background: linear-gradient(to right, #B8860B 50%, #ffffff 50%);
}

/* Omgevingsbalk (niet-productie), gerenderd in _Layout.cshtml / _IdentityLayout.cshtml
   op basis van ASPNETCORE_ENVIRONMENT. Dunne vaste strook bovenaan; navbar/headers schuiven mee. */
:root {
    --environment-banner-height: 28px;
}

.environment-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2001;
    height: var(--environment-banner-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(135deg, #ffc107 0 14px, #ffca2c 14px 28px);
    color: #000;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: none;
}

.environment-banner strong {
    letter-spacing: 1.5px;
    margin-right: 0;
}

body:has(.environment-banner) {
    padding-top: var(--environment-banner-height);
}

body:has(.environment-banner) .mype-navbar,
body:has(.environment-banner) .app__header {
    top: var(--environment-banner-height);
}

body:has(.environment-banner) .header__wrapper {
    top: calc(var(--mype-navBarHeight) + var(--environment-banner-height));
}
