/* Original CSS (unchanged) */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f9f9f9;
}
p {
    font-size: 1em;
    line-height: 140%;
}
a:link {color:green;text-decoration:none;}
.calendar-container {
    max-width: 100%;
    max-height: 800px;
    padding: 8px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media(max-width: 600px){
    .calendar-container {
        max-width: 344px;
        margin-left:-1px;
        padding: 5px;
    }
}
.cart {
    /*border: 1px solid #ccc;*/
    padding: 1px; 
    border-radius: 5px; 
    background-color: #f9f9f9; 
    max-width: 350px; 
    margin-bottom: 10px;
    overflow: auto;
    max-height:620px;
}
.cartitem {
    /*border-bottom: 1px solid #333;*/
    padding: 8px;
    background-color: #fefefe;
    margin-bottom:8px;
    border-radius:2px;
    color:#222;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19);
}
.reservation {
    /*border-bottom: 1px solid #333;*/
    padding: 8px;
    padding-bottom:1px;
    background-color: #fefefe;
    margin-bottom:8px;
    border-radius:2px;
    color:#222;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19);
}
.cartitem p {
    font-size: 0.8em;
    line-height: 100%;
    margin-top:4px;
}
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.calendar-controls select {
    padding: 5px;
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.day {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 75px;
    width: 44px;
    border-radius: 5px;
    position: relative;
    padding-top: 2px;
    cursor: pointer;
}
.day-name {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: -2px;
}
.day-number {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin-bottom: -1px;
}
.available {
    background-color: lightgreen;
}
.unavailable {
    background-color: lightgrey;
}
.circle-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    margin-top: 1px;
}
/* Circle */
.circle {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
}
#profielbtn, #profielbtn a {
	float:right;
	border-radius:3px;
    background-color:#D07916;
    color:#fff;
    font-size:12px;
    padding:2px;
    margin-top:-20px;
	}
/* Triangle */
.triangle {
    width: 10px !important;
    height: 10px !important;
    border-radius:10px 0px 10px 0px;
}
.triangle2 {
    width: 10px !important;
    height: 10px !important;
    border-radius:0px 7px 0px 7px;
}
/* Rectangle */
.rectangle {
    width: 10px !important;
    height: 10px !important;
    border-radius: 2px 2px 2px 2px;
}

/* Colors */
.red {
    background-color: red;
}

.green {
    background-color: green;
}

.orange {
    background-color: orange;
}

.purple {
    background-color: #D924A3;
}
.time-slots {
    margin-top: 20px;
    padding: 10px;
    background-color: #D4FFD4;
    border-radius: 5px;
    display: block; /* Always visible */
}
.time-slot {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.time-slot .circle, .time-slot .triangle, .time-slot .rectangle, .time-slot .triangle2,{
    margin-right: 10px;
}
#time-slots-heading {
	margin-top:2px;
}
#time-slot-list p {
	margin-top : 0px;
	margin-bottom : 0px;
}
.form-container {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container.active {
    display: block;
    max-width: 300px;
}

.form-container label {
    display: block;
    margin-bottom: 10px;
}
input[type="radio"] {margin-top:10px;}
.form-container input[type="text"],
.form-container input[type="password"],
.form-container select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-container button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.afrekenbutton {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.cancelbutton {
    padding: 10px 20px;
    background-color: #DC3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;        
}
.meerbutton {
    padding: 10px 20px;
    background-color: #d07916;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;        
}
.form-container button:hover {
    background-color: #45a049;
}
.form-container h3 {
    margin-top:2px;
    margin-bottom:2px;
}
.login-container {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container.active {
    display: block;
}
/* Modal overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears on top */
}

/* Form container inside the modal */
.modal-overlay .form-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    width: 100%;
    text-align: center;
}
.modal-overlay .form-container p, .modal-overlay .form-container h4 {
    text-align: left;
}
.modal-overlay .form-container  h4 {
    font-size:1.3em; 
    margin-bottom:6px;
    color: #d07916;
    font-size: 1.3rem;
}
.modal-overlay .form-container  p {
    margin-top:0px;
    margin-bottom:3px;
    color:#666;
}
.form-container input {max-width:90%;}
.slotselect {
    border-radius:5px;
    border:1px solid #888;
    background-color: #45A049;
    margin-left:94px;
    padding:4px 40px 4px 40px;
    Margin-top:0px;
    Margin-bottom:-2px;
    color: #fff;
}
.slotselect:hover {background-color: #257A25;}
button.slotselect.red {display:none;}
button.slotselect.orange {display:none;}
/* Close button for the modal */
.modal-overlay .close-button {
    float:right;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color:#222;
    padding:5px;
    margin-top:-5px;
    margin-right:-5px;
}
.close-button {color:#222;}
/* Ensure the form and login containers are hidden by default */
#guest-form,
#login-form {
    display: none;
}

/* Registration Form Specific Styles */
/* REGISTRATION FORM SPECIFIC STYLES */
body.register-page {
    padding: 10px;
    width: 340px;
    height: auto;
    margin: 0;
    background-color: #f9f9f9;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
}

.register-form {
    width: 96%;
    margin: 0;
    padding: 5px;
}

.register-form .form-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: flex-end;
}

.register-form .form-group {
    margin-bottom: 0;
    flex: 1;
}

.register-form .form-group.small {
    width: 60px;
    flex: none;
}

.register-form .form-group.xsmall {
    width: 40px;
    flex: none;
}

.register-form label {
    display: block;
    margin-bottom: 2px;
    margin-top: 4px;
    font-weight: bold;
    font-size: 14px;
}

.register-form input[type="text"],
.register-form input[type="password"],
.register-form input[type="email"],
.register-form input[type="tel"],
.register-form input[type="number"] {
    width: 100%;
    padding: 5px;
    border: 1px solid #999;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 14px;
}

/* Specific inline field groups */
.name-fields {
    display: flex;
    gap: 8px;
}

.address-line-1 {
    display: flex;
    gap: 8px;
}

.address-line-2 {
    display: flex;
    gap: 8px;
}

/* Checkbox styles */
.register-form .checkbox-group {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.register-form .checkbox-group input {
    margin: 0 5px 0 0;
}

/* Button styles */
.register-form button[type="submit"] {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
}

/* Error messages */
.register-form .error {
    color: #d00;
    font-size: 10px;
    margin-top: 2px;
    display: block;
}