:root {
	--color-primary: rgba(0, 117, 119, 1.0);
	--color-primary-light: #3F9A8F;
	--color-primary-variant: #419D91;
	--color-red: #c23c2c;
	--color-red-light: #e05a47;
	--color-accent: #f5b700;
	--color-green: #00c476;
	--color-green-light: hsl(156, 100%, 38%, 15%);
	--color-gray-900: rgba(242, 242, 254, 0.1);
	--color-gray-700: rgba(242, 242, 254, 0.3);
	--color-gray-300: rgba(242, 242, 254, 0.5);
	--color-gray-200: rgba(242, 242, 254, 0.7);
	--color-gray-100: rgba(242, 242, 254, 0.9);		
	--color-white: #ffffff;
	--color-text: #e4e6eb;
	--color-bg: #0f0f3e;
	--color-bg-sec: #1a1a4d;
	--color-black: #111111;
	--color-calendar-gray-900: rgba(242, 242, 254, 0.5);
	--color-calendar-gray-700: rgba(225, 225, 225, 0.3);
	--color-calendar-gray-300: rgba(225, 225, 225, 0.5);
	--color-calendar-gray-200: rgba(225, 225, 225, 0.7);
	--color-calendar-gray-100: rgba(225, 225, 225, 0.9);
	--color-calendar-blue: #90caf9;
	--color-calendar-green: #7cb342;
	--color-calendar-red: #ffc9c9;
	--color-calendar-blue-lightn: #cce5ff;	

	--color-isvacation:        #3F7AE0;
	--color-isvacation-past:   #3F5F9F;
	--color-isstudyday:        #8A4EDB;
	--color-isstudyday-past:   #5E4686;
	--color-isclosed:          #E04A4A;
	--color-isclosed-past:     #8F3F3F;
	--color-isexception:       #8A8A8A;
	--color-isexception-past:  #6F6F6F;

	--transition: all 300ms ease;

	--container-width-lg: 74%;
	--container-width-md: 88%;
	--form-width: 40%;

	--card-border-radius-1: 0.3rem;
	--card-border-radius-2: 0.5rem;
	--card-border-radius-3: 0.8rem;
	--card-border-radius-4: 2rem;
	--card-border-radius-5: 5rem;
}

/* ================================================General ========*/

* {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	appearance: 0;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	background: var(--color-white);	
	line-height: 1.7;
	font-size: 0.8rem;	
	width: 100%;	
}

h1, h2, h3, h4, h5 {	
	line-height: 1.3;
}

h1 {
	font-size: 3rem;
	margin: 1rem 0;
}

h2 {
	font-size: 1.7rem;
	margin: 1rem 0;
}

h3 {
	font-size: 1.1rem;
	margin: 0.8rem 0 0.5rem;
}

h4 {
	font-size: 1rem;
}

a {	
	transition: var(--transition);
}

img {
	display: block;
	width: 100%;
	object-fit: cover;
}

p {
	margin: 15px 0;
}

.container__site {
	display: grid;
	grid-template-columns: 0.8fr 1fr 1.5fr 1.5fr 1.5fr 0.8fr;
	margin: 0 auto;
}

.alert__message {
	margin-left: 10px;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: yellow;
	font-size: 12px;
	height: 25px;
	width: 300px;
	border-radius: 5px;
	border: 1px solid var(--color-gray-700);
}

.success {
	background-color: var(--color-green-light);
}

.error {
	background-color: var(--color-red);
}

.nav-user {
	color: var(--color-primary);	
	font-size: 20px;
	font-weight: 700;
}

.popup-modal,
.modal,
.booking-modal,
.month-modal {

    position: fixed;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    display: none;
}

.popup-modal.is-open,
.modal.is-open,
.booking-modal.is-open,
.month-modal.is-open {

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* =====================Todo List - Later verwijderen!!! ========*/

/* =========================================
TODO PAGINA
========================================= */

.todo-page {
display: grid;
grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr);
grid-template-rows: auto minmax(0, 1fr);
height: 100%;
padding: 20px;
}

.todo-test-right-panel { grid-column: 2; grid-row: 1 / -1; align-self: start; display: grid; gap: 10px; padding: 15px; border: 1px solid #d7e4dc; border-radius: 10px; background: #f5faf6; }
.todo-test-right-panel h3, .todo-test-right-panel p { margin: 0; }
.todo-test-right-panel h3 { color: var(--color-primary); font-size: 1rem; }
.todo-test-right-panel p, .todo-test-right-panel small { color: #5b6a62; font-size: .84rem; line-height: 1.45; }
.todo-test-right-panel form { display: grid; gap: 9px; }
.todo-test-right-panel select { width: 100%; padding: 8px 9px; border: 1px solid #b9cec0; border-radius: 6px; background: #fff; font: inherit; }
.todo-test-right-panel .button_form_small { justify-self: start; }

@media (max-width: 860px) {
    .todo-page { grid-template-columns: 1fr; height: auto; }
    .todo-header, .todo-list, .todo-test-right-panel { grid-column: 1; }
    .todo-test-right-panel { grid-row: auto; }
    .todo-list { min-height: 280px; }
}

/* =========================================
HEADER
========================================= */

.todo-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
grid-column: 1;
grid-row: 1;
}

.todo-header h2 {
margin: 0;
font-size: 24px;
color: var(--color-primary);
}

.todo-actions {
display: flex;
gap: 10px;
}

/* =========================================
FILTERS
========================================= */

.todo-filters {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin: 20px 0;
}

.todo-filter {
border: 1px solid #ddd;
background: #fff;
border-radius: 6px;
padding: 6px 12px;
cursor: pointer;
}

.todo-filter.active {
background: var(--color-primary);
color: white;
border-color: var(--color-primary);
}

/* =========================================
LIJST
========================================= */

.todo-list {
display: flex;
flex-direction: column;
gap: 12px;
grid-column: 1;
grid-row: 2;
min-height: 0;
overflow-y: auto;

padding-right: 10px;

}

/* =========================================
TODO ITEM
========================================= */

.todo-item {
background: #fff;
border: 1px solid #e3e3e3;
border-left: 5px solid var(--color-primary);

border-radius: 8px;

padding: 12px 15px;

transition: all 0.2s ease;

}

.todo-item:hover {
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.todo-item-top {
display: flex;
justify-content: space-between;
align-items: center;
}

.todo-item-top label {
display: flex;
align-items: center;
gap: 10px;

font-weight: 600;
cursor: pointer;

}

.todo-item-top input[type="checkbox"] {
transform: scale(1.2);
}

.todo-description {
margin-top: 8px;
margin-left: 30px;

color: #666;
font-size: 0.95rem;
line-height: 1.4;

}

/* =========================================
ACTIES
========================================= */

.todo-item-actions {
display: flex;
gap: 6px;
}

.todo-edit,
.todo-delete {
border: none;
background: transparent;

width: 32px;
height: 32px;

cursor: pointer;
border-radius: 6px;

}

.todo-edit:hover,
.todo-delete:hover {
background: #f3f3f3;
}

/* =========================================
GEREED
========================================= */

.todo-item.done {
opacity: 0.65;
border-left-color: #4caf50;
}

.todo-item.done label {
text-decoration: line-through;
}

/* =========================================
PRIORITEITEN
========================================= */

.todo-item.high {
border-left-color: #e53935;
}

.todo-item.medium {
border-left-color: #fb8c00;
}

.todo-item.low {
border-left-color: #43a047;
}

.todo-item {

    padding: 10px;

    border: 1px solid #ddd;

    border-radius: 6px;

    margin-bottom: 8px;
}

.todo-item label {

    display: flex;

    align-items: center;

    gap: 10px;

    cursor: pointer;
}

.todo-item input {

    transform: scale(1.2);
}

.todo-row {

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.todo-actions {

    display: flex;

    gap: 8px;
}

.todo-edit,
.todo-delete {

    border: none;

    background: transparent;

    cursor: pointer;

    font-size: 16px;
}

.todo-edit:hover,
.todo-delete:hover {

    transform: scale(1.15);
}

.todo-title {

    margin-left: 8px;
}

