
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.form-field-group {
    margin-bottom: 15px;
}

.mail-subject-label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333333;
}

.mail-subject-input:not(.popup-field) {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 6px;
}

.qr-link-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.qr-link-card {
    flex: 1 1 320px;
    min-width: 280px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 16px 36px -28px rgba(0, 0, 0, 0.35);
}

.qr-link-card__header h2 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: #0d1a3a;
}

.qr-link-card__header p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.qr-link-field {
    margin-top: 12px;
}

.qr-link-field label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

.qr-link-input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qr-link-input {
    flex: 1 1 240px;
    min-width: 220px;
}

.qr-link-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.qr-link-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qr-link-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    padding: 10px;
}

.formulieren-reservering {
    position: relative; 
    width: 1000px;
    top: 20px;
    margin: auto;
}
.row-reservering {
    position: relative;
    width: 100%;
    height: 24px;
    font-size: 18px;
    line-height: 24px;
    cursor: pointer;
    border-bottom: 1px solid #e6e6e6;
    box-sizing: border-box;
}
.row-reservering:hover {
    cursor: pointer;
    background-color: rgb(245, 245, 245);
}


#mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.568);
    display: none;
}
#popup {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 960px;
    max-height: 90vh; /* Laat de popup groeien, maar niet buiten het scherm */
    background-color: white;
    z-index: 20;
    padding: 20px;
    display: none;
    box-sizing: border-box;
    border-top: 1px #333 solid;
    flex-direction: column; /* Zorgt ervoor dat de content flexibel groeit */
}

/* Beperk alleen de content, zodat deze scrollt indien nodig */
#content-popup {
    flex-grow: 1; /* Laat de content de beschikbare ruimte innemen */
    overflow-y: auto; /* Alleen scrollen als de content te groot wordt */
    max-height: calc(90vh - 100px); /* Zorg ervoor dat content niet groter wordt dan de popup */
    box-sizing: border-box;
    font-size: 18px;
    color: gray;
}
#content-popup h2 {
    font-size: 18px;
    margin-top: 0 ;
    font-weight: normal;
    color: rgb(0, 77, 150);
}

#tabs-popup {
    position: absolute;
    top: -30px;    
    left: 0;
    width: 800px;
    height: 30px;
    display: flex;
    gap: 5px;
}

.tab {
    background: #e7e7e7;
    border-bottom: 1px #333 solid;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    padding: 0 16px;
    height: 30px;
    line-height: 30px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.tab:hover {
    background: #e0e0e0;
}

.tab.active {
    background: white;
    border-bottom: 2px solid white;
}

#close-popup {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    position: absolute;
    font-size: 64px;
    top: 0px;
    right: 10px;
    cursor: pointer;
    font-weight: 100;
    z-index: 20;
}
#title-popup {
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    font-size: 24px;
    color: rgb(0, 77, 150);
}
.title-form {
    margin-bottom: 20px ;
}
.title-form input {
    width: 100%;
    border: none;    
    outline: none;
    background-color: #FFF;
    font-size: 18px;
    padding: 4px 0;    
    box-sizing: border-box;
}

.used-fields {
    padding: 10px;
    background-color: #f9f9f9;
}
.box-used-field, .box-used-items {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px;
    border: 1px dotted #bbbbbb;
    margin-bottom: 5px;
    background-color: #f9f9f9;
    font-size: 16px;
}
.box-used-field label, .box-used-items label {
    margin-right: 10px;
    white-space: nowrap;
}
.box-fields-number {
    margin-bottom: 20px;
}
.box-fields-number input[type="number"] {
    margin-right: 10px;
    padding: 5px;
    flex: 1;
    width: 50px;
    border: none;    
    outline: none;
    font-size: 18px;
}
.box-used-field input[type="text"], .box-used-field select {
    margin-right: 10px;
    padding: 5px;
    flex: 1;
    min-width: 150px;
    border: none;    
    outline: none;  
}
.box-used-items input[type="text"], .box-used-items select {
    margin-right: 10px;
    padding: 5px;
    flex: 1;
    width: 600px;
    border: none;    
    outline: none;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.box-used-field input[type="text"],
.box-used-field input[type="number"],
.box-used-field select,
.box-used-items input[type="text"],
.box-used-items input[type="number"],
.box-used-items select {
    margin-right: 10px;
    padding: 6px 8px;
    flex: 1;
    width: 90px;
    border: 1px solid #cbd5e1;
    outline: none;
    background: #f8fafc;
    border-radius: 6px;
    box-sizing: border-box;
}
.box-used-field input[type="checkbox"], .box-used-items input[type="checkbox"] {
    margin-left: 10px;
}
#save-form {
    margin: 15px;
    padding: 6px 12px;
    font-size: 18px;
    border: none;
    background-color: rgb(6, 92, 163);
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
.row-add-input {
    position: relative;
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: flex-end; /* Elementen naar rechts uitlijnen */
    align-items: center; /* Verticaal centreren */
}

.btn-add-input, .btn-add-item {
    position: relative;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    background-color: rgb(0, 47, 118);
    color: #FFF;
    font-size: 16px;
    cursor: pointer;
}
.btn-add-input:hover, .btn-add-item:hover {
    background-color: rgba(0, 47, 118, 0.613);
}
.btn-del-input {
    /* wordt modern gestyled in index-modern.css; fallback hier neutraal laten */
    position: absolute;
    top: 8px;
    right: 6px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.calendar {
    margin: 50px auto 30px auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-collapse: collapse;
    zoom: 1.3;
}
.calendar caption, .datum-reservering {
    background-color: rgb(0, 77, 150);
    font-weight: bold;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;    
    text-align: center;
    box-sizing: border-box;
}
.calendar th {
    background-color: rgb(0, 77, 150);
    color: #ffffff;
    border: 1px solid rgb(0, 77, 150);
    font-size: 12px;
}
.calendar td {
    width: 32px;
    height: 32px;
    border: 1px solid #d8d8d8;
    text-align: center;
    vertical-align: middle;
    color: #727272;
    font-size: 12px;
    box-sizing: border-box;
}
.day:hover:not(.disabled) {
    background-color: #bcdfff;
    cursor: pointer;
}
.active {
    font-weight: bold;
    background-color: #d8ffe0;
}

.disabled {
    background-color: #f7f7f7 !important;
    color: #c4c4c4 !important;
    cursor: pointer;
}
.disabled:hover {
    background-color: #e6e5e5;
}
.calendar caption {
    position: relative;
    color: #ffffff; 
    font-size: 14px; 
    padding: 10px 0; 
}
.btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent; 
    color: #ffffff;
    border: none; 
    cursor: pointer; 
    font-size: 1.5em;
}
#prevMonth {
    left: 0px; 
}
#nextMonth {
    right: 0px; 
}

.code-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.code-container h2 {
    font-size: 16px !important;
    color: #0056b3;
}

.code-output {
    width: 100%;
    font-family: "Courier New", monospace;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    resize: none;
    overflow: hidden;
    box-sizing: border-box;
    line-height: 1.5;
    white-space: pre-wrap; 
    outline: none;
}

.copy-code, .save-mail {
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 14px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.copy-code:hover, .save-mail:hover {
    background: #0056b3;
}

.copy-message {
    display: block;
    margin-top: 5px;
    color: green;
    font-size: 14px;
    font-weight: bold;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
#bh-btn-reservation {
    width: 100%;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box;
    line-height: 1.5;
    white-space: pre-wrap; 
    outline: none;
    color: rgb(0, 77, 150);
}
.reserveringen-tabel {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.reserveringen-tabel th, 
.reserveringen-tabel td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.reserveringen-tabel th {
    background-color: #007acc;
    color: white;
}

.reserveringen-tabel td {
    background-color: #f9f9f9;
}

.reserveringen-tabel .sold-out {
    color: red;
    font-weight: bold;
}

.reserveringen-tabel .available {
    color: green;
    font-weight: bold;
}
.signups-on-date:hover td {
    background-color: #dfefff;
    cursor: pointer;
}

.reserveringen-tabel {
    width: 100%;
    border-collapse: collapse;
}

.reserveringen-tabel th, .reserveringen-tabel td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.unpaid-row td {
    background-color: #ffdddd !important; /* Lichtrood voor onbetaalde reserveringen */
}
.pending-row td {
    background-color: #fff9c4 !important; /* Lichtgeel */
}

.expandable-row {
    cursor: pointer;
}

.details-row {
    background-color: #f9f9f9;
    display: none;
}

.icon {
    cursor: pointer;
    margin-right: 10px;
}

.delete-icon {
    color: red;
}

.email-icon {
    color: blue;
}

.green-text {
    color: green;
    font-weight: bold;
}

.red-text {
    color: red;
    font-weight: bold;
}
.head-forms {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 10px 0;
}
.form-menu {
    position: absolute;
    top: 0;
    right: 0;
}
.form-menu-item {    
    display: inline;
    padding: 4px 8px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
}
.form-actions {
    position: absolute;
    right: 0;
    top: 0;
    cursor: default;
}
.active-form, .archive-form {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    background-image: url('../Images/archive.png');
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}
.delete-form {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    background-image: url('../Images/delete.png');
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}


.popup-buttons {
    margin-top: 20px;
}

.popup-buttons button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#popupConfirm {
    background: #007acc;
    color: white;
}

#popupCancel {
    background: #ccc;
    color: black;
}
#form-info {
    width: 100%;
    min-height: 50px;
    border: none;
    background-color: #FFF;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
}
.activatedrowreservation td {
    background-color: rgb(229, 255, 229) !important;
}  
.box-test-email {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}
.test-email {
    width: 75%;
    height: 40px;
    border: none;
    background-color: #FFF;
    float: left;
    outline: none;
    padding-left: 10px;     
    font-size: 14px;
}
.send-test-mail {
    width: 25%;
    height: 40px;
    background-color: #007bff;
    color: #fff;
    border: none;
    float: left;    
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.send-test-mail:hover {
    background-color: rgba(0, 47, 118, 0.613);;
}
.summary {    
    width: 20px;
    height: 20px;
    margin-left: 20px;
    background-image: url('../Images/summary.png');
    background-size: contain;
    cursor: pointer;
    display: inline-block;
}
.summary-popup {
    display: none;
    margin-top: 12px;
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 20px;
    max-width: 600px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

.summary-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.summary-list li:last-child {
    border-bottom: none;
}

.item-name {
    color: #444;
}

.item-qty {
    font-weight: bold;
    color: #007acc;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}
