
.date-selector-component {
	display: flex;
	gap: 10px;
	align-items: center;
}

details > summary {
	list-style: none;
}
details > summary::-webkit-details-marker {
	display: none;
}

.btn-selector {
	display: flex;            
	align-items: center;
	justify-content: space-between;
	gap: 10px;                
	min-width: 120px;          
	padding: 8px 12px;
	border: 1px solid #ccc;
	background-color: #fff;
	border-radius: 4px;
	cursor: pointer;
	user-select: none;
	font-weight: 500;
	color: #333;
}

.btn-selector::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 2px solid #666;
	border-bottom: 2px solid #666;
	transform: rotate(45deg);     
	transition: transform 0.2s ease; 
	margin-top: -2px;
}


details[open] .btn-selector::after {
	transform: rotate(-135deg); 
	margin-top: 2px;
}


.btn-selector.disabled {
	background-color: #f5f5f5;
	color: #aaa;
	cursor: not-allowed;
	border-color: #e0e0e0;
}

.btn-selector.disabled::after {
	display: none;
}


details { position: relative; }

.dropdown-menu {
	position: absolute;
	top: 105%;
	left: 0;
	width: 100%; 
	min-width: 120px;
	z-index: 100;
	background: white;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	list-style: none;
	padding: 5px 0;
	margin: 0;
	max-height: 300px;
	overflow-y: auto;
}