/**
 * Treasury SMF 2.1 - Stylesheet
 *
 * Styles for the Treasury donation module.
 *
 * Treasury v3.0 for SMF 2.1 by vbgamer45 https://www.smfhacks.com
 * License: GNU General Public License v2
 */


/* Goals and stats section */
.treasury_goals {
	margin: 10px auto;
	max-width: 300px;
}

.treasury_stats {
	overflow: hidden;
}

.treasury_stats dt {
	float: left;
	clear: left;
	width: 60%;
	padding: 2px 0;
	font-size: 0.9em;
}

.treasury_stats dd {
	float: left;
	width: 38%;
	padding: 2px 0;
	text-align: right;
	font-size: 0.9em;
}

/* Donation progress meter */
.treasury_meter_wrap {
	background: #ddd;
	border: 1px solid #ccc;
	border-radius: 3px;
	height: 18px;
	margin: 8px 0;
	overflow: hidden;
	position: relative;
}

.treasury_meter_bar {
	background: #5b5;
	height: 100%;
	border-radius: 2px;
	min-width: 2%;
	transition: width 0.3s ease;
}

.treasury_meter_text {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	text-align: center;
	line-height: 18px;
	font-size: 11px;
	font-weight: bold;
	color: #333;
}

/* Form and donors layout */
.treasury_form_wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 10px 0;
}

.treasury_form {
	flex: 1;
	min-width: 280px;
}

.treasury_donors {
	flex: 1;
	min-width: 280px;
}

/* Donor list */
.treasury_donor_list {
	margin-top: 8px;
}

.treasury_donor_header {
	font-weight: bold;
	overflow: hidden;
}

.treasury_donor_header span,
.treasury_donor_row span {
	display: inline-block;
	font-size: 0.85em;
	padding: 2px 4px;
}

.treasury_donor_name {
	width: 35%;
}

.treasury_donor_amt {
	width: 25%;
}

.treasury_donor_date {
	width: 18%;
}

.treasury_donor_settle {
	width: 18%;
	text-align: right;
}

.treasury_donor_row {
	overflow: hidden;
	border-bottom: 1px solid #eee;
	padding: 1px 0;
}

.treasury_donor_row:hover {
	background: rgba(0, 0, 0, 0.03);
}

/* Registry section */
.treasury_registry {
	margin-top: 10px;
}

/* Profile donations */
.treasury_profile_bullet {
	font-size: 14px;
	color: #5b5;
	margin-right: 4px;
}

.treasury_profile_amount {
	font-weight: bold;
}
