﻿body {
}

.hidden {
    display: none; /* "hidden" in CSS is eigenlijk display:none */
}

.nowrap {
    white-space: nowrap;
}

.embedded-container {
    width: 100%; /* volle breedte */
    max-width: none; /* geen fixed width */
    margin-left: 0; /* links uitlijnen */
    margin-right: 0;
    padding-left: 0; /* optioneel: verwijder padding */
    padding-right: 0;
}

.embedded-container .row {
    margin-left: 0 !important; /* verwijder row-margin */
    margin-right: 0 !important;
}

.embedded-container .col,
.embedded-container [class*="col-"] {
    float: left !important; /* forceer links uitlijnen */
    padding-left: 0 !important; /* verwijder kolom-padding */
    padding-right: 0 !important;
}

/* Wrapper used to position the calendar icon inside the input */
.monthpicker-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* The visible Flatpickr alt-input field (generated automatically) */
.monthpicker-input {
    width: 19ch !important;       /* Fixed compact width */
    display: inline-block;
    padding: .375rem .75rem;
    padding-right: 2rem;          /* Extra space for the icon */
    border: 1px solid #ced4da;
    border-radius: .375rem;
    font-size: 1rem;
}

/* The calendar icon positioned inside the right side of the input */
.monthpicker-icon {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer; /* Makes it clickable */
    font-size: 1.1rem;
    pointer-events: auto;
    z-index: 10; /* Ensure it's above the input */
}

/* Hover effect for the icon */
.monthpicker-icon:hover {
    color: #343a40;
}
