/* Global Variables */
:root {
    --primary-color: #2a727a;
    --secondary-color: #000000;
    --bg-footer: #F3F4F6;
}

* {
    transition: .25s all ease-in-out;
}

/* Links Styling */
a:not(.btn) {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* Container Sizing */
.container-fluid {
    max-width: 2000px;
}
.container-xl {
    max-width: 1750px;
}

/* Header Styles */
.header-top {
    background-color: var(--primary-color);
    padding: 10px 0;
    color: white !important;
}
.header-top a {
    color: white !important;
    text-decoration: none;
}

.header-middle {
    background-color: #ffffff;
    padding: 10px 0;
}
.header-middle .logo img {
    max-height: 50px;
}
.header-middle .search-bar input {
    width: 250px;
}
.header-middle .user-info a {
    margin-left: 10px;
    text-decoration: none;
}
.header-middle .user-info a:hover {
    color: var(--primary-color);
}

.header-bottom {
    background-color: var(--light-gray);
}

/* Navbar Styles */
.navbar {
    padding: 0rem !important;
}
.navbar-nav .nav-link {
    color: #333333;
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}
.navbar-nav .active .nav-link, li.nav-item.active a.nav-link {
    color: #ffffff !important;
    font-weight: bold;
}
li.nav-item.active {
    background-color: #2a727a;
}

/* Mobile Styles */
.hamburger-menu {
    display: block;
}
@media (max-width: 767px) {
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-link {
        padding: 10px 0;
    }

    /* Nieuwe regels voor responsieve docs-card */
    .docs-card, .docs-card .d-flex.align-items-start {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .docs-card img.img-doc {
        width: 100%;
        height: auto;
        border-radius: .375rem !important;
    }

    .bg-dashboard-circles {
        margin-bottom: 1rem !important;
    }

    .docs-card h2.h5 {
        font-size: 1.25rem !important;
    }

    .arrow-icon {
        width: 1.5rem !important;
        height: 1.5rem !important;
        align-self: flex-end !important;
        margin-left: auto !important;
    }

    .docs-card {
        padding: 1rem !important;
    }

    .docs-card img.arrow-icon {
        margin-top: 1rem !important;
    }
}

/* Dropdowns */
.dropdown-menu {
    top: 100%;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0px !important;
}
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    margin-left: 0;
    opacity: 1;
    visibility: visible;
}
.dropdown-item {
    padding: .5rem 1.75rem !important;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #2a727a;
}

/* Footer Background */
.bg-footer {
    background-color: var(--bg-footer) !important;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    color: white;
    display: flex;
    z-index: 99999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}
.mobile-menu.active {
    transform: translateY(0);
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}
.mobile-menu ul li {
    margin: 20px 0;
}
.mobile-menu ul li a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}
.mobile-menu .mobile-account {
    position: absolute;
    bottom: 20px;
    left: 0px;
    width: 100%;
    padding: 0rem 1rem;
    display: flex;
    justify-content: space-between;
}
#closeMenu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 36px;
    color: black;
    cursor: pointer;
}

/* Form Styles */
form .form-control {
    border-radius: 0.75rem;
    border: 2px solid #ced4da;
    transition: all 0.3s ease;
}
form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}
form label {
    padding-left: 1rem;
}
input[type='checkbox'] {
    cursor: pointer;
}

/* Input Group Styling */
.input-group {
    position: relative;
}
.input-group .form-control {
    border-radius: 0.75rem 0 0 0.75rem; 
}
.input-group .btn {
    border-radius: 0 0.75rem 0.75rem 0;
    padding: 0rem 0.5rem;
    border: 2px solid #ced4da;
    border-left: none;
}
.input-group .btn i {
    font-size: 1.2rem;
}
.input-group .form-control:focus, .input-group .btn:hover {
    border-color: var(--primary-color);
}

/* Buttons */
.btn.btn-primary {
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: 0rem !important;
}
.btn.btn-sm {
    padding: .125rem .75rem;
}

/* Card and Hover Effects */
.docs-card, .docs-card ~ div a:not(.text-decoration-underline) {
    position: relative;
    border-radius: 0.65rem !important;
}
.docs-card::before, .docs-card ~ div a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease;
}
.docs-card:hover::before, .docs-card ~ div a:hover::before {
    border-color: #ed68094d !important;
    pointer-events: none;
}

/* Image and Icon Styles */
.img-doc {
    object-fit: cover;
    height: 200px;
    width: 100%;
    border-radius: .375rem;
}
.icon-size {
    height: 1.5rem;
    width: 1.5rem;
}
.arrow-icon {
    width: 2rem;
    height: 2rem;
}

/* Misc */
.bg-dashboard-circles {
    background-color: #f0f4f8;
    padding: 1rem !important;
    border-radius: 50%;
}
.transition {
    transition: all 0.3s ease;
}
.object-fit-cover {
    object-fit: cover;
}

/* Text and Border Colors */
.text-primary {
    color: var(--primary-color) !important;
}
.text-secondary {
    color: var(--secondary-color) !important;
}
.border-primary {
    border-color: var(--primary-color) !important;
}
.border-secondary {
    border-color: var(--secondary-color) !important;
}
