/* Traffic engine — trang Nhiệm vụ (page-unlock) + Quảng cáo (advertiser). */

/* ===== Thông báo ===== */
.wallet-msg.is-ok { color: #0a7d2c; background: #e3f6e8; }
.wallet-msg.is-error { color: #b32d2e; background: #fbe5e5; }
.wallet-msg { padding: 10px 14px; border-radius: 12px; font-size: 14px; margin: 12px 0; }

/* ===== TRANG NHIỆM VỤ ===== */
.nv-task { padding: 8px 0; }
.nv-steps { list-style: none; margin: 0; padding: 0; }
.nv-step {
	display: flex; gap: 14px; padding: 18px;
	border-radius: 16px; margin: 0 14px 12px; background: #f6f9ff;
	border: 1px solid #e3ecfb; opacity: .55; transition: .25s;
}
.nv-step.active { opacity: 1; background: #fff; border-color: #2563eb; box-shadow: 0 8px 24px rgba(37,99,235,.1); }
.nv-num {
	flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
	background: #2563eb; color: #fff; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.nv-step:not(.active) .nv-num { background: #c3d3ef; }
.nv-step-body { flex: 1; }
.nv-step-body h3 { margin: 2px 0 6px; font-size: 17px; }
.nv-step-body p { margin: 0 0 12px; color: #5b6b86; font-size: 14.5px; line-height: 1.55; }
.nv-keyword {
	background: #eef4ff; border: 1px dashed #93b4f3; border-radius: 12px;
	padding: 12px 14px; margin-bottom: 14px; font-size: 16px; word-break: break-word;
}
.nv-timer { font-size: 30px; font-weight: 800; color: #2563eb; text-align: center; margin: 6px 0 14px; }
.nv-code-box {
	display: flex; gap: 8px; align-items: center; margin-bottom: 14px;
}
.nv-code-box code {
	flex: 1; text-align: center; font-size: 24px; font-weight: 800; letter-spacing: 3px;
	background: #0b1f3a; color: #6ee7b7; border-radius: 12px; padding: 14px 10px;
}
.nv-foot { text-align: center; margin: 8px 14px 24px; font-size: 13px; }

/* ===== TRANG QUẢNG CÁO ===== */
.qc-tiers { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.qc-tiers-lbl { font-size: 13px; color: #5b6b86; font-weight: 600; }
.qc-tier { font-size: 12.5px; background: #e7f8f0; color: #0a9d62; padding: 4px 10px; border-radius: 999px; font-weight: 600; }

.qc-form { display: flex; flex-direction: column; gap: 12px; }
.qc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #0f1e3d; }
.qc-form input, .qc-form select {
	font: inherit; padding: 11px 13px; border: 1px solid #d7e0f0; border-radius: 11px;
	background: #fff; font-weight: 400;
}
.qc-form input:focus, .qc-form select:focus { outline: none; border-color: #2563eb; }
.qc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qc-estimate { font-size: 15px; color: #0f1e3d; padding: 4px 0; }
.qc-estimate b { color: #2563eb; }

.qc-camps { display: flex; flex-direction: column; gap: 12px; }
.qc-camp { border: 1px solid #e3ecfb; border-radius: 14px; padding: 14px; background: #fbfcff; }
.qc-camp-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.qc-badge { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.qc-camp-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #5b6b86; margin-bottom: 10px; }
.qc-bar { height: 8px; border-radius: 999px; background: #e9f1ff; overflow: hidden; margin-bottom: 5px; }
.qc-bar span { display: block; height: 100%; background: linear-gradient(90deg,#1d4ed8,#3b82f6); }
.qc-camp-progress small { color: #5b6b86; font-size: 12.5px; }
.qc-reject { display: block; color: #b32d2e; font-size: 12.5px; margin-top: 6px; }

@media (max-width: 560px) {
	.nv-step { margin-left: 0; margin-right: 0; }
	.qc-form-row { grid-template-columns: 1fr; }
}
