/* Homelab Quotes & Proverbs Styles - High-Contrast Light Mode */

.quotes-page-header {
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #e2e8f0;
}

.quotes-page-title {
	font-size: 2.2rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
	color: #002d5a;
}

.quotes-page-subtitle {
	font-size: 1.05rem;
	color: #475569;
	max-width: 760px;
	line-height: 1.6;
	margin: 0;
}

/* Featured / Random Proverb Card */
.featured-proverb-card {
	background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 50%, #f5f3ff 100%);
	border: 1px solid #bfdbfe;
	border-radius: 1rem;
	padding: 1.75rem 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
	position: relative;
	overflow: hidden;
}

.featured-proverb-card::before {
	content: "“";
	position: absolute;
	right: 1.5rem;
	bottom: -2.5rem;
	font-size: 10rem;
	font-family: Georgia, serif;
	color: rgba(37, 99, 235, 0.06);
	line-height: 1;
	pointer-events: none;
	user-select: none;
}

.featured-proverb-badge {
	display: flex;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.25rem 0.65rem;
	border-radius: 9999px;
	background: #dbeafe;
	color: #1e40af;
	border: 1px solid #93c5fd;
	margin-bottom: 1rem;
}

.featured-quote-text {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.45;
	color: #0f172a;
	margin: 0 0 0.85rem 0;
	font-style: italic;
}

.featured-quote-context {
	font-size: 0.98rem;
	color: #334155;
	line-height: 1.55;
	margin: 0 0 1.25rem 0;
}

.featured-proverb-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #cbd5e1;
}

.featured-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.proverb-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: #0284c7;
	color: #ffffff;
	border: 1px solid #0369a1;
	padding: 0.55rem 1.1rem;
	border-radius: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.proverb-btn:hover {
	background: #0369a1;
	transform: translateY(-1px);
}

.proverb-btn-secondary {
	background: #ffffff;
	color: #1e293b;
	border: 1px solid #cbd5e1;
}

.proverb-btn-secondary:hover {
	background: #f1f5f9;
	color: #0f172a;
	border-color: #94a3b8;
}

.proverb-project-link {
	font-size: 0.9rem;
	font-weight: 600;
	color: #0056b3;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.proverb-project-link:hover {
	text-decoration: underline;
	color: #003d82;
}

/* Category Filter Bar */
.quotes-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.quotes-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.quotes-count-badge {
	font-size: 0.88rem;
	color: #64748b;
	font-weight: 500;
}

/* Quotes Grid */
.quotes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.25rem;
	margin-bottom: 3rem;
}

.quote-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.85rem;
	padding: 1.4rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quote-card:hover {
	transform: translateY(-2px);
	border-color: #3b82f6;
	box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

.quote-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.85rem;
}

.quote-category-tag {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.22rem 0.6rem;
	border-radius: 0.4rem;
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.quote-card-body blockquote {
	margin: 0 0 0.75rem 0;
	padding: 0;
	border: none;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0f172a;
	font-style: italic;
}

.quote-card-context {
	font-size: 0.9rem;
	color: #475569;
	line-height: 1.5;
	margin: 0 0 1rem 0;
}

.quote-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid #f1f5f9;
	margin-top: auto;
}

.quote-card-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: #0284c7;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.quote-card-link:hover {
	text-decoration: underline;
	color: #0369a1;
}

.quote-copy-btn {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #64748b;
	cursor: pointer;
	padding: 0.35rem 0.5rem;
	border-radius: 0.4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.quote-copy-btn:hover {
	color: #0f172a;
	background: #f1f5f9;
	border-color: #cbd5e1;
}

.quote-copy-btn.copied {
	color: #059669;
	background: #ecfdf5;
	border-color: #10b981;
}

/* Toast message for copy */
.quote-toast {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background: #0f172a;
	color: #ffffff;
	padding: 0.7rem 1.25rem;
	border-radius: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
	z-index: 9999;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.2s ease;
	pointer-events: none;
}

.quote-toast.show {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 600px) {
	.quote-toast {
		left: 50%;
		right: auto;
		transform: translateX(-50%) translateY(10px);
		width: max-content;
		max-width: 90vw;
	}
	.quote-toast.show {
		transform: translateX(-50%) translateY(0);
	}
}

/* Homelab Quotes Attribution Banner */
/* Attribution Banner */
.quotes-attribution-banner {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #0284c7;
	border-radius: 0.5rem;
	padding: 0.85rem 1.15rem;
	margin-top: 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.attribution-badge {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #0369a1;
}

.attribution-text {
	font-size: 0.92rem;
	color: #475569;
	line-height: 1.55;
	margin: 0;
}
