/*
	OnlineOdev Ders Bazli Basari & Rozet Sistemi (v7.0)
	eodev.com Tarzi 9 Seviyeli, Modern, Tasmasiz, Mobil Uyumlu Tasarim
*/

#oo-achievements-wrap,
#oo-achievements-wrap * {
	box-sizing: border-box;
}

#oo-achievements-wrap {
	width: 100%;
	max-width: 100%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;
	color: #0f172a;
}

.oo-ach-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid #e2e8f0;
}

.oo-ach-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.oo-ach-stat-item {
	text-align: center;
	min-width: 72px;
}
.oo-ach-stat-item span {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-bottom: 2px;
}
.oo-ach-stat-item strong {
	display: block;
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
}

.oo-ach-counter {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fefce8;
	border: 1px solid #fde047;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	color: #854d0e;
}

.oo-ach-body {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
}

.oo-ach-col-left {
	flex: 1 1 240px;
	min-width: 0;
}

.oo-ach-col-right {
	flex: 2 1 380px;
	min-width: 0;
}

.oo-ach-subhead {
	font-size: 14.5px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 10px;
}

.oo-mt-20 {
	margin-top: 22px;
}

.oo-unlocked-list {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.oo-unlocked-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #0f172a;
	font-size: 12.5px;
	font-weight: 700;
	padding: 7px 12px;
	border-radius: 8px;
}

.oo-chip-ico {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.oo-empty-box {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	padding: 12px;
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

.oo-prog-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.oo-prog-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 14px;
	transition: box-shadow 0.15s ease;
}
.oo-prog-card:hover {
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.oo-ns-hidden {
	display: none !important;
}

.oo-comp-card {
	background: #f8fafc;
	border-color: #dcfce7;
}
.oo-comp-icon {
	background: #dcfce7 !important;
	min-height: 46px !important;
}

.oo-prog-left {
	flex-shrink: 0;
}

.oo-prog-icon-box {
	width: 50px;
	min-height: 58px;
	background: #f1f5f9;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 6px 4px;
	gap: 4px;
}

.oo-prog-target-pill {
	background: #475569;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 1px 7px;
	border-radius: 999px;
	line-height: 1.4;
}

.oo-prog-mid {
	flex: 1;
	min-width: 0;
}

.oo-prog-top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 3px;
}

.oo-prog-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #0f172a;
}

.oo-prog-level {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #fefce8;
	border: 1px solid #fde047;
	color: #854d0e;
	font-size: 11.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
}
.oo-prog-level svg {
	width: 14px;
	height: 14px;
}
.oo-done-pill {
	background: #dcfce7 !important;
	border-color: #86efac !important;
	color: #166534 !important;
}

.oo-prog-desc {
	font-size: 12.5px;
	color: #475569;
	margin-bottom: 8px;
}

.oo-prog-bar-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.oo-prog-track {
	flex: 1;
	height: 8px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
}

.oo-prog-fill {
	height: 100%;
	background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
	border-radius: 999px;
	transition: width 0.3s ease;
}

.oo-prog-num {
	font-size: 12px;
	font-weight: 700;
	color: #475569;
	white-space: nowrap;
}

.oo-more-btn {
	margin-top: 10px;
	width: 100%;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	color: #1e293b;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 14px;
	border-radius: 8px;
	cursor: pointer;
}
.oo-more-btn:hover {
	background: #e2e8f0;
}

.oo-mini-rank {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 4px;
	vertical-align: middle;
	margin-left: 3px;
}

.oo-guest-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 14px;
	font-size: 13.5px;
	color: #1e3a8a;
}

.oo-guest-btn {
	background: #2563eb;
	color: #ffffff !important;
	padding: 6px 14px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 12.5px;
	text-decoration: none !important;
}

@media (max-width: 640px) {
	#oo-achievements-wrap {
		padding: 12px;
	}
	.oo-ach-stats {
		width: 100%;
		justify-content: space-around;
		gap: 8px;
	}
	.oo-ach-counter {
		width: 100%;
		justify-content: center;
	}
	.oo-prog-card {
		padding: 10px;
		gap: 10px;
	}
}
