/* AniPoints front-end styles (placeholder look — restyle to match theme later). */

.anipoints-account .anipoints-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}
.anipoints-card {
	background: #f6f7f9;
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.anipoints-label { font-size: 13px; color: #666; }
.anipoints-big { font-size: 26px; font-weight: 600; line-height: 1.1; }
.anipoints-sub { font-size: 13px; color: #666; }

.anipoints-progress-box {
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 16px;
}
.anipoints-progress-head {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	margin-bottom: 8px;
}
.anipoints-bar { height: 10px; background: #eee; border-radius: 6px; overflow: hidden; }
.anipoints-bar-fill { height: 100%; background: #e0a01f; }

.anipoints-history { width: 100%; border-collapse: collapse; }
.anipoints-history th, .anipoints-history td {
	padding: 10px 8px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	text-align: left;
}
.anipoints-pos { color: #2e7d32; font-weight: 600; }
.anipoints-neg { color: #b02a2a; font-weight: 600; }

.anipoints-inline { display: inline-flex; align-items: center; gap: 6px; }
.anipoints-muted { color: #777; }
.anipoints-icon { vertical-align: middle; }

.anipoints-header {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	font-weight: 600;
}
.anipoints-header-count { font-size: 14px; }

.anipoints-earn {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	margin: 10px 0;
}
.anipoints-earn-boost { color: #8a5a00; }
.anipoints-boost-tag {
	background: #fbe6c0;
	color: #8a5a00;
	border-radius: 6px;
	padding: 2px 8px;
	font-size: 13px;
	font-weight: 600;
}

/* Redemption field (checkout row, cart, mini-cart) — blends with the theme */
.anipoints-redeem-box {
	margin: 10px 0;
	padding: 12px 0;
	border-top: 1px solid rgba(0,0,0,0.08);
	font-size: 14px;
	line-height: 1.4;
}
tr.anipoints-redeem-row > td { padding: 8px 0 0; }
.anipoints-redeem-title {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
}
.anipoints-redeem-title .anipoints-icon { vertical-align: middle; }
.anipoints-redeem-avail { display: block; font-size: 12.5px; opacity: 0.7; margin: 2px 0 8px; }
.anipoints-redeem-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.anipoints-redeem-controls input[type="number"] { width: 110px; max-width: 45%; }
.anipoints-redeem-hint { font-size: 12.5px; opacity: 0.7; }
.anipoints-redeem-msg { display: block; font-size: 12.5px; margin-top: 6px; opacity: 0.85; }
.anipoints-redeem-minicart .anipoints-redeem-box { padding: 10px 0; }

.anipoints-pagination { margin-top: 16px; }
.anipoints-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.anipoints-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 34px; height: 34px; padding: 0 10px;
	border: 1px solid #e0e0e0; border-radius: 8px;
	text-decoration: none; font-size: 14px; color: #333;
}
.anipoints-pagination .page-numbers.current { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.anipoints-pagination a.page-numbers:hover { border-color: #4f46e5; color: #4f46e5; }
.anipoints-pagination .page-numbers.dots { border: 0; }

.anipoints-campaign-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #fbe6c0;
	color: #7a4e00;
	padding: 10px 16px;
	font-size: 15px;
	text-align: center;
}
