/**
 * Validation Reports Styles
 */

.mlet-validation-reports-wrap {
	max-width: 1400px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Header */
.mlet-reports-header {
	text-align: center;
	margin-bottom: 40px;
}

.mlet-reports-header h1 {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 10px 0;
}

.mlet-subtitle {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* Stats Grid */
.mlet-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.mlet-stat-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 25px;
	border-radius: 16px;
	color: white;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mlet-stat-card:nth-child(2) {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.mlet-stat-card:nth-child(3) {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.mlet-stat-card:nth-child(4) {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.mlet-stat-icon {
	font-size: 48px;
	line-height: 1;
}

.mlet-stat-info {
	flex: 1;
}

.mlet-stat-value {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 5px;
}

.mlet-stat-label {
	font-size: 14px;
	opacity: 0.9;
}

/* Filters */
.mlet-reports-filters {
	background: white;
	padding: 25px;
	border-radius: 16px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	align-items: flex-end;
}

.mlet-filter-group {
	flex: 1;
	min-width: 200px;
}

.mlet-filter-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #1a1a1a;
	font-size: 14px;
}

.mlet-select {
	width: 100%;
	padding: 10px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	background: white;
}

.mlet-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.mlet-btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.mlet-btn-secondary {
	background: #f5f5f5;
	color: #333;
}

/* Tabs */
.mlet-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	border-bottom: 2px solid #e0e0e0;
}

.mlet-tab {
	padding: 12px 24px;
	border: none;
	background: none;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	color: #666;
	border-bottom: 3px solid transparent;
	transition: all 0.3s ease;
}

.mlet-tab:hover {
	color: #667eea;
}

.mlet-tab.active {
	color: #667eea;
	border-bottom-color: #667eea;
}

/* Tab Content */
.mlet-tab-content {
	display: none;
	background: white;
	padding: 30px;
	border-radius: 16px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
}

.mlet-tab-content.active {
	display: block;
}

.mlet-tab-content h2 {
	margin-top: 0;
	color: #1a1a1a;
	font-size: 24px;
}

/* Report Table */
.mlet-report-table-container {
	overflow-x: auto;
}

.mlet-report-table {
	width: 100%;
	border-collapse: collapse;
}

.mlet-report-table thead {
	background: #f8f9fa;
}

.mlet-report-table th {
	padding: 15px;
	text-align: left;
	font-weight: 600;
	color: #1a1a1a;
	border-bottom: 2px solid #e0e0e0;
}

.mlet-report-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #f0f0f0;
}

.mlet-report-table tbody tr:hover {
	background: #f8f9ff;
}

/* Timeline */
.mlet-timeline-container {
	max-height: 600px;
	overflow-y: auto;
}

.mlet-timeline-item {
	padding: 20px;
	border-left: 3px solid #667eea;
	margin-bottom: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	position: relative;
}

.mlet-timeline-item::before {
	content: '✅';
	position: absolute;
	left: -12px;
	top: 20px;
	background: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}

.mlet-timeline-time {
	font-size: 12px;
	color: #999;
	margin-bottom: 5px;
}

.mlet-timeline-event {
	font-weight: 700;
	color: #667eea;
	margin-bottom: 5px;
}

.mlet-timeline-details {
	font-size: 14px;
	color: #666;
}

.mlet-timeline-checker {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #e0e0e0;
	font-size: 13px;
	color: #999;
}

/* Loading */
.mlet-loading {
	text-align: center;
	padding: 40px;
	color: #666;
}

.mlet-spinner {
	width: 40px;
	height: 40px;
	margin: 0 auto 15px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #667eea;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Export Section */
.mlet-export-section {
	text-align: center;
	margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
	.mlet-validation-reports-wrap {
		padding: 0 15px;
	}
	
	.mlet-reports-header h1 {
		font-size: 28px;
	}
	
	.mlet-stats-grid {
		grid-template-columns: 1fr;
	}
	
	.mlet-reports-filters {
		flex-direction: column;
	}
	
	.mlet-filter-group {
		min-width: 100%;
	}
	
	.mlet-tabs {
		flex-direction: column;
	}
	
	.mlet-tab {
		text-align: left;
	}
}


