/**
 * [kutuphanem] — inc/esmer-kullanici-kutuphanesi.php
 */

.esmer-empty-state {
	text-align: center;
	padding: 100px 20px;
	background: #f9f9f9;
	border-radius: 20px;
	font-family: var(--esmer-font-body);
}

.esmer-empty-state h3 {
	margin: 0;
	font-family: var(--esmer-font-display);
}

.user-library-container {
	font-family: var(--esmer-font-body);
	max-width: 1100px;
	margin: 0 auto;
}

.lib-panel-hero {
	background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
	color: #fff;
	border-radius: 16px;
	padding: 28px 32px;
	margin-bottom: 28px;
	text-align: center;
}

.lib-panel-hero__kicker {
	margin: 0 0 6px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	opacity: 0.75;
}

.lib-panel-hero__title {
	margin: 0 0 18px;
	font-family: var(--esmer-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 900;
}

.lib-panel-hero__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lib-panel-hero__num {
	display: block;
	font-size: 1.75rem;
	font-weight: 900;
	color: var(--esmer-gold, #ffba00);
	line-height: 1.1;
}

.lib-panel-hero__lbl {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.85;
}

.user-library-container--panel .lib-media-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
	justify-content: center;
}

.lib-media-tab {
	border: 2px solid var(--esmer-border);
	background: #fff;
	padding: 10px 22px;
	border-radius: 50px;
	font-family: var(--esmer-font-ui);
	font-size: 0.8rem;
	font-weight: 800;
	cursor: pointer;
}

.lib-media-tab.active {
	background: var(--esmer-ink);
	color: #fff;
	border-color: var(--esmer-ink);
}

.lib-panel {
	display: none;
}

.lib-panel.is-active {
	display: block;
}

.lib-panel-empty {
	text-align: center;
	color: #888;
	padding: 40px 20px;
	font-family: var(--esmer-font-body);
}

.lib-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
	justify-content: center;
}

.lib-tab {
	border: 2px solid #eee;
	background: #fff;
	padding: 10px 20px;
	border-radius: 50px;
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
	transition: 0.3s;
	font-family: var(--esmer-font-ui);
}

.lib-tab.active {
	background: #111;
	color: #fff;
	border-color: #111;
}

.library-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 25px;
}

.lib-card-item {
	transition: opacity 0.3s, transform 0.3s;
}

.lib-card-inner {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #eee;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.lib-cover-box {
	position: relative;
}

.lib-cover-img {
	width: 100%;
	height: auto;
	display: block;
}

.lib-status-tag {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 9px;
	font-weight: 800;
	padding: 4px 8px;
	border-radius: 4px;
	font-family: var(--esmer-font-ui);
}

.lib-status-tag.tag-okudum {
	background: #4caf50;
	color: #fff;
}

.lib-status-tag.tag-okuyorum {
	background: #2196f3;
	color: #fff;
}

.lib-status-tag.tag-okuyacagim {
	background: #ffba00;
	color: #111;
}

.lib-status-tag.tag-izledim {
	background: #4caf50;
	color: #fff;
}

.lib-status-tag.tag-izliyorum {
	background: #2196f3;
	color: #fff;
}

.lib-status-tag.tag-izleyecegim {
	background: #9c27b0;
	color: #fff;
}

.lib-info {
	padding: 15px;
}

.lib-info h4 {
	margin: 0;
	font-size: 14px;
	font-family: var(--esmer-font-display);
}
