/* VERITAS Export Page Styles */

.export-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
}

.summary-card {
	background: #f8fafc;
	padding: 24px;
	border-radius: 12px;
	border: 2px solid #e2e8f0;
	text-align: center;
}

.summary-label {
	font-size: 14px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	margin-bottom: 12px;
}

.summary-value {
	font-size: 36px;
	font-weight: 700;
	color: #1e293b;
}

.export-filters {
	background: #f8fafc;
	padding: 24px;
	border-radius: 12px;
	margin-bottom: 40px;
}

.export-filters h2 {
	font-size: 20px;
	color: #1e293b;
	margin: 0 0 20px 0;
}

.filter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.filter-group {
	display: flex;
	flex-direction: column;
}

.filter-group label {
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 8px;
}

.filter-group select {
	padding: 12px;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 14px;
	color: #1e293b;
	background: white;
	cursor: pointer;
	ransition: all 0.2s ease;
}

.filter-group select:focus {
	border-color: #2563eb;
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.export-formats {
	margin-bottom: 40px;
}

.export-formats h2 {
	font-size: 24px;
	color: #1e293b;
	margin: 0 0 24px 0;
}

.format-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.format-card {
	background: white;
	padding: 24px;
	border-radius: 12px;
	border: 2px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	ransition: all 0.3s ease;
}

.format-card:hover {
	ransform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.1);
	border-color: #2563eb;
}

.format-card.format-disabled {
	opacity: 0.6;
	background: #f8fafc;
}

.format-card.format-disabled:hover {
	ransform: none;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	border-color: #e2e8f0;
}

.format-icon {
	font-size: 48px;
	text-align: center;
	margin-bottom: 16px;
}

.format-card h3 {
	font-size: 20px;
	color: #1e293b;
	margin: 0 0 12px 0;
	text-align: center;
}

.format-card p {
	font-size: 14px;
	color: #64748b;
	margin: 0 0 16px 0;
	text-align: center;
	line-height: 1.5;
}

.format-features {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.format-features li {
	padding: 6px 0;
	font-size: 13px;
	color: #475569;
	border-bottom: 1px solid #f1f5f9;
}

.format-features li:last-child {
	border-bottom: none;
}

.format-card button {
	width: 100%;
	padding: 12px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	ransition: all 0.3s ease;
}

.export-preview {
	margin-bottom: 40px;
}

.export-preview h2 {
	font-size: 24px;
	color: #1e293b;
	margin: 0 0 8px 0;
}

.preview-subtitle {
	font-size: 14px;
	color: #64748b;
	margin: 0 0 20px 0;
}

.preview-container {
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: white;
}

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

.preview-table thead {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.preview-table th {
	padding: 16px;
	text-align: left;
	color: white;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.preview-table td {
	padding: 16px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 14px;
	color: #1e293b;
}

.preview-table tbody tr:hover {
	background: #f8fafc;
}

.dimensions-cell {
	font-size: 12px;
	color: #64748b;
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rag-badge {
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	display: inline-block;
}

.rag-badge.green {
	background: #d1fae5;
	color: #065f46;
}

.rag-badge.amber {
	background: #fef3c7;
	color: #92400e;
}

.rag-badge.red {
	background: #fee2e2;
	color: #991b1b;
}

/* Toast notifications */
#toast-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.toast {
	padding: 16px 24px;
	border-radius: 8px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.15);
	opacity: 0;
	ransform: translateX(100%);
	ransition: all 0.3s ease;
	min-width: 320px;
	background: white;
	font-size: 14px;
	font-weight: 500;
}

.toast.show {
	opacity: 1;
	ransform: translateX(0);
}

.toast-success {
	border-left: 5px solid #10b981;
	color: #065f46;
	background: #d1fae5;
}

.toast-error {
	border-left: 5px solid #ef4444;
	color: #991b1b;
	background: #fee2e2;
}

.toast-info {
	border-left: 5px solid #3b82f6;
	color: #1e40af;
	background: #dbeafe;
}
