/**
 * PAP Afiliados PRO - Dashboard Admin Styles
 *
 * @package PAP_Afiliados_Pro
 * @since   2.0.0
 */

.papafpro-dashboard {
	max-width: 1200px;
	padding: 20px 0;
}

/* Welcome Banner */
.papafpro-dashboard-banner {
	background: linear-gradient(135deg, #4169e1 0%, #6a5acd 100%);
	color: #fff;
	padding: 25px 30px;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
}

.papafpro-dashboard-banner__content h2 {
	color: #fff;
	margin: 0 0 5px;
	font-size: 20px;
}

.papafpro-dashboard-banner__content p {
	margin: 0;
	opacity: 0.9;
	font-size: 14px;
}

.papafpro-dashboard-banner__dismiss {
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	padding: 5px;
	opacity: 0.8;
	transition: opacity 0.2s;
	flex-shrink: 0;
}

.papafpro-dashboard-banner__dismiss:hover {
	opacity: 1;
}

/* Stat Widgets */
.papafpro-dashboard-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.papafpro-dashboard-widget {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.papafpro-dashboard-widget__icon {
	font-size: 36px;
	color: #4169e1;
	width: 36px;
	height: 36px;
}

.papafpro-dashboard-widget__data {
	display: flex;
	flex-direction: column;
}

.papafpro-dashboard-widget__number {
	font-size: 28px;
	font-weight: bold;
	display: block;
	line-height: 1.2;
	color: #1d2327;
}

.papafpro-dashboard-widget__label {
	color: #666;
	font-size: 14px;
}

/* Quick Action Cards */
.papafpro-dashboard-actions {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-top: 30px;
}

.papafpro-dashboard-action {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 25px 15px;
	text-align: center;
	text-decoration: none;
	color: #333;
	transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.papafpro-dashboard-action:hover {
	border-color: #4169e1;
	box-shadow: 0 2px 8px rgba(65, 105, 225, 0.15);
	color: #4169e1;
}

.papafpro-dashboard-action:focus {
	border-color: #4169e1;
	box-shadow: 0 0 0 1px #4169e1;
	color: #4169e1;
	outline: none;
}

.papafpro-dashboard-action .dashicons {
	display: block;
	font-size: 32px;
	width: 32px;
	height: 32px;
	margin: 0 auto 10px;
}

/* Responsive */
@media (max-width: 782px) {
	.papafpro-dashboard-widgets {
		grid-template-columns: 1fr;
	}

	.papafpro-dashboard-actions {
		grid-template-columns: repeat(2, 1fr);
	}

	.papafpro-dashboard-banner {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.papafpro-dashboard-banner__dismiss {
		align-self: flex-end;
	}
}
