﻿
/* ****************************************************************************
 *                                                                          *
 *                              IMPORT STATEMENTS                          *
 *                              ----------------                            *
 **************************************************************************** */




@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
@import url('https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css');




/* ****************************************************************************
  *                                                                          *
  *                              ROOT VARIABLES                              *
  *                              ----------------                            *
  **************************************************************************** */


:root {
    --primary-color: #1F8BBA;
    --secondary-color: #ffc107;
    --secondary-color-dark: #e0a800;
    --danger-color: #dc3545;
    --cancel-red: #dc3545;
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --button-text-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}



/* ****************************************************************************
 *                                                                          *
 *                              GLOBAL STYLINGS                         *
 *                              ----------------                            *
 *                                                                          *
 *                                                                          *
 **************************************************************************** */

*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: rgb(231, 242, 253);
    font-family: var(--font-family);
    overflow: hidden; /* Prevents scrollbars */
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}



/* ****************************************************************************
 *                                                                          *
 *                                   NAV BAR                                *
 *                              ----------------                            *
 *                                                                          *
 *                                                                          *
 **************************************************************************** */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    color: #fff;
    padding: 0 20px;
    font-size: 1em;
    background: #1F8BBA;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 8vh;
    font-family: var(--font-family);
}

.logo-title-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.topnav-logo {
    display: flex;
    width: 2em;
    align-items: center;
    margin-right: 10px;
}

.topnav-title {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-family: var(--font-family);
}

    .topnav-title.main h1 {
        margin: 0;
        font-size: 1.5em;
        color: #ffffff;
        text-decoration: none;
        font-weight: 500;
    }

    .topnav-title.sub h1 {
        margin: 0;
        font-size: 1.5em;
        color: #ffffff;
        text-decoration: none;
        font-weight: 200;
    }

    .topnav-title.sub {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: rgb(255, 255, 255);
        margin-left: 1em;
    }

.left-arrow {
    font-size: 1.5em;
    color: #1F8BBA;
    font-weight: bold;
}

.topnav-title.main {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.topnav-title:hover,
.topnav-title:focus {
    text-decoration: none;
}

.navbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.navbar .list-unstyled {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .navbar .list-unstyled li {
        margin-left: 20px;
        display: flex;
        flex-direction: column;
    }

    .navbar .list-unstyled .nav-link {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.25em;
        transition: .8s;
        display: flex;
        flex-direction: row;
        align-items: center;
        opacity: 50%;
        font-family: var(--font-family);
    }

        .navbar .list-unstyled .nav-link:hover {
            color: #f0f0f0;
            transition: 0.15s;
            opacity: 100%;
            transform: scale(1.15);
        }

.topnav-logo img {
    height: 30px;
    color: #e7f2fd;
}

.topnav-title-steps {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin-left: 1em;
}

    .topnav-title-steps h1 {
        margin: 0;
        font-size: 1.2em;
        color: #ffffff;
        font-weight: 300;
        margin-left: 0.5em;
    }

    .topnav-title-steps i {
        font-size: 1em;
        margin-right: 0.5em;
        color: #ffffff;
    }

    .topnav-title-steps .fa-arrow.right {
        transform: rotate(90deg);
        font-size: 1.2em;
    }

/* Styling voor account-info */
.account-info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.account-user-name {
    font-size: 0.9em;
    font-weight: 600;
    color: #ffffff;
}

.account-position {
    font-size: 0.75em;
    font-weight: 300;
    color: #e0e0e0;
}


/* ****************************************************************************
 *                                                                          *
 *                               FILTER SECTION                             *
 *                              ----------------                            *
 *                                                                          *
 *                                                                          *
 **************************************************************************** */




.filter-container {
    display: flex;
    justify-content: start;
    gap: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 100%;
    z-index: 500;
    margin: 0 auto;
    font-family: var(--font-family);
}

/* ****************************************************************************
 *                                                                          *
 *                            FORM CONTROLS STYLING                         *
 *                              ----------------                            *
 *                                                                          *
 *                                                                          *
 **************************************************************************** */


.form-control {
    display: block;
    height: calc(1.5em + .75rem + 2px) !important;
    padding: .375rem .75rem !important;
    font-size: 0.875rem !important;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .5rem;
    transition: border-color .15s;
    font-family: var(--font-family);
}

    .form-control:focus {
        border-color: var(--primary-color) !important;
        outline: none;
    }

    .form-control.filter {
        width: 150px;
        /
    }


    .form-control.input-custom {
        display: block;
        width: 100%;
        padding: .75rem 1.25rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #495057;
        background-color: #ffffff;
        border: 2px solid #ced4da;
        border-radius: .25rem;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }

        .form-control.input-custom:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 .2rem rgba(30, 136, 229, 0.25);
        }





/* ****************************************************************************
 *                                                                          *
 *                              dashboardContainer                          *
 *                              ----------------                            *
 *                                                                          *
 *                                                                          *
 **************************************************************************** */


#dashboardContainer {
    display: flex;
    justify-content: center;
    margin: 0px auto;
}

#repImgContainer {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 800px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#repImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.img-placeholder {
    height: 800px;
    max-height: 80vh;
    margin: 20px auto;
    background-color: #e0e0e0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-family);
}



/* ****************************************************************************
 *                                                                          *
 *                              MODALES STYLE                          *
 *                              ----------------                            *
 *                                                                          *
 *                                                                          *
 **************************************************************************** */

.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 100vh;
    max-width: 100vw;
    width: auto;
}

.modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    background-color: #ffffff;
    width: 100%;
    max-width: 90vw;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 80vw;
    }
}

@media (min-width: 768px) {
    .modal-dialog {
        max-width: 70vw;
    }
}

@media (min-width: 992px) {
    .modal-dialog {
        max-width: 60vw;
    }
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

.modal-header {
    background-color: #1F8BBA;
    color: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    border-top-left-radius: .8rem;
    border-top-right-radius: .8rem;
}

.modal-title {
    margin: 0;
}

.modal-header .close {
    color: #ffffff !important;
    font-size: 1.5em;
    opacity: 0.8;
}

    .modal-header .close:hover {
        color: #ffffff !important;
        opacity: 1;
    }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-radius: 0 0 .8rem .8rem;
}


/* ****************************************************************************
 *                                                                          *
 *                              BUTTON STYLING                         *
 *                              ----------------                            *
 *                                                                          *
 *                                                                          *
 **************************************************************************** */
.btn {
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color) !important;
    color: var(--button-text-color) !important;
    font-weight: 200;
    transition: background-color 0.3s, border-color 0.3s;
}

    .btn-submit:hover {
        background-color: var(--secondary-color-dark) !important;
        border-color: var(--secondary-color-dark) !important;
    }

/* Knoppen in de modal */
.btn {
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color) !important;
    color: var(--button-text-color) !important;
    font-weight: 200;
    transition: background-color 0.3s, border-color 0.3s;
}

    .btn-submit:hover {
        background-color: var(--secondary-color-dark) !important;
        border-color: var(--secondary-color-dark) !important;
    }


.btn-cancel {
    background-color: #ffffff;
    border: 2px solid #636363;
    color: #dc3545;
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

    .btn-cancel:hover {
        background-color: rgb(224, 224, 224);
        border-color: #acacac;
        color: #ffffff;
    }


/* ****************************************************************************
 *                                                                          *
 *                                 F O O T E R                              *
 *                              ----------------                            *
 *                                                                          *
 *                                                                          *
 **************************************************************************** */


footer {
    background: #f8f9fa;
    padding: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

    footer p {
        color: #495057;
        font-size: 0.9em;
        margin: 0;
    }


