/*
 * HP Panel — Clinical Sanctuary Design
 * Custom overrides on top of Tailwind CDN
 */

/* ── Fonts ──────────────────────────────────────────────────────── */
.font-display, .font-headline {
	font-family: 'Manrope', sans-serif;
}

/* ── Glass effect ───────────────────────────────────────────────── */
.glass-effect {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

/* ── Material Symbols ───────────────────────────────────────────── */
.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	font-family: 'Material Symbols Outlined';
	font-style: normal;
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
}
.material-symbols-outlined.filled {
	font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Sidebar scrollbar ──────────────────────────────────────────── */
aside::-webkit-scrollbar {
	width: 4px;
}
aside::-webkit-scrollbar-thumb {
	background: rgba(0,104,118,0.2);
	border-radius: 2px;
}

/* ── Progress ring animation ────────────────────────────────────── */
.hp-ring-progress {
	transition: stroke-dashoffset 1s ease;
}

/* ── Alert badges ───────────────────────────────────────────────── */
.hp-panel-alert {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1.25rem;
	border-radius: 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
}
.hp-panel-alert--warning {
	background: #fff8e7;
	color: #8f4e00;
}
.hp-panel-alert--success {
	background: #e6f7ec;
	color: #1a6b3a;
}
.hp-panel-alert--error {
	background: #ffdad6;
	color: #ba1a1a;
}

/* ── Custom scrollbar for main content ─────────────────────────── */
.hp-panel-main::-webkit-scrollbar {
	width: 6px;
}
.hp-panel-main::-webkit-scrollbar-track {
	background: transparent;
}
.hp-panel-main::-webkit-scrollbar-thumb {
	background: rgba(0,104,118,0.15);
	border-radius: 3px;
}

/* ── Mobile nav active state ────────────────────────────────────── */
.hp-nav-mobile-link.active {
	color: #006876;
}
.hp-nav-mobile-link.active span.material-symbols-outlined {
	font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Appointment card background decorative element ─────────────── */
.hp-appt-card-bg-icon {
	font-size: 7.5rem;
	line-height: 1;
}

/* ── Search input — reset ───────────────────────────────────────── */
.hp-search-input {
	background: transparent;
	border: none;
	outline: none;
	box-shadow: none;
	font-size: 0.875rem;
	width: 100%;
	color: #171d1e;
}
.hp-search-input::placeholder {
	color: #6d797c;
}
.hp-search-input:focus {
	outline: none;
	box-shadow: none;
}

/* ── Tooltip on disabled action buttons ─────────────────────────── */
[data-coming-soon]:hover::after {
	content: 'Wkrótce dostępne';
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: #171d1e;
	color: #fff;
	font-size: 0.7rem;
	padding: 0.25rem 0.625rem;
	border-radius: 0.5rem;
	white-space: nowrap;
	pointer-events: none;
	z-index: 50;
}
[data-coming-soon] {
	position: relative;
}

/* ── Password strength meter (settings page) ───────────── */
.hp-pwd-strength {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-top: .5rem;
}
.hp-pwd-strength__track {
	flex: 1;
	min-width: 0;
	height: 4px;
	border-radius: 9999px;
	background: #e4e9ea;
	overflow: hidden;
}
.hp-pwd-strength__bar {
	height: 100%;
	width: 0;
	border-radius: 9999px;
	background: #006876;
	transition: width .3s, background .3s;
}
.hp-pwd-strength__label {
	flex-shrink: 0;
	min-width: 5.5rem;
	font-size: .75rem;
	color: #3d494c;
	white-space: nowrap;
}
