/**
 * Changeloger Dashboard Styles
 */



/* Stats Grid */
.cha-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}
@media (max-width: 1024px) { .cha-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cha-stats-grid { grid-template-columns: 1fr; } }
.cha-stat-card {
	display: flex !important;
	align-items: center;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s, box-shadow 0.2s;
	text-decoration: none;
	color: inherit;
}
.cha-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.cha-stat-icon-wrapper {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.cha-stat-icon-wrapper svg {
	width: 28px;
	height: 28px;
}
.cha-stat-content {
	margin-left: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.cha-stat-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
	margin-bottom: 4px;
}
.cha-stat-value {
	font-size: 28px;
	font-weight: 800;
	color: #111827;
	line-height: 1;
}
.cha-stat-arrow {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	transition: all 0.2s;
	flex-shrink: 0;
}
.cha-stat-card:hover .cha-stat-arrow {
	background: #e5e7eb;
	color: #111827;
	transform: translateX(2px);
}
.cha-stat-arrow svg {
	width: 16px;
	height: 16px;
}

/* Main Layout */
.cha-dash-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 20px;
}
@media (max-width: 1024px) { .cha-dash-grid { grid-template-columns: 1fr; } }

/* Cards */
.cha-dash-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	margin-bottom: 20px;
}
.cha-dash-card:last-child {
	margin-bottom: 0;
}
.cha-dash-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #f3f4f6;
}
.cha-dash-card-title {
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	margin: 0;
}
.cha-dash-card-body {
	padding: 16px 20px;
}

/* Activity List */
.cha-activity-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cha-activity-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f3f4f6;
}
.cha-activity-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.cha-activity-item:first-child {
	padding-top: 0;
}
.cha-activity-icon {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.cha-activity-icon svg {
	width: 16px;
	height: 16px;
}
.cha-activity-content {
	flex: 1;
	min-width: 0;
}
.cha-activity-title {
	font-size: 13px;
	font-weight: 500;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cha-activity-meta {
	font-size: 12px;
	color: #9ca3af;
	display: flex;
	gap: 8px;
}
.cha-activity-empty {
	text-align: center;
	padding: 24px;
	color: #9ca3af;
	font-size: 13px;
}

/* Status Breakdown */
.cha-status-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 16px;
}
.cha-status-item {
	text-align: center;
	padding: 12px 8px;
	background: #f9fafb;
	border-radius: 8px;
}
.cha-status-count {
	font-size: 20px;
	font-weight: 700;
	color: #111827;
}
.cha-status-name {
	font-size: 11px;
	color: #6b7280;
	margin-top: 4px;
}
.cha-progress-bar {
	height: 8px;
	background: #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
}
.cha-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #10b981, #34d399);
	border-radius: 4px;
	transition: width 0.3s;
}
.cha-progress-text {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #6b7280;
	margin-top: 8px;
}

/* Quick Actions */
.cha-quick-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cha-quick-action {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: #f9fafb;
	border-radius: 8px;
	text-decoration: none;
	color: #374151;
	transition: all 0.15s;
}
.cha-quick-action:hover {
	background: #f3f4f6;
	color: #111827;
}
.cha-quick-action-icon {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cha-quick-action-icon svg {
	width: 16px;
	height: 16px;
}
.cha-quick-action span {
	font-size: 13px;
	font-weight: 500;
}

/* System Status */
.cha-system-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cha-system-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #f3f4f6;
	font-size: 13px;
}
.cha-system-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.cha-system-item:first-child {
	padding-top: 0;
}
.cha-system-label {
	color: #6b7280;
}
.cha-system-value {
	font-weight: 500;
	color: #111827;
}
.cha-system-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
}
.cha-badge-success {
	background: #d1fae5;
	color: #059669;
}
.cha-badge-warning {
	background: #fef3c7;
	color: #d97706;
}
.cha-badge-info {
	background: #dbeafe;
	color: #2563eb;
}
