/* Activist Blog Wallet — front-end styles */

.abc-dashboard {
	max-width: 640px;
	margin: 24px 0;
}

.abc-dashboard-balance {
	background: linear-gradient(135deg, #E4002B, #B8001F);
	color: #fff;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.abc-balance-label {
	font-size: 0.95rem;
	opacity: 0.9;
}

.abc-balance-amount {
	font-size: 1.8rem;
	font-weight: 700;
}

.abc-dashboard-section {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 20px;
	background: #fff;
}

.abc-dashboard-section input[type="text"],
.abc-dashboard-section input[type="number"],
.abc-dashboard-section select,
.abc-dashboard-section textarea {
	width: 100%;
	padding: 8px;
	margin-top: 4px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.abc-dashboard-button {
	background: #E4002B;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}

.abc-dashboard-button:hover {
	background: #B8001F;
}

.abc-dashboard-button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.abc-dashboard-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}

.abc-dashboard-table th,
.abc-dashboard-table td {
	text-align: left;
	padding: 8px;
	border-bottom: 1px solid #eee;
	font-size: 0.9rem;
}

.abc-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
	.abc-dashboard-table {
		min-width: 480px; /* forces horizontal scroll instead of illegibly squeezing columns */
	}

	.abc-dashboard-balance {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.abw-txn-top,
	.abw-txn-details {
		flex-wrap: wrap;
		gap: 4px;
	}
}

.abc-warning {
	color: #E4002B;
	font-size: 0.85rem;
	margin: 4px 0 0;
}

/* Recent wallet transactions widget (sidebar) */

.abw-recent-transactions {
	margin-bottom: 16px;
}

.abw-recent-heading {
	font-size: 0.95rem;
	margin: 0 0 10px;
}

.abw-txn-row {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}

.abw-txn-top {
	display: flex;
	justify-content: space-between;
	font-size: 0.85rem;
	font-weight: 700;
}

.abw-txn-date {
	color: #999;
	font-weight: 400;
}

.abw-txn-reason {
	font-size: 0.8rem;
	color: #666;
	margin-top: 2px;
}

.abw-txn-details {
	display: flex;
	justify-content: space-between;
	font-size: 0.7rem;
	color: #999;
	margin-top: 3px;
}

.abw-txn-method {
	font-weight: 600;
	color: #E4002B;
}

.abw-txn-address {
	font-family: monospace;
	letter-spacing: 0.02em;
}

.abw-no-transactions {
	font-size: 0.85rem;
	color: #888;
}
