﻿/* =========================================================
   BASIS
   ========================================================= */

html,
body {
    min-height: 100%;
}


body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f7f8fa;
    color: #212529;
}


/* =========================================================
   SKIP LINK
   ========================================================= */

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    background-color: #ffffff;
    color: #212529;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
    font-weight: 600;
    text-decoration: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.student-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}


.student-navbar {
    min-height: 78px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #ffffff;
}


/* =========================================================
   LOGO / BRAND
   ========================================================= */

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 30px;
    text-decoration: none;
}


    .navbar-brand img {
        display: block;
        width: auto;
        height: 50px;
        object-fit: contain;
    }


.brand-stack {
    display: flex;
    flex-direction: column;
    color: #212529;
    line-height: 1;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .015em;
}


    .brand-stack small {
        margin-top: 4px;
        color: #86272a;
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .18em;
    }


.navbar-brand:hover .brand-stack {
    color: #86272a;
}


/* =========================================================
   NAVBAR TOGGLER
   ========================================================= */

.navbar-toggler {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 8px 10px;
}


    .navbar-toggler:focus {
        box-shadow: 0 0 0 .2rem rgba(134, 39, 42, .15);
    }


/* =========================================================
   STUDENTENNAVIGATIE
   ========================================================= */

.student-nav {
    display: flex;
    gap: 5px;
}


    .student-nav .nav-item {
        display: flex;
        align-items: center;
    }


    .student-nav .nav-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 9px;
        color: #343a40;
        font-size: .93rem;
        font-weight: 600;
        white-space: nowrap;
        transition: background-color .15s ease, color .15s ease;
    }


        .student-nav .nav-link i {
            width: 18px;
            color: #86272a;
            font-size: 1rem;
            line-height: 1;
            text-align: center;
        }


        .student-nav .nav-link:hover,
        .student-nav .nav-link:focus {
            background-color: #f4eeee;
            color: #86272a;
        }


        /* =========================================================
   ACTIEVE LINK
   ========================================================= */

        .student-nav .nav-link.active {
            background-color: #86272a;
            color: #ffffff;
        }


            .student-nav .nav-link.active i {
                color: #ffffff;
            }


/* =========================================================
   LOGIN / ACCOUNT
   ========================================================= */

.student-account {
    display: flex;
    align-items: center;
    margin-left: 20px;
}


    .student-account .nav-link,
    .student-account a {
        font-weight: 600;
    }


/* =========================================================
   CONTENT
   ========================================================= */

.student-main {
    min-height: calc(100vh - 180px);
    padding-top: 30px;
    padding-bottom: 45px;
}


.student-content {
    width: 100%;
    max-width: 1140px;
}


/* =========================================================
   TITELS
   ========================================================= */

.student-main h1 {
    font-weight: 800;
    letter-spacing: -.025em;
}


.student-main h2,
.student-main h3 {
    font-weight: 700;
}


/* =========================================================
   KAARTEN
   ========================================================= */

.student-main .card {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}


.student-main .card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eceff1;
    font-weight: 700;
}


/* =========================================================
   LINKS
   ========================================================= */

.student-main a:not(.btn) {
    color: #86272a;
}


    .student-main a:not(.btn):hover {
        color: #641d20;
    }


/* =========================================================
   PRIMARY BUTTONS
   ========================================================= */

.student-main .btn-primary {
    --bs-btn-bg: #86272a;
    --bs-btn-border-color: #86272a;
    --bs-btn-hover-bg: #702023;
    --bs-btn-hover-border-color: #702023;
    --bs-btn-active-bg: #641d20;
    --bs-btn-active-border-color: #641d20;
}


/* =========================================================
   OUTLINE BUTTONS
   ========================================================= */

.student-main .btn-outline-primary {
    --bs-btn-color: #86272a;
    --bs-btn-border-color: #86272a;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #86272a;
    --bs-btn-hover-border-color: #86272a;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: #702023;
    --bs-btn-active-border-color: #702023;
}


/* =========================================================
   FORMULIEREN
   ========================================================= */

.student-main .form-control,
.student-main .form-select {
    min-height: 44px;
    border-color: #d8dde2;
    border-radius: 9px;
}


.student-main textarea.form-control {
    min-height: 120px;
}


.student-main .form-control:focus,
.student-main .form-select:focus {
    border-color: #86272a;
    box-shadow: 0 0 0 .2rem rgba(134, 39, 42, .12);
}


.student-main .form-label {
    font-weight: 600;
}


/* =========================================================
   TABELLEN
   ========================================================= */

.student-main .table {
    vertical-align: middle;
}


    .student-main .table thead th {
        font-size: .86rem;
        font-weight: 700;
        color: #495057;
        background-color: #f8f9fa;
        border-bottom-width: 1px;
    }


/* =========================================================
   BADGES
   ========================================================= */

.student-main .badge {
    font-weight: 600;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .student-navbar {
        min-height: auto;
    }


    .navbar-collapse {
        padding-top: 15px;
        padding-bottom: 8px;
    }


    .student-nav {
        width: 100%;
        gap: 4px;
    }


        .student-nav .nav-item {
            width: 100%;
        }


        .student-nav .nav-link {
            width: 100%;
            padding: 12px 14px;
        }


    .student-account {
        width: 100%;
        margin-top: 12px;
        margin-left: 0;
        padding-top: 12px;
        border-top: 1px solid #e9ecef;
    }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 575.98px) {

    .navbar-brand {
        margin-right: 10px;
    }


        .navbar-brand img {
            height: 43px;
        }


    .brand-stack {
        font-size: .82rem;
    }


        .brand-stack small {
            font-size: .62rem;
        }


    .student-main {
        padding-top: 20px;
        padding-bottom: 30px;
    }


    .student-content {
        padding-left: 16px;
        padding-right: 16px;
    }
}
