/* InoTime - accessible time picker (matches ino-drp popup language) */

.ino-time-disp {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6.5' stroke='%236b7280' stroke-width='1.4'/%3E%3Cpath d='M8 4.5V8l2.5 1.5' stroke='%236b7280' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	padding-right: 2.2rem !important;
}
.ino-time-disp:focus-visible {
	outline: none;
	border-color: #222;
	box-shadow: 0 0 0 3px rgba(34, 34, 34, .12);
}
[data-bs-theme="dark"] .ino-time-disp {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6.5' stroke='%23b0b3b8' stroke-width='1.4'/%3E%3Cpath d='M8 4.5V8l2.5 1.5' stroke='%23b0b3b8' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ino-time-pop {
	position: absolute;
	z-index: 9999;
	max-height: 216px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, .16), 0 2px 8px rgba(15, 23, 42, .08);
	padding: 4px;
	font-size: .9rem;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}
.ino-time-opt {
	padding: 7px 12px;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	outline: none;
}
.ino-time-opt:hover,
.ino-time-opt:focus {
	background: #f1f5f9;
}
.ino-time-opt[aria-selected="true"] {
	background: #e0e7ff;
	font-weight: 600;
}
.ino-time-opt[aria-selected="true"]:focus {
	background: #c7d2fe;
}

[data-bs-theme="dark"] .ino-time-pop {
	background: #242526;
	border-color: #3e4042;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
	color: #e4e6eb;
}
[data-bs-theme="dark"] .ino-time-opt:hover,
[data-bs-theme="dark"] .ino-time-opt:focus {
	background: #3a3b3c;
}
[data-bs-theme="dark"] .ino-time-opt[aria-selected="true"] {
	background: #1e3a8a;
	color: #dbeafe;
}
[data-bs-theme="dark"] .ino-time-opt[aria-selected="true"]:focus {
	background: #1d4ed8;
}
