/* ── ASTRALIS LUXURY DATE & TIME PICKER STYLES ─────────────────────────── */

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
	display: none !important;
	-webkit-appearance: none !important;
}

.astralis-picker-popover {
	position: absolute;
	z-index: 999999;
	width: 320px;
	max-width: calc(100vw - 24px);
	background: #090e1a;
	border: 1px solid rgba(245, 158, 11, 0.35);
	border-radius: 18px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 158, 11, 0.15);
	backdrop-filter: blur(16px);
	padding: 16px;
	color: #f1f5f9;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	animation: astralisPickerFadeIn 0.16s cubic-bezier(0.16, 1, 0.3, 1);
	user-select: none;
}

@keyframes astralisPickerFadeIn {
	from {
		opacity: 0;
		transform: translateY(-6px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.astralis-picker-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.astralis-picker-nav-btn {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #94a3b8;
	cursor: pointer;
	transition: all 0.15s ease;
	font-size: 13px;
	flex-shrink: 0;
}
.astralis-picker-nav-btn:hover {
	background: rgba(245, 158, 11, 0.15);
	border-color: rgba(245, 158, 11, 0.35);
	color: #fbbf24;
}

.astralis-picker-selectors {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
	justify-content: center;
}

.astralis-picker-select {
	background: #0f172a;
	color: #f8fafc;
	border: 1px solid rgba(245, 158, 11, 0.25);
	border-radius: 8px;
	padding: 5px 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	outline: none;
	transition: border-color 0.15s ease;
}
.astralis-picker-select:hover,
.astralis-picker-select:focus {
	border-color: #f59e0b;
}

.astralis-picker-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
	margin-bottom: 6px;
}
.astralis-picker-weekday {
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	padding: 4px 0;
}
.astralis-picker-weekday.weekend {
	color: #f43f5e;
}

.astralis-picker-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.astralis-picker-day {
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	font-size: 12px;
	font-weight: 500;
	color: #e2e8f0;
	cursor: pointer;
	transition: all 0.12s ease;
	border: 1px solid transparent;
}
.astralis-picker-day:hover {
	background: rgba(245, 158, 11, 0.18);
	color: #fbbf24;
	border-color: rgba(245, 158, 11, 0.35);
}
.astralis-picker-day.other-month {
	color: #475569;
}
.astralis-picker-day.today {
	border-color: #f59e0b;
}
.astralis-picker-day.selected {
	background: linear-gradient(135deg, #f59e0b, #d97706) !important;
	color: #0f172a !important;
	font-weight: 700 !important;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
	border-color: transparent !important;
}

.astralis-picker-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.astralis-picker-footer-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #94a3b8;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease;
}
.astralis-picker-footer-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #f8fafc;
	border-color: rgba(255, 255, 255, 0.2);
}
.astralis-picker-footer-btn.done-btn {
	background: #f59e0b;
	border-color: #d97706;
	color: #0f172a;
	font-weight: 700;
}
.astralis-picker-footer-btn.done-btn:hover {
	background: #fbbf24;
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

/* Time Picker Specific */
.astralis-time-header {
	font-size: 13px;
	font-weight: 600;
	color: #cbd5e1;
	text-align: center;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.astralis-time-presets {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
	margin-bottom: 12px;
}

.astralis-time-preset-btn {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 6px 8px;
	font-size: 11px;
	color: #94a3b8;
	cursor: pointer;
	text-align: center;
	transition: all 0.15s ease;
}
.astralis-time-preset-btn:hover {
	background: rgba(245, 158, 11, 0.12);
	border-color: rgba(245, 158, 11, 0.3);
	color: #fbbf24;
}

.astralis-time-cols {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 12px;
}

.astralis-time-col {
	flex: 1;
	text-align: center;
}

.astralis-time-col-title {
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.astralis-time-scroll {
	height: 140px;
	overflow-y: auto;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.3);
	padding: 4px;
	scrollbar-width: thin;
	scrollbar-color: rgba(245, 158, 11, 0.3) transparent;
}
.astralis-time-scroll::-webkit-scrollbar {
	width: 4px;
}
.astralis-time-scroll::-webkit-scrollbar-thumb {
	background: rgba(245, 158, 11, 0.3);
	border-radius: 4px;
}

.astralis-time-cell {
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	color: #94a3b8;
	cursor: pointer;
	transition: all 0.12s ease;
}
.astralis-time-cell:hover {
	background: rgba(245, 158, 11, 0.15);
	color: #fbbf24;
}
.astralis-time-cell.selected {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #0f172a;
	font-weight: 700;
}
