@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* donkere overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

    .modal-content h2 {
        margin-top: 0;
    }

    .modal-content button {
        margin-top: 1rem;
        padding: 0.5rem 1rem;
        border: none;
        background-color: #007bff;
        color: white;
        border-radius: 6px;
        cursor: pointer;
    }

        .modal-content button:hover {
            background-color: #0056b3;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5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IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }


@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2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jwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


/* Index text*/

.intro-block {
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.intro-text {
    margin-top: -1vh;
    font-size: 26px;
    font-weight: bold;
}

/* Dashboard */

.rz-tabview-nav li:not(.rz-tabview-selected) {
    background-color: transparent !important;
}

.selected-border {
    border: 2px solid dodgerblue !important;
}
.button-1 rz-ripple:focus
{
    outline:none;
}

rz-dialog custom-dialog-class {
    height: auto;
}

.custom-dialog-class .rz-dialog {
    width: auto !important;
    height: auto !important;
}

.custom-dialog-class .rz-dialog-buttons .rz-button-primary {
    background-color: #4CAF50; /* Green */
    color: white;
}

.custom-dialog-class .rz-dialog-buttons .rz-button-secondary {
    background-color: #f44336; /* Red */
    color: white;
}

.custom-dialog-class .rz-dialog-buttons .rz-button-primary .rz-button-text::before {
    content: '\f067'; /* FontAwesome plus icon */
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}

.custom-dialog-class .rz-dialog-buttons .rz-button-secondary .rz-button-text::before {
    content: '\f046'; /* FontAwesome check icon */
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}

/* The cards per order */
.cardHome {
    border: 0px solid #ddd;
    padding: 1px;
    margin: 20px;
    border-radius: 15px;
    width: 90%;
    box-shadow: 0px 3px 3px 3px #aaa;
    height: 20vh;
    display: inline-block;
    position: relative; /* added for positioning */
}

.cardHome-head {
    padding: 1px;
    font-weight: bold;
    margin-bottom: 10px;
    background-color: #03a69b;
    margin: -1.5px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.cardHome-body {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1px;
}

.cardHome-text {
    padding: 10px;
    color: #353742;
    font-family: 'Adobe Arabic';
    font-size: 22.5px;
}

.cardHome-title {
    padding: 10px;
    color: white;
    font-size: larger
}

.cardHome:hover {
    border: 2px solid #161614a4; /* or any other desired color */
    transition: border 0.1s ease; /* Optional: for smooth transition */
    cursor: pointer;
}

.cardHome-background {
    background-image: url('/images/card-bg.png');
    background-size: 13vh; /* this will cover the entire viewport of the card */
    background-position: right; /* this will center the image */
    background-repeat: no-repeat;
    background-position-y: 50px
}

.cardHome-background-planning {
    background-image: url('/images/planning.png');
    background-size: 22vh; /* this will cover the entire viewport of the card */
    background-position: right; /* this will center the image */
    background-repeat: no-repeat;
    background-position-y: 60px
}

.cardHome-head-planning {
    padding: 1px;
    font-weight: bold;
    margin-bottom: 10px;
    background-color: #b32121;
    margin: -1.5px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.cardHome-text-planning {
    padding: 10px;
    color: #353742;
    font-family: 'Adobe Arabic';
    font-size: 22.5px;
}

.cardHome-title-planning {
    padding: 10px;
    color: white;
    font-size: larger
}

.cardHome-background-factuur {
    background-image: url('/images/invoice.png');
    background-size: 25vh; /* this will cover the entire viewport of the card */
    background-position: right; /* this will center the image */
    background-repeat: no-repeat;
    background-position-y: 50px
}

.cardHome-head-factuur {
    padding: 1px;
    font-weight: bold;
    margin-bottom: 10px;
    background-color: #1861ac;
    margin: -1.5px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.cardHome-text-factuur {
    padding: 10px;
    color: #353742;
    font-family: 'Adobe Arabic';
    font-size: 22.5px;
}

.cardHome-title-factuur {
    padding: 10px;
    color: white;
    font-size: larger
}
/* loading/waiting spinner animation*/
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
    width: 100%;
}

.spinner-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top: 4px solid #000;
    width: 100%;
    height: 100%;
    animation: spin 1s linear infinite;
}

.spinner-text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.dropdownBijlage {
    position: absolute;
    top: 10px;
    right: 10px;
}

    .dropdownBijlage div {
        margin-bottom: 5px;
    }

/* The cards per order */
.card {
    border: 0px solid #ddd;
    padding: 1px;
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0px 3px 3px 3px #aaa;
    /*width: 90%; use this if you choose container justify-content: space-around*/
    width: fit-content;
    display: inline-block;
    position: relative; /* added for positioning */
}

.card-header {
    font-weight: bold;
    margin-bottom: 10px;
    padding: 7px;
    border-radius: 5vh;
    width: fit-content
}

    .card-header:hover {
        font-weight: bold;
        /* margin-bottom: 10px; */
        cursor: pointer;
    }


.card-body {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1px;
}

.card:hover {
    border: 2px solid #161614a4; /* or any other desired color */
    transition: border 0.1s ease; /* Optional: for smooth transition */
}

/*The search and filter section*/

.searchfiltersection {
    align-items: baseline;
    justify-content: center;
    display: flex;
}
/*Toggle button(filter)*/
.toggle-button {
    border-radius: 0.5vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .toggle-button.active {
        background-color: #007bff; /* Active color */
        color: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* Add shadow */
        transform: scale(0.98);
    }

    .toggle-button.inactive {
        background-color: #F0F0F0; /* Inactive color */
        color: black;
    }

.toggle-button-date {
    border-radius: 0.5vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1vh;
    width: 2vh;
    height: 2vh;
    margin-top: 0.7vh !important;
}

    .toggle-button-date.active {
        background-color: #007bff; /* Active color */
        color: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* Add shadow */
        transform: scale(0.99);
        border-radius: 0.6vh;
    }

    .toggle-button-date.inactive {
        background-color: transparent; /* Inactive color */
        color: black;
    }

.fa-solid {
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 900; /* Use 900 for solid, 400 for regular */
}

/*Dropdown for filters*/
.fas {
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 900; /* Use 900 for solid, 400 for regular */
}

.dropdown {
    position: relative;
    margin-top: 0.3vh;
    display: inline-block;
}

.dropbtn.active {
    background-color: #007bff !important;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* Add shadow */
    transform: scale(0.98);
}

.dropbtn.inactive {
    background-color: #F0F0F0;
}

.dropbtn {
    border-radius: 0.5vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #F0F0F0; /* Inactive color */
    color: black;
    font-size: 16px; /* Smaller font size */
    cursor: pointer;
    border-radius: 5px; /* Rounded corners */
}

.dropdown-content {
    display: none;
    position: fixed;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px; /* Rounded corners */
}

    .dropdown-content button {
        transition: background-color 0.3s ease, color 0.3s ease;
        color: black;
        padding: 8px 10px; /* Smaller padding */
        text-decoration: none;
        display: block;
        font-size: 14px; /* Smaller font size */
        text-align: left; /* Align text to the left */
        background-color: transparent; /* Transparent background */
        border: none; /* No border */
        cursor: pointer;
        width: 100%;
    }

        .dropdown-content button:hover {
            background-color: #f1f1f1;
        }

        .dropdown-content button:active {
            background-color: #007bff; /* Active color */
            color: white;
            box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* Add shadow */
            transform: scale(0.95);
        }

        .dropdown-content button:window-inactive {
            background-color: #F0F0F0; /* Inactive color */
            color: black;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

/*.dropdown:hover .dropbtn {
    background-color: #007bff;*/ /* Slightly blue on hover */
/*color: white;
}*/

.dropdown-filter-active {
    background-color: #007bff !important; /* Blue background for active filters */
    color: white !important; /* White text for better contrast */
}
/*Details popup*/

.nav-item-popup.active {
    background-color: #1e90ff38;
    border-bottom-style: solid;
    border-bottom-width: medium;
    border-bottom-color: dodgerblue;
}

.detail-button {
    position: absolute;
    top: 0.5vh;
    right: 1vh;
    background-color: #81727240; /* transparent; or #8172728f gray;*/
    color: black;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    padding: 5px 8px;
}



.detail-button-icon-container {
    position: absolute;
    top: 0.1vh;
    right: 10vh;
    background-color: transparent; /* transparent; or #8172728f gray;*/
    font-size: 35px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    padding: 5px 8px;
}

.detail-button-icon-container-text {
    position: absolute;
    top: 0.2vh;
    right: 11.7vh;
    cursor: pointer;
    font-size: 18px;
}


.detail-button-icon-money {
    position: absolute;
    top: 0.5vh;
    right: 7vh;
    background-color: transparent; /* transparent; or #8172728f gray;*/
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    padding: 5px 8px;
}

.detail-button-icon-time {
    position: absolute;
    top: 0.5vh;
    right: 4vh;
    background-color: transparent; /* transparent; or #8172728f gray;*/
    color: black;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    padding: 5px 8px;
}

.detail-button-icon-file {
    position: absolute;
    top: 0.5vh;
    right: 1vh;
    background-color: transparent; /* transparent; or #8172728f gray;*/
    color: black;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    padding: 5px 8px;
}

.popup {
    position: fixed;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 160vh;
    background-color: Background;
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 12px #aaa;
    z-index: 1000;
    border-radius: 30px 30px 30px 30px;
    max-height: 90vh;
    overflow-y: auto;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

.no-scroll {
    overflow: hidden;
    height: 100%;
}
/*The table in the cards*/
.container-toggle {
    cursor: pointer;
    padding: 10px;
    text-align: center;
    background-color: #4ca6ffa8;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    margin: 10px 0;
}


.mini-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .mini-table th, .mini-table td {
        padding: 8px;
    }

    .mini-table th {
        background-color: #fff; /* You can choose any color you prefer for the header */
        text-align: left; /* Align text to the left */
        font-size: 90%; /* Makes the text smaller, adjust the percentage as needed */
        font-weight: bold; /* Removes bold styling, optional */
        width: auto; /* Adjusts the width of the th, optional */
    }

    .mini-table td {
        width: auto;
        padding: 8px;
        border-bottom: 0.5px solid #e5e5e5; /* Add a thin light grey border to the bottom of each cell */
    }

    .mini-table tr {
        padding: 8px;
        border-bottom: 0.5px solid #e5e5e5; /* Add a thin light grey border to the bottom of each cell */
    }

        .mini-table tr:last-child td {
            border-bottom: none; /* Remove the bottom border for the last row */
        }


.nested-mini-table {
    width: 100%; /* Ensures the nested table uses all available space */
    border-collapse: collapse; /* Keeps the table compact */
}

    .nested-mini-table th, .nested-mini-table td {
        padding: 4px; /* Smaller padding for a more compact look */
        font-size: 90%; /* Slightly smaller font size */
    }

    .nested-mini-table th {
        text-align: left; /* Aligns header text to the left */
        font-weight: bold; /* Makes header text bold */
        width: fit-content;
    }

    .nested-mini-table td {
        text-align: end; /* Aligns cell text to the left */
        border-bottom: none; /* Optionally removes the bottom border for a cleaner look inside the cell */
    }


/*voormeld statussen weergeven -> bevat geen text in kolommen dus kan smaller zijn */


.nested-mini-table-vrm {
    width: 100%; /* Ensures the nested table uses all available space */
    border-collapse: collapse; /* Keeps the table compact */
}

    .nested-mini-table-vrm th, .nested-mini-table-vrm td {
        padding: 4px; /* Smaller padding for a more compact look */
        font-size: 90%; /* Slightly smaller font size */
    }

    .nested-mini-table-vrm th {
        text-align: left; /* Aligns header text to the left */
        font-weight: bold; /* Makes header text bold */
        width: fit-content;
    }

    .nested-mini-table-vrm td {
        text-align: end; /* Aligns cell text to the left */
        border-bottom: none; /* Optionally removes the bottom border for a cleaner look inside the cell */
        width: 1vh;
    }


/* For the activiteiten in the container details.*/
.mini-table-activiteiten {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* Let table cells adjust based on content */
}

    .mini-table-activiteiten th, .mini-table-activiteiten td {
        padding: 8px;
        white-space: nowrap; /* Prevent text from wrapping */
        text-align: center;
    }

    .mini-table-activiteiten th {
        background-color: #4ca6ffa8;
        text-align: center;
    }

    .mini-table-activiteiten td {
        border-bottom: 1px solid #e0e0e0;
    }

.card-container {
    display: flex;
    flex-wrap: wrap;
    /*    justify-content: space-around;*/
    gap: 0.1vh;
}

.clickable-row {
    cursor: pointer;
}

    .clickable-row:hover th,
    .clickable-row:hover td {
        background-color: #f5f5f5 !important; /* Or any other color you prefer */
    }

/* pagination of the order screen*/
.orders-per-page {
    display: flex; /* Aligns the items (text and buttons) in a row */
    align-items: center; /* Vertically centers the items in the div */
    margin-left: 70vh;
}

.order-by {
    display: flex; /* Aligns the items (text and buttons) in a row */
    align-items: center; /* Vertically centers the items in the div */
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.page-item {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin: 0 0.3rem;
    cursor: pointer;
    /*background-color: #f5f5f5;*/ /* Light gray background */
    border: none;
    border-radius: 3px; /* Rounded corners */
    transition: background-color 0.3s ease;
}

    .page-item:hover {
        background-color: #e0e0e0; /* Slightly darker gray on hover */
    }

    .page-item.active {
        background-color: #007BFF; /* Blue background for the active page */
        color: white; /* White text color for the active page */
    }

    .page-item[disabled] {
        cursor: not-allowed;
        opacity: 0.5;
    }

.nav-button {
    padding: 0.25rem 0.5rem; /* Smaller padding than the page-item */
    font-size: 0.8rem; /* Smaller font-size than the page-item if desired */
}

.nav-item.active .nav-link:hover {
    color: red !important;
}


/* search or filter input */
.searchFilterDiv {
    margin-left: 1vh;
    display: flex !important;
}

.search-section {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

    .search-section input {
        margin-right: 0.5rem;
        padding: 0.25rem 0.5rem;
    }

.highlight {
    background-color: #52c6fa !important; /*lightblue matching with layout.*/
}


.product-title {
    min-height: 72px;
    background-color: var(--rz-secondary-lighter);
}

.price-badge {
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    padding: 8px;
}


/* Uploading order section */


.add-button {
    background-color: #4CAF50; /* Green background */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 20px 2px;
    cursor: pointer;
    border-radius: 50%; /* Circular button */
    width: 40px; /* Fixed width */
    height: 40px; /* Fixed height */
    line-height: 20px; /* Vertically center the + */
    font-weight: bold;
}

    .add-button:hover {
        background-color: #45a049; /* Darker shade of green */
    }

.remove-button {
    background-color: #9c1818; /* Red background */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 20px 2px;
    cursor: pointer;
    border-radius: 50%; /* Circular button */
    width: 30px; /* Fixed width */
    height: 30px; /* Fixed height */
    line-height: 20px; /* Match the height to vertically center the '-' */
    padding: 0; /* Reset padding */
    font-weight: bold;
}

    .remove-button:hover {
        background-color: #601515; /* Darker shade of red */
    }

.upload-button {
    background-color: cornflowerblue; /* Blue background */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px; /* Adjust as needed for the size of the '-' */
    margin: 20px 2px;
    cursor: pointer;
    border-radius: 10%; /* Circular button */
    width: 15vh; /* Fixed width */
    height: 5vh; /* Fixed height */
    line-height: 20px; /* Match the height to vertically center the '-' */
    padding: 0; /* Reset padding */
}

    .upload-button:hover {
        background-color: royalblue; /* Darker shade of blue */
    }

.download-button {
    background-color:limegreen; /* Blue background */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px; /* Adjust as needed for the size of the '-' */
    margin: 20px 2px;
    cursor: pointer;
    border-radius: 10%; /* Circular button */
    width: 15vh; /* Fixed width */
    height: 4vh; /* Fixed height */
    line-height: 20px; /* Match the height to vertically center the '-' */
    padding: 0; /* Reset padding */
}

    .download-button:hover {
        background-color:green; /* Darker shade of blue */
    }
.start-new-upload-button {
    background-color: darkgray; /* Gray background */
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 20px; /* Adjust as needed for the size of the '-' */
    margin: auto;
    cursor: pointer;
    border-radius: 10%; /* Circular button */
    width: 200px; /* Fixed width */
    height: 50px; /* Fixed height */
    line-height: 20px; /* Match the height to vertically center the '-' */
    padding: 0; /* Reset padding */
}

    .start-new-upload-button:hover {
        background-color: dimgray; /* Darker shade of gray */
    }


.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1px;
    width: 100vh;
}

    .file-item:hover {
        background-color: aliceblue;
    }

    .file-item.with-border {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Slightly visible line */
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

/*Upload Drag & Drop*/
.drop-zone {
    border-radius: 10vh;
    border: 2px dashed #ccc;
    padding: 20px;
    min-height: 40vh;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease; /* Smooth transition */
}

    .drop-zone.hover {
        background-color: #e8f0fe; /* Light blue background */
        border-style: solid;
    }

.drag-over {
    background-color: #f0f0f0; /* Light gray background */
}

.upload-area {
    background-color: whitesmoke;
    border: 2px dashed #ccc;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 40vh;
    text-align: center;
    cursor: pointer;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-info {
    margin-top: 20vh;
    width: 100%;
    text-align: center;
}


.custom-file-btn {
    display: block;
    background-color: #007bff; /* Example button color */
    color: white;
    text-align: center;
    line-height: 40px; /* Match the height of your wrapper */
    border-radius: 5px;
    pointer-events: none; /* Prevents the span from capturing clicks */
}

.input-file-wrapper {
    border-radius: 10vh;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    position: relative;
    width: 100px; /* Or your desired width */
    height: 40px; /* Or your desired height */
    overflow: hidden;
}

    .input-file-wrapper input[type="file"] {
        font-size: 100px; /* Increase font-size to make the input's button bigger than its container */
        position: absolute;
        top: 0;
        right: 0;
        opacity: 0; /* Hide the actual input */
    }


/* New container for alignment */
.flex-end-container {
    display: flex;
    justify-content: space-between; /* Aligns content to the right */
    align-items: center; /* Keeps items aligned vertically */
    width: 100%; /* Ensures container takes full width */
}

    /* Ensures that child elements have some space between them */
    .flex-end-container > div {
        margin-left: 10px; /* Adjust spacing as needed */
    }

/* Invoices Page*/
.main-grids {
    display: flex;
    gap: 100px;
}

.rz-datatable .rz-unselectable-text:not(.rz-sortable-column) {
    background-color: #f4f5f9; /* Change this to your desired background color */
}

.rz-datatable td, .rz-datatable th {
    /* Change here border/no border/thickness/color of grids*/
}

.invoice-grid .rz-data-row, .invoiceline-grid .rz-data-row {
    height: 50px; /* Adjust based on your content */
}

.grid-toggle-toolbar {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.toggle-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    cursor: pointer;
}


/*Settings page*/
.custom-file-button {
    background-color: red;
}

.toggle-setting {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.input-setting {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}


/* Animations */
@keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.blinking-hand {
    animation: blink-animation 1.5s infinite;
    cursor: pointer;
    font-size: 40px;
    color: #374FCE;
    position: absolute;
    right: 9vh; /* Adjust based on the exact position of your "Bewerk" button */
    /*top: 13vh;*/ /* Adjust based on the exact position of your "Bewerk" button */
}

@keyframes hand-point {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.8;
    }
}

.pointing-hand {
    display: inline-block;
    animation: hand-point 1.5s ease-in-out infinite;
    color: #374FCE;
    font-size: 50px;
    position: absolute;
    right: 90vh; /* Adjust based on your layout */
    top: 20vh; /* Position above the drop zone */
}




/* attachment cards*/


.attachment-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.card-attachment {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: calc(50% - 10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .card-attachment:hover {
        transform: translateY(-5px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        border: 2px solid dodgerblue;
    }


.card-header-attachment {
    padding: 10px;
    background: #eee;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.card-body-attachment {
    padding: 10px;
    text-align: center;
}

.action-button-attachment {
    background-color: transparent;
    border-radius: 0.5vh !important;
    border-style: none;
    color:white;
}

    .action-button-attachment:hover {
        transition: transform 0.2s ease;
        font-weight: bolder;
        border-radius: 1.5vh !important;
        transform: translateY(-3px); /* Move button up slightly on hover */
    }

.card-attachment.selected {
    border: 4px solid #4af125 !important; /* Highlight border */
    background-color: #f0f8ff !important; /* Light background */
}

.dash-intro {
    height: 4rem;
    padding: 0px 3px 0px 15px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: -20px;
    margin-top: 3px;
}

.dash-intro-text {
    display: flex;
}

.dash-text {
    font-size: 26px;
    font-weight: bold;
}

.form-footer {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width, 240px); /* stel een CSS variable in als je die gebruikt */
    width: calc(100% - 240px);
    background-color: white;
    border-top: 1px solid #ccc;
    padding: 1rem 2rem;
    z-index: 999;
}

* Chat message list and bubbles (new) */
.messages {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.msg {
    display: flex;
}

    .msg.system {
        justify-content: center;
        color: var(--bs-secondary-color);
        font-style: italic;
    }

    .msg.mine {
        justify-content: flex-end;
    }

    .msg.other {
        justify-content: flex-start;
    }

.bubble {
    max-width: 65ch;
    padding: .5rem .75rem;
    border-radius: .5rem;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-light-bg-subtle);
}

.msg.mine .bubble {
    background-color: var(--bs-success-bg-subtle);
    border-color: var(--bs-success-border-subtle);
}

.msg.other .bubble {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

.meta {
    font-size: .8rem;
    color: var(--bs-secondary-color);
    margin-bottom: .25rem;
}

.text {
    white-space: pre-wrap;
    word-break: break-word;
}

/* Optional: remove if you don't use .form-floating */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0078d7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1100;
}

    .chat-toggle:hover {
        background-color: #005a9e;
    }
