#disponibilite-ui {
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1em;
}

.date-block, .period-block {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1em;
    margin-bottom: 1em;
    background: #f9f9f9;
}

.date-header, .period-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5em;
}

input[type="text"], input[type="time"], input[type="number"] {
    margin: 0.25em 0;
    padding: .4em .6em;
    width: 100%;
    box-sizing: border-box;
}

button.remove-date, button.remove-period {
    background: transparent;
    border: none;
    font-size: 1.2em;
    color: #cc0000;
    cursor: pointer;
}

button.add-period {
    margin-top: 0.5em;
}

.period-fields{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.period-fields>input{
    margin: 5px 10px;
}

.date-header-input{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date-header-input>input{
    max-width: 300px;
}

.add-period button{
    height: fit-content;
    width: fit-content;
    padding: 5px 25px;
}

.period-header{
    margin-right: 10px;
    margin-left: 10px;
}

.field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75em;
}

.field-group label {
    margin-bottom: 0.25em;
    font-weight: 600;
    font-size: 0.9em;
}

.period-fields .field-group{
    flex: 1;
    margin: 0px 10px;
}

/* ----------------- event_lieu_autocomplete  ---------------- */
.autocomplete-wrapper {
	position: relative;
	width: 100%;
}

.event_lieu_autocomplete {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.autocomplete_suggestions_list {
	display: none;
	position: absolute;
	min-width: 100%;
	width: max-content;
	left: 0;
	top: 40px;
	max-height: 300px;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 9999;
	padding: 5px 10px;
	background-color: #fff;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1),
				-4px 0 10px rgba(0, 0, 0, 0.05),
				4px 0 10px rgba(0, 0, 0, 0.05);
	
	white-space: pre;
	font-family: 'CocoSharpS", Sans-serif', monospace;
}

/* Suggestion items */
.autocomplete_suggestions_list > li {
	cursor: pointer;
	margin: 0;
	padding: 8px 20px;
	border-radius: 10px;
	white-space: pre;
}

.autocomplete_suggestions_list > li:hover {
	background-color: #f0f0f0;
}

.autocomplete-error-message {
	display: none;
	position: absolute;
	left: 0;
	color: #ff0000;
	font-size: 0.9em;
	margin: 5px 0 0;
}

/* ---------------------------------- */
