@import url('../_content/VIVES.Styles.Library/css/VBranding.css');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;800;900&display=swap");

/* ── Base ── */
* {
    font-family: "Poppins", sans-serif, Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
}

main {
    height: 100%;
}

.page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.container {
    padding: 1rem;
    margin: auto;
}

button {
    height: fit-content;
}

/* ── Page title ── */
.ssp-page-title {
    color: #1E1E1E;
    font-family: Poppins;
    font-size: 3rem;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
    width: 75%;
}

.page-title-spacing {
    padding-bottom: 1rem;
}

/* ── Footer ── */
.vFooter {
    background-color: #1a1a1a !important;
    color: white !important;
    padding: 1rem 0;
    margin-top: auto;
    height: auto;
    width: 100%;
    bottom: 0;
}

    .vFooter .container {
        align-items: center;
    }

.vFooter-end {
    display: flex;
    align-items: center;
}

.vFooter-end-text,
.vFooter .ssp-info,
.vFooter .ssp-version,
.vFooter .ssp-environment {
    color: white !important;
}

.vFooter-end-text {
    margin-bottom: 0 !important;
}

.vFooter-info {
    border-top: none !important;
}

.ssp-info {
    padding-right: 1.5rem;
    display: flex;
    flex-direction: row;
    align-content: space-between;
}

.ssp-environment,
.ssp-version {
    color: var(--white);
    font-style: italic;
}

/* ── Index / Overzicht: icon-button grid ── */
.multi-element-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 20px;
}

.icon-button {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
    border: 1px solid #D3D0BB !important;
    border-radius: 8px !important;
    height: 220px !important;
    width: 250px !important;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    outline: none;
}

    .icon-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }

    .icon-button img {
        margin-top: auto !important;
        margin-bottom: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-height: 96px;
    }

    .icon-button div {
        background-color: #E00020 !important;
        color: #ffffff !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 15px 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        font-size: 0.8rem !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 65px;
    }

/* ── Kaart table (Index.cshtml) ── */
.table-responsive {
    border: 1px solid #dee2e6;
}

.table-danger-light {
    background-color: #fff5f5 !important;
}

.clickable-row {
    cursor: pointer;
}

    .clickable-row:hover {
        background-color: rgba(0, 123, 255, 0.05) !important;
    }

.date-stack {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.2;
}

.sort-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

    .sort-link:hover {
        text-decoration: underline;
    }

.sort-active {
    font-weight: bold;
    text-decoration: underline !important;
}

.sort-indicator {
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

/* Column width helpers (used via toggleCol JS) */
.col-naam-fixed {
    width: 12%;
}

.col-voornaam-fixed {
    width: 12%;
}

.col-status {
    width: 12%;
}

.col-unum {
    width: 8%;
}

.col-locatie {
    width: 8%;
}

.col-appid {
    width: 5%;
}

.col-kaartnr {
    width: 13%;
}

.col-serie {
    width: 13%;
}

.col-geldig {
    width: 10%;
}

.col-type {
    width: 4%;
}

.col-persid {
    width: 5%;
}

/* ── Kaart Details (KaartDetails.cshtml) ── */
.card-hover-effect {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

    .card-hover-effect:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    }

/* ── Header / nav-menu ── */
.nav-menu {
    display: flex;
    justify-content: space-between;
    background-color: #1F1F1F;
    padding: 1rem;
}

    .nav-menu div {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-menu .nav-full-name {
        color: var(--white);
        fill: var(--white);
        text-transform: uppercase;
        display: none;
        font-size: 0.75rem;
    }

@media (min-width: 768px) {
    .nav-menu .nav-full-name {
        display: flex;
    }
}

.home-nav-link {
    display: flex;
    align-items: center;
}

/* ── Logout button (Layout) ── */
.logout-button {
    cursor: pointer;
    display: flex;
    align-items: center;
}
