/* Frontend Styles */

.wcl-account-statement {
	margin: 20px 0;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.wcl-account-statement h2,
.wcl-account-statement h3 {
	color: #333;
	margin-top: 20px;
	margin-bottom: 15px;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

.wcl-account-statement h2 {
	margin-top: 0;
}

.wcl-balance-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin: 20px 0;
}

.wcl-balance-card {
	padding: 20px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wcl-balance-card.wcl-total {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	border: 2px solid #0073aa;
	font-size: 16px;
}

.wcl-balance-card .wcl-label {
	font-size: 12px;
	color: #666;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

.wcl-balance-card .wcl-amount {
	font-size: 28px;
	font-weight: bold;
	margin: 10px 0 0 0;
	line-height: 1;
}

.wcl-balance-card.wcl-total .wcl-amount {
	font-size: 36px;
}

/* Ledger Table */

.wcl-ledger-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
	background: white;
}

.wcl-ledger-table thead {
	background: #f9f9f9;
}

.wcl-ledger-table th {
	padding: 12px;
	text-align: left;
	font-weight: bold;
	border-bottom: 2px solid #ddd;
	color: #333;
}

.wcl-ledger-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #ddd;
}

.wcl-ledger-table tbody tr:hover {
	background: #f9f9f9;
}

.wcl-ledger-table tbody tr:nth-child(even) {
	background: #fafafa;
}

.wcl-ledger-table .amount {
	text-align: right;
	font-weight: 600;
}

/* Responsive */

@media (max-width: 768px) {
	.wcl-account-statement {
		padding: 15px;
	}

	.wcl-balance-summary {
		grid-template-columns: 1fr;
	}

	.wcl-balance-card.wcl-total {
		grid-column: 1;
	}

	.wcl-ledger-table {
		font-size: 14px;
	}

	.wcl-ledger-table th,
	.wcl-ledger-table td {
		padding: 8px;
	}
}

@media (max-width: 480px) {
	.wcl-account-statement {
		padding: 10px;
	}

	.wcl-balance-card .wcl-amount {
		font-size: 22px;
	}

	.wcl-balance-card.wcl-total .wcl-amount {
		font-size: 28px;
	}

	.wcl-ledger-table {
		font-size: 12px;
	}

	.wcl-ledger-table th,
	.wcl-ledger-table td {
		padding: 6px;
	}
}
