/**
 * Dashboard Εθελοντή — ίδιο ύφος με ESG Hub
 */

.mps-dash {
	--mps-dash-max: 1120px;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--mps-dash-max);
	margin: 0 auto 2.5rem;
	padding: 0 clamp(16px, 4vw, 28px);
	color: #001819;
}

.mps-dash-hero {
	margin-bottom: 1.75rem;
	text-align: center;
}

.mps-dash-kicker {
	display: inline-block;
	border: 1px solid #79b900;
	border-radius: 30px;
	padding: 4px 15px;
	margin: 0 0 12px;
	color: #79b900;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mps-dash-title {
	margin: 0 0 12px;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
}

.mps-dash-intro {
	margin: 0 auto;
	max-width: 40rem;
	color: #4a5248;
	font-size: 1.05rem;
	line-height: 1.55;
}

/* —— Welcome / points —— */
.mps-dash-account {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 28px;
	margin: 0 0 2.25rem;
	padding: 20px 22px;
	background: #f6f7f4;
	border: 1px solid #e7eeda;
	border-radius: 12px;
}

.mps-dash-welcome {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1 1 260px;
	min-width: 0;
}

.mps-dash-avatar img {
	display: block;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(0, 24, 25, 0.1);
}

.mps-dash-welcome-kicker {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #79b900;
}

.mps-dash-welcome-name {
	margin: 0 0 4px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.mps-dash-welcome-role {
	margin: 0;
	color: #4a5248;
	font-size: 0.95rem;
}

.mps-dash-stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #d5dcc8;
	border-radius: 10px;
	min-width: 140px;
}

.mps-dash-stat-label {
	font-size: 12px;
	font-weight: 600;
	color: #4a5248;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mps-dash-stat-value {
	font-size: 2rem;
	font-weight: 700;
	color: #79b900;
	line-height: 1.1;
}

/* —— Blocks / cards —— */
.mps-dash-block {
	margin: 0 0 2.5rem;
}

.mps-dash-block-head {
	margin-bottom: 1.25rem;
	text-align: center;
}

.mps-dash-block-kicker {
	display: inline-block;
	border: 1px solid #79b900;
	border-radius: 30px;
	padding: 3px 12px;
	margin: 0 0 10px;
	color: #79b900;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.mps-dash-block-title {
	margin: 0;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	font-weight: 700;
	line-height: 1.2;
}

.mps-dash-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 22px;
	align-items: stretch;
}

.mps-dash-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #eef0ea;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 24, 25, 0.06);
	transition: box-shadow 0.35s, transform 0.35s;
}

.mps-dash-card:hover {
	box-shadow: 0 12px 36px rgba(0, 24, 25, 0.12);
	transform: translateY(-3px);
}

.mps-dash-card-media {
	position: relative;
	display: block;
	min-height: 120px;
	text-decoration: none;
	color: #fff;
	background-image: linear-gradient(145deg, #0d2824 0%, #1a4d3e 42%, #5a8f14 100%);
}

.mps-dash-card--market .mps-dash-card-media,
.mps-dash-card--coupons .mps-dash-card-media {
	background-image: linear-gradient(145deg, #1a2a0d 0%, #3d5a14 45%, #79b900 100%);
}

.mps-dash-card--hub .mps-dash-card-media {
	background-image: linear-gradient(145deg, #0d1a28 0%, #1a3d4d 42%, #3a8f6a 100%);
}

.mps-dash-card-scrim {
	pointer-events: none;
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.06) 100%);
}

.mps-dash-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	min-width: 2.25rem;
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: #001819;
	background: rgba(255, 255, 255, 0.92);
	text-align: center;
}

.mps-dash-card-media-title {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	z-index: 2;
}

.mps-dash-card-heading {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
}

.mps-dash-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 14px 16px 16px;
	gap: 10px;
}

.mps-dash-card-text {
	margin: 0;
	flex: 1 1 auto;
	color: #4a5248;
	font-size: 0.92rem;
	line-height: 1.5;
}

.mps-dash-card-cta {
	display: inline-flex;
	font-weight: 700;
	color: #79b900;
	text-decoration: none;
}

.mps-dash-card-cta:hover {
	color: #6aa300;
}

/* —— Transactions —— */
.mps-dash-recent {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mps-dash-recent-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #eef0ea;
	border-radius: 10px;
}

.mps-dash-recent-num {
	flex: 0 0 auto;
	min-width: 2.25rem;
	padding: 6px 8px;
	border-radius: 8px;
	background: #f0f7e4;
	color: #001819;
	font-weight: 700;
	font-size: 14px;
	text-align: center;
}

.mps-dash-recent-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mps-dash-recent-title {
	font-weight: 700;
	color: #001819;
}

.mps-dash-recent-date {
	font-size: 0.875rem;
	color: #4a5248;
}

.mps-dash-recent-points {
	flex: 0 0 auto;
	font-weight: 700;
	font-size: 1.1rem;
	color: #79b900;
}

.mps-dash-empty {
	margin: 0;
	padding: 20px;
	text-align: center;
	color: #4a5248;
	background: #f6f7f4;
	border: 1px dashed #d5dcc8;
	border-radius: 12px;
}

.mps-dash-more {
	text-align: center;
}

.mps-dash-more a {
	font-weight: 700;
	color: #79b900;
	text-decoration: none;
}

/* —— Profile plugin overrides inside dashboard —— */
.mps-dash-profile-wrap {
	max-width: 720px;
	margin: 0 auto;
}

.mps-dash-profile-wrap .esgups-box {
	border: 1px solid #e7eeda !important;
	border-radius: 12px !important;
	padding: 22px !important;
	background: #fff !important;
	max-width: none !important;
	box-shadow: 0 4px 24px rgba(0, 24, 25, 0.05);
}

.mps-dash-profile-wrap .esgups-name {
	color: #001819;
}

.mps-dash-profile-wrap .esgups-actions a {
	border-color: #d5dcc8 !important;
	border-radius: 8px !important;
	padding: 8px 14px !important;
	font-weight: 600;
	color: #001819;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.mps-dash-profile-wrap .esgups-actions a:hover {
	border-color: #79b900 !important;
	background: #f0f7e4 !important;
	color: #79b900 !important;
}

.mps-dash-profile-wrap .esgups-form label {
	color: #001819;
}

.mps-dash-profile-wrap .esgups-form select {
	width: 100%;
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #d5dcc8;
	border-radius: 8px;
	background: #fff;
	color: #001819;
}

.mps-dash-profile-wrap .esgups-form select:focus {
	border-color: #79b900;
	outline: none;
	box-shadow: 0 0 0 3px rgba(121, 185, 0, 0.2);
}

.mps-dash-profile-wrap .esgups-chip {
	border-color: #d5dcc8 !important;
	background: #f6f7f4 !important;
	border-radius: 8px !important;
}

.mps-dash-profile-wrap .esgups-submit button {
	background: #79b900 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 8px !important;
	padding: 11px 20px !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: background 0.2s;
}

.mps-dash-profile-wrap .esgups-submit button:hover {
	background: #6aa300 !important;
}

.mps-dash-profile-wrap .esgups-success {
	border-color: #b7e4a0 !important;
	background: #f0f7e4 !important;
	border-radius: 8px !important;
}

@media (max-width: 600px) {
	.mps-dash-welcome {
		flex-direction: column;
		text-align: center;
	}

	.mps-dash-stat {
		width: 100%;
		align-items: center;
	}
}
