/*
 * KZL kDFU — universal.css
 * Dựa trên /css/webkit/universal.css của trang tham khảo jjr.one/kdfu.
 * Giữ nguyên toàn bộ class gốc (card, header-card, subtitle, author,
 * version-badge, button-wrapper, button, kdfu-btn, info-text,
 * cert-link, downgrade-link, changelog-card) để không lệch cấu trúc.
 * Chỉ thay màu sắc / thêm phần thương hiệu KZL và trạng thái.
 */

body {
	font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", sans-serif;
	background-color: #efeff4;
	color: #333;
	margin: 0;
	padding: 15px;
	line-height: 1.4;
	-webkit-text-size-adjust: 100%;
}
.card {
	background-color: #fff;
	border-radius: 12px;
	margin-bottom: 20px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	border: 1px solid #d1d1d6;
}
.header-card {
	text-align: center;
	background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
}
h1 {
	font-size: 32px;
	font-weight: 300;
	margin: 10px 0 5px;
	color: #000;
}
.subtitle {
	font-size: 14px;
	color: #8e8e93;
	margin-bottom: 10px;
}
.author {
	font-size: 13px;
	color: #aeaeb2;
	margin-bottom: 15px;
}
.version-badge {
	display: inline-block;
	background-color: #f2f2f7;
	color: #555;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: 13px;
	font-weight: 600;
}
.button-wrapper {
	padding: 12px 0;
}
.button {
	background-color: #007AFF;
	border: none;
	color: #fff;
	padding: 16px 0;
	width: 100%;
	text-align: center;
	font-size: 18px;
	font-weight: 500;
	border-radius: 12px;
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	transition: background-color 0.2s;
}
.button:active {
	background-color: #0051a8;
}
.button:disabled {
	background-color: #aeaeb2;
	cursor: not-allowed;
}
.info-text {
	display: block;
	margin-top: 15px;
	color: #8e8e93;
	font-size: 13px;
}
.cert-link, .downgrade-link {
	display: block;
	margin-top: 15px;
	color: #007AFF;
	text-decoration: none;
	font-size: 14px;
}
.changelog-card h2 {
	font-size: 17px;
	margin-top: 0;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	color: #000;
}
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
li {
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f2;
	font-size: 14px;
}
li:last-child {
	border-bottom: none;
}
.commit-hash {
	font-family: Menlo, Monaco, Consolas, monospace;
	background: #f4f4f4;
	padding: 2px 5px;
	border-radius: 4px;
	font-size: 12px;
	margin-right: 5px;
	color: #d10069;
}
.commit-date {
	display: block;
	font-size: 11px;
	color: #aeaeb2;
	margin-top: 4px;
}
/* KDFU */
.kdfu-btn {
	background-color: #5856d6;
}
.kdfu-btn:active {
	background-color: #4342ad;
}

/* ---- KZL branding ---- */
.brand-row {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.brand-badge {
	display: inline-block;
	background: linear-gradient(135deg, #5856d6 0%, #7b68ee 100%);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 4px 12px;
	border-radius: 15px;
}
.lang-btn {
	background-color: #f2f2f7;
	border: 1px solid #d1d1d6;
	color: #5856d6;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 15px;
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.lang-btn:active {
	background-color: #e5e5ea;
}
.action-card {
	text-align: center;
}
.status-box {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	background-color: #f2f2f7;
	border-radius: 10px;
	padding: 10px 12px;
	margin-bottom: 4px;
	font-size: 14px;
	color: #555;
}
.status-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 8px;
	background-color: #aeaeb2;
}
.status-dot.dot-ok {
	background-color: #34c759;
}
.status-dot.dot-no {
	background-color: #ff3b30;
}
.credits .credit-name {
	font-weight: 600;
	color: #1c1c1e;
}
.notice {
	margin-top: 15px;
	padding: 10px 12px;
	background-color: #fff6e5;
	border: 1px solid #ffe0b2;
	border-radius: 10px;
	color: #8a5a00;
	font-size: 13px;
}
ol.steps {
	list-style: decimal;
	padding-left: 20px;
	margin: 0;
}
ol.steps li {
	padding: 8px 0;
	border-bottom: none;
	font-size: 14px;
}
