@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --mateboerDarkBlue: #0C1755;
    --mateboerBlue: #313299;
    --mateboerLightBlue: #C9D2FF;
    --mateboerYellow: #F1D640;
}

html,
body {
    width: 100%;
    margin: 0;
    font-family: "lato", sans-serif !important;
    color: #2c2c2e;
}

.main {
    width: 95%;
    margin: auto;
    border: 1px solid #E2E8F0;
    background: #FFF;
}
input[disabled] {
  background-color: #f5f5f560;
  /* color: #e3e3e3; */
  border: 1px solid #ddd;
  cursor: not-allowed;
  opacity: 1; /* Optional: override default reduced opacity */
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F8FAFC;
}

header h1 {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.detailHeader {
    font-size: 20px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    background-color: white;
}
.detailHeaderContainer{ 
    border-top: solid 1px #E2E8F0;
    border-right: solid 1px #E2E8F0;
    border-left: solid 1px #E2E8F0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.formContainer {
    max-width: 1000px;
    margin: auto;
}


.container {
    max-width: 100% !important;
}

nav {
    box-sizing: border-box;
}

.navigationUl li {
    margin: 0;
}

.navigationUl a {
    margin-left: 20px;
    height: 47px;
    padding-left: 8px;
    align-items: center;
    display: flex;
    width: fit-content;
    padding-right: 20px;
    min-width: 85%;
    cursor: pointer;
    margin-bottom: 8px;
    font-weight: 500;
}

.navigationUl li a {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: 0px;
    padding-left: 0px;
    margin-bottom: 0px;
}

.navigationUl li:not(:first-child) {
    margin-left: 20px;
    height: 47px;
    padding-left: 8px;
    align-items: center;
    display: flex;
    width: fit-content;
    padding-right: 20px;
    min-width: 85%;
    cursor: pointer;
    margin-bottom: 8px;
}
.weatherBlock{
    flex-grow: 1;
    width: auto;
}
.weatherSpanCity{
    word-break: break-word;
    white-space: normal;
}
th:hover {
    color: rgba(0, 0, 0, 0.867) !important;
}
th svg{
    margin-top: 3px;
}
.weatherBlock:nth-child(odd) {
background: #F8FAFC;
}
.selectedSort {
    background: var(--mateboerBlue) !important;
    border: none !important;
    color: white;
    border-radius: 4px;
    cursor: default;
    float: left;
    /* margin-right: 5px; */
    /* margin-top: 5px; */
    padding: 0 5px;
    font-size:12px;
    height:20px;
    /* height: fit-content; */
}

.date-rangepicker {
    position: relative;
    padding-right: 1rem !important;
    border: 1px solid #E2E8F0;
    max-width: 300px;
    min-width: 300px;
    border-radius: 5px;
    max-height: 46px;
}

.date-rangepicker input {
    border: none;
    height: 44px;
    width: 300px;
    font-size: 15px;
}

.datepickerDate {
    height: 25px;
    width: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 25px;
}

.activeDate {
    background: var(--mateboerBlue);
    cursor: pointer;
    color: white;
    border-radius: 25px;
    height: 25px;
    width: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dateContainer {
    position: absolute;
    z-index: 99999;
    background: white;
    width: 100%;
    top: 55px;
}

.soortenList,
.opdrachtgeverList {
    position: relative;
    z-index: 10;
    background: white;
    top: -15px;
}

.navigationUl li:not(:first-child):hover {
    background: var(--mateboerLightBlue);
    border-radius: 7px;
}

.navigationUl a:hover {
    background: var(--mateboerLightBlue);
    border-radius: 7px;
}

.navigationUl li:first-child {
    padding-left: 20px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

.activeNav {
    background: var(--mateboerLightBlue);
    border-radius: 7px;
}

.imageBlock {
    position: relative;
    min-height: 180px;
    min-width: 156px;
    max-width: 156px;
    max-height: 180px;
    /* padding: 2px;
    border-radius: 5px; */
    /* border: solid 2px var(--mateboerBlue); */
    display: block;
}

.imageText {
    position: absolute;
    bottom: 0;
    height: 75px;
    width: 100%;
    color: white;
    background: var(--mateboerBlue);
    border-radius: 0px 0px 7px 7px;
    padding: 4px 8px;
}

.imageText span {
    width: 100%;
    display: flex;
    word-wrap: break-word;
    /* Ensure text wraps within cells */
    word-break: break-word;
    /* Break words if they exceed the cell width */
    white-space: normal;
    /* Allow text to wrap to the next line */
}

.imageBlock img,
.imageSvg {
    background: #ececec;
    border-radius: 7px;
    border: 1px solid #E2E8F0;
    box-shadow: 2px 2px 4px 0px rgba(160, 175, 255, 0.25);
    min-height: 180px;
    min-width: 156px;
    max-width: 156px;
    max-height: 180px;
    height: 100%;
}

.saveButton {
    border-radius: 5px;
    border: 1px solid #C9D2FF;
    background: #FFF;
    color: #4a60cd;
    font-weight: 700;
    font-family: 14px;
    padding: 10px 18px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.saveButton:hover {
    background-color: var(--mateboerBlue);
    color: white;
    border: 1px solid var(--mateboerBlue);
}

.createButton {
    background-color: var(--mateboerBlue);
    cursor: pointer;
    font-weight: 700;
    color: white;
    min-height: 45px;
    padding: 10px 18px;
    border-radius: 5px;
    border: 1px solid var(--mateboerBlue);
    font-size: 14px;
}

.createButton:hover {
    background-color: white;
    color: var(--mateboerBlue);
    border: 1px solid var(--mateboerBlue);
}

.deleteButton {
    background-color: white;
    color: #A90003;
    border: 1px solid #A90003;
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 16px;
}

.deleteButton:hover {

    background-color: #A90003;
    border: 1px solid #A90003;
    color: #fff;
}

.overviewDiv {
    background: #FFF;
    border: solid 1px #E2E8F0;
    border-radius: 10px;
    padding: 16px 43px;
    display: flex;
    flex-direction: column;
}

.medewerkerCheckbox {
    display: flex;
    padding: 0px !important;
    place-content: center;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    border: solid 1px #E2E8F0;
    margin: 0;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    /* background: #eee; */
    height: 22px !important;
    width: 22px;
    min-width: 22px;
    border: solid 1px #999;
    margin-right: 8px;
    cursor: pointer;
    align-items: center;
    margin-top: 4px;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--mateboerBlue);
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.overviewBar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;

}

.overviewBar h2 {
    color: #2C2C2E;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.overviewBar input {
    border-radius: 5px;
    border: 1px solid #E2E8F0;
    background: #FFF;
    padding: 6px 12px;
    font-weight: 500;
}

.overviewTable {
    width: 100%;
    background: #FFF;
    position: relative;
}

.overviewTable thead tr {
    min-height: 37px;
    height: 37px;
}

.overviewTable tr {
    min-height: 47px;
    height: 47px;
    border-bottom: 1px solid #E2E8F0;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 400ms;
}

.overviewTable a {
    width: 100%;
    height: 47px;
    display: flex;
    align-items: center;
}

.overviewTable a span {
    min-width: 96px;
}

.error {
    color: rgb(199, 30, 30);
    font-weight: 600;
    font-size: 13px;
}

.overviewTable tr:hover:not(thead tr) {
    background: #C9D2FF;
    border-bottom: 1px solid #fff;
}
.subrondeTr:hover + tr {
    background: #C9D2FF;
    border-bottom: 0px;
}

.toggleHr {
    width: 170px;
    cursor: pointer;
    border: none;
    height: 1px;
    background-color: #7f7f7f9b;
    margin: 8px 0;
}

.overviewTable td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding-right: 4px;
}

.overviewTable td:first-child,
.overviewTable th:first-child {
    padding-left: 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    display: table-cell;
}

.overviewTable th {
    vertical-align: middle;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
    border-top: 1px solid #E2E8F0;
    color: #7F7F7F;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
}

/* .overviewTable th > svg{
    opacity: 0;
}
.overviewTable th .active > svg{
    opacity: 1;
} */
.overviewTable td {
    text-align: left;
    color: #2C2C2E;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: table-cell;
}

.statusLopend {
    border-radius: 3px;
    background: rgba(241, 214, 64, 0.50);
    color: #7D6A00;
    font-size: 14px !important;
    height: 23px;
    max-height: 23px;
    padding: 4px 7px;
    max-width: 90px;
}

.statusKlaar {
    border-radius: 3px;
    background: rgba(125, 203, 96, 0.50);
    color: #1E3815;
    font-size: 14px !important;
    height: 23px;
    max-height: 23px;
    padding: 4px 7px;
    max-width: 90px;
}

.statusNietgestart {
    border-radius: 3px;
    background: #FFB16C;
    color: #B75500;
    font-size: 14px !important;
    height: 23px;
    max-height: 23px;
    padding: 4px 7px;
    max-width: 90px;
}


.editBlock {
    position: absolute;
    z-index: 2;
    top: 40px;
    left: -150px;
    border-radius: 5px;
    border: 1px solid #E2E8F0;
    background: #FFF;
    box-shadow: 2px 2px 5px 0px #C3CAD3;
    width: 165px;
    max-width: 165px;
    height: auto;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 400ms;
}

.editBlock ul {
    width: 100%;
    padding: 6px 0;
}

.editBlock li {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 40px;
    width: calc(100% - 4px);
    margin: auto;
    background-color: white;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 400ms;
}
.boxShadow{
    box-shadow: 2px 2px 4px 0px rgba(224, 240, 255, 0.25);
}

.editBlock li:hover {
    background-color: #C9D2FF;
    border-radius: 5px;
}

svg.active {
    background: #C9D2FF;
    border-radius: 50px;
    height: 30px;
    width: 30px;
}

.formLabel {
    color: #7F7F7F;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.formDetailLabel {
    color: #2C2C2E;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

input,
select,
textarea {
    border-radius: 5px;
    border: 1px solid #E2E8F0;
    height: 46px;
    width: auto;
    max-width: 300px;
    font-size: 15px;
    padding: 6px 12px !important;
    overflow: hidden;
    background-color: white;
}

#searchDiv {
    max-height: 31px;
    max-width: 301px;
    height: 31px;
    min-height: 31px;
    border: 1px solid #E2E8F0;
    padding: 4px 12px;
    border-radius: 5px;
    z-index: 20;
}

#searchDiv input {
    padding: 0px;
    border: none;
    height: auto;
    background: transparent;
}

#searchDiv input:focus {
    outline: none;
}

select {
    border-right: 16px solid var(--mateboerLightBlue);
}

textarea {
    width: 100%;
    max-width: 100%;
    min-height: 100px;
    max-height: 200px;
    resize: none;
}

.loginContainer {
    box-shadow: 2px 2px 4px 0px rgba(205, 211, 219, 0.25);
    border: 1px solid #E2E8F0;
}

.userSpan {
    color: #0C1755;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}

.userRoleSpan {
    color: #7F7F7F;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}

#soortenList li {
    border-radius: 3px;
    border: 1px solid var(--mateboerBlue);
    background: #FFF;
    font-weight: 500;
    padding: 4px 8px;
    font-size: 14px;
    color: var(--mateboerBlue);
    height: fit-content;
    cursor: pointer;
}

#medewerkersList li {
    border-radius: 3px;
    border: 1px solid var(--mateboerBlue);
    background: #FFF;
    font-weight: 500;
    padding: 4px 8px;
    font-size: 14px;
    color: var(--mateboerBlue);
    height: fit-content;
    cursor: pointer;
}

.projectLocatie {
    /* border: solid 1px var(--mateboerLightBlue); */
    border-left: 20px solid var(--mateboerLightBlue) !important;
    border-radius: 7px;
    background: #F8FAFC;
}

.projectLocatie:hover {
    border-left: 20px solid var(--mateboerBlue) !important;
}

#rondeForm {
    overflow-y: auto;
    max-height: 90vh;
}

.rondeBlockIcon {
    background: var(--mateboerLightBlue);
    border: solid 1px #F8FAFC;
    border-radius: 3px;
    border: solid 1px var(--mateboerLightBlue);
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    z-index: 50;
    padding: 0.125rem;
}

.rondeBlockIcon:hover {
    background: white;
    border: solid 1px var(--mateboerLightBlue);
}

.projectRondeBlock {
    border-radius: 7px;
    border: solid 2px #E2E8F0;
    background: #F8FAFC;
    width: 65%;
    /* min-height: 460px; */
    box-shadow: 2px 2px 4px 0px rgba(224, 240, 255, 0.25);
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
}

.projectRondeBlock:hover {
    border: solid 2px var(--mateboerLightBlue);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

input[type="checkbox"] {
    height: 15px;
}

input[type="text"],
input[type="number"] {
    border: 1px solid #E2E8F0;
    outline: none;
    transition: border-color 0.3s ease;
    min-width: 300px;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border: 1px solid var(--mateboerBlue);
    /* Change this color to whatever you like */
}

.uurOverzicht {
    border-radius: 7px;
    border: 1px solid #E2E8F0;
    box-shadow: 2px 2px 4px 0px rgba(160, 175, 255, 0.25);
}

.rondesPlanner tr td {
    height: 50px;
    font-weight: 500;
    font-size: 14px;
}

.overlay {
    position: fixed;
    /* Covers the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
    /* Prevents scrolling within the overlay */
}
.alreadyPlannedRondes {
    height: 95vh !important;
    position: fixed;
    transform: translate(-1%, -50%);
    top: 50%;

}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 800px;
    border-radius: 6px;
    overflow-y: auto;
    z-index: 1001;

}

.popup svg {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 15px;
}

/* Custom Scrollbar Styling */
.popup::-webkit-scrollbar {
    width: 8px;
    /* Width of the scrollbar */
}

.popup::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Color of the track */
    border-radius: 4px;
}

.popup::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Color of the thumb */
    border-radius: 4px;
    border: 2px solid #f1f1f1;
    /* Adds some padding around the thumb */
}

.popup::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* Color of the thumb on hover */
}

.rondeSoortLabel {
    height: fit-content;
    background: var(--mateboerBlue);
    color: white;
    border-radius: 3px;
    font-weight: 400;
    width: fit-content;
    padding: 2px 6px;
    margin-bottom: 2px;
}

.availability-table tr {
    margin: 10px;
}

.availability-table td {
    position: relative;
    padding: 5px;
    width: 93px;
    max-width: 93px;
    height: 45px;
}

/* .availability-table td:not(:first-child) {
    width: 20px;
    max-width: 30px;
} */
.availability-table th:not(:first-child) {
    min-width: 93px;
    max-width: 93px;
}

.checkmark {
    position: absolute;
    cursor: pointer;
    top: 0;
    padding: 9px;
    left: 0px;
    height: 40px;
    width: 90px;
    border-radius: 5px;
    background: #7DCB60;
}

.checkboxContainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* On mouse-over, add a grey background color */
.checkboxContainer:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkboxContainer input:checked~.checkmark {
    /* background-color: #2196F3; */
    background-color: #A90003;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {}

/* Show the checkmark when checked */
.checkboxContainer input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkboxContainer .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#filtersIcon {
    display: none;
}

.planningTable {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.planningTable div {
    max-width: 35px;
}

.planningTable th {
    max-width: 35px;
    min-width: 35px;
    /* border-left: solid 1px #E2E8F0; */
    border-right: solid 1px #E2E8F0;
}

.planningTable td {
    border: solid 1px #E2E8F0;
    border-left: 0px;
    padding: 3px;
    text-align: center;
    min-width: 30px;
    max-height: 35px;
}
.planningTable tr:first-child {
max-width: auto;
}
.loginButton {
    border-radius: 5px;
    background: var(--mateboerBlue);
    box-shadow: 2px 2px 5px 0px rgba(33, 34, 107, 0.25);
    color: white;
}

.activeWorkedDate {
    box-shadow: 2px 2px 2px 0px rgba(81, 83, 233, 0.25), 2px 2px 2px 0px #2E2FC0 inset;
}

.custom-scroll {
    overflow-x: auto;
    scrollbar-width: thin;
    /* Thin scrollbar */
    scrollbar-color: #888 #f1f1f1;
    /* Thumb and track colors */
}

.custom-scroll::-webkit-scrollbar {
    width: 6px;
    /* Small width for vertical scrollbar */
    height: 6px;
    /* Small height for horizontal scrollbar */
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #888;
    /* Color of scrollbar thumb */
    border-radius: 10px;
    /* Rounded scrollbar thumb */
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Thumb color on hover */
}

.custom-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    /* Rounded scrollbar track */
}

/* Hide the default scrollbars on the element completely (if needed) */
.custom-scroll::-webkit-scrollbar-corner {
    background: transparent;
    /* Make the corner where horizontal/vertical scrollbars meet invisible */
}

.dayLabel {
    white-space: nowrap;
    overflow: visible;
}

/* notifications styling */
.info {
    height: 120px;
    width: 340px;
    border: solid 1px;
    border-color: #C7D9F0;
    background-color: #E2E8F0;
    border-bottom: 25px;
    top: 15px;
    right: 15px;
    position: fixed;
    border-radius: 5px;
    box-shadow: 2px 2px 4px 0px rgba(195, 202, 211, 0.25);
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .popup svg {
    top: 10px;
}
    .formDetailLabel {
        /* max-width: 130px;
        min-width: 130px; */
        overflow-wrap: break-word;
        white-space: normal;
    }

    .overviewDiv {
        padding: 16px;
    }

    .dayLabel {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 2ch;
        /* Limit to 2 characters */
    }

    .medewerkerContainer input[type='text'],
    input[type='number'],
    input[type='email'],
    input[type='password'],
    select {
        min-width: auto;
    }

    .overviewTable th,
    .overviewTable td {
        min-width: 220px;
        width: fit-content;
        padding: 0px 8px;
    }

    .rondeShowTable th,
    .rondeShowTable td {
        min-width: 80px;
        width: fit-content;
        padding: 0px 8px;
    }
}
@media only screen and (min-width: 1024px){
    .planningTable {
    table-layout: fixed;
    width: 200%;
    }
}
@media only screen and (min-width: 1440px){
    .planningTable {
    table-layout: fixed;
    width: max-content;
    }
}

/* specific forms/screens input widths */
.medewerkerContainer input[type='text'],
input[type='number'],
input[type='email'],
input[type='password'],
select {
    /* width: 200px; */
    min-width: 280px;
}