/* /Views/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-suif83pwl2] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-suif83pwl2] {
  color: #0077cc;
}

.btn-primary[b-suif83pwl2] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active[b-suif83pwl2], .nav-pills .show > .nav-link[b-suif83pwl2] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top[b-suif83pwl2] {
  border-top: 1px solid #e5e5e5;
}
.border-bottom[b-suif83pwl2] {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow[b-suif83pwl2] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-suif83pwl2] {
  font-size: 1rem;
  line-height: inherit;
}

/*.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}
*/
/* -------------------------------------------
   Base Footer Styling (replaces old bootstrap footer)
-------------------------------------------- */
/* Force the footer to collapse even as a flex item */
/*footer {*/
    /*flex: 0 0 0 !important;*/

    /*position: fixed !important;
    left: 0;
    right: 0;
    bottom: 20px;*/ /* <-- hier stel je de rail-hoogte in */
    /*height: 0 !important;*/ /* we gebruiken alleen de bovenrand */
    /*min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    overflow: visible !important;
}*/

footer[b-suif83pwl2] {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 15px !important; /* 20px horizontal padding */
    display: flex !important;
    align-items: center !important; /* vertical centering */
    justify-content: flex-end !important; /* copyright on the right */
    border-top: 1px solid #e5e5e5; /* your existing border */
    background: #fff; /* optional */
    z-index: 1000;
}

    /* Remove padding/margin from inner container – prevents white bands */
    .footer .container-fluid[b-suif83pwl2] {
        padding: 0 !important;
        margin: 0 !important;
        min-height: 0 !important;
        height: 0 !important;
        overflow: visible !important;
    }

/* -------------------------------------------
   Status + Message Panels — default placement
-------------------------------------------- */
#apostatuspanel[b-suif83pwl2],
#apomessagepanel[b-suif83pwl2] {
    position: absolute; /* Take panels out of flow */
    bottom: 30px; /* Sit inside footer by default */
    z-index: 20000; /* Make sure they're above footer */
    /* ▼ NEW: collapsed by default to 60px */
    max-height: 60px;
    overflow: hidden;
    transition: max-height 2.75s ease-in-out !important; /*, padding .75s ease;*/
    /* ▼ RECOMMENDED: keep the content vertically centered */
    display: flex;
    /* Horizontal alignment per panel set below */
    padding: 8px 12px; /* adjust to taste */
}

/* Left panel */
#apomessagepanel[b-suif83pwl2] {
    left: 20px;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Right panel */
#apostatuspanel[b-suif83pwl2] {
    right: 20px;
    justify-content: center;
    align-items: center;
}

#apomessagepanel[b-suif83pwl2]::after
/*#apostatuspanel::after*/ {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 20px; /* size of fade */

    /* fade from transparent to background color */
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0.9)
    );

    pointer-events: none;
    opacity: 1;
    transition: opacity .25s ease;
}

/* When expanded (hover or focus), hide the fade */
#apomessagepanel:hover[b-suif83pwl2]::after,
#apomessagepanel:focus-within[b-suif83pwl2]::after
/*#apostatuspanel:hover::after,
#apostatuspanel:focus-within::after*/ {
    opacity: 0;
}

#apomessagepanel:hover[b-suif83pwl2],
#apomessagepanel:focus-within[b-suif83pwl2],
#apostatuspanel:hover[b-suif83pwl2],
#apostatuspanel:focus-within[b-suif83pwl2] {
    max-height: 1000px;
}

/* Keep the lift-above-footer behavior you already have */
.footer.footer-overflow #apostatuspanel[b-suif83pwl2],
.footer.footer-overflow #apomessagepanel[b-suif83pwl2] {
    bottom: -10px;
}

/* -------------------------------------------
   Overlap mode (applied dynamically by JS)
   Panels float ABOVE the footer border
-------------------------------------------- */
.footer.footer-overflow[b-suif83pwl2] {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    overflow: visible !important;
}

#apocopyright[b-suif83pwl2] {
    width: 100%;
    text-align: right;
    line-height: 0 !important;
}

/* Collapse inner container fully in overlap mode */
