.y2mate-wp-wrapper {
	background: #0f172a;
	color: #f8fafc;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
	padding: 24px;
	border-radius: 12px;
	max-width: 1200px;
	margin: 20px 0;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.y2mate-header {
	border-bottom: 1px solid #334155;
	padding-bottom: 16px;
	margin-bottom: 20px;
}

.y2mate-brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.y2mate-logo-icon {
	background: #ef4444;
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.y2mate-brand h2 {
	margin: 0;
	font-size: 1.3rem;
	color: #ffffff;
}

.y2mate-brand p {
	margin: 2px 0 0 0;
	font-size: 0.85rem;
	color: #94a3b8;
}

/* KPI BOARD */
.y2mate-kpi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.y2mate-kpi-card {
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 8px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.y2mate-kpi-label {
	font-size: 0.7rem;
	font-weight: 800;
	color: #94a3b8;
}

.y2mate-kpi-val {
	font-size: 1.4rem;
	font-weight: 800;
	color: #fff;
}

.y2mate-kpi-success .y2mate-kpi-val { color: #10b981; }
.y2mate-kpi-warning .y2mate-kpi-val { color: #f59e0b; }
.y2mate-kpi-danger .y2mate-kpi-val { color: #f43f5e; }
.y2mate-kpi-accent .y2mate-kpi-val { color: #38bdf8; }

.y2mate-grid {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 24px;
}

@media (max-width: 900px) {
	.y2mate-grid {
		grid-template-columns: 1fr;
	}
}

.y2mate-card {
	background: #1e293b;
	border: 1px solid #334155;
	border-radius: 10px;
	padding: 20px;
}

.y2mate-card h3 {
	margin: 0 0 8px 0;
	font-size: 1.05rem;
	color: #ffffff;
}

.y2mate-desc {
	font-size: 0.85rem;
	color: #94a3b8;
	margin-bottom: 12px;
}

.y2mate-textarea-wrapper {
	background: #0f172a;
	border: 1px solid #334155;
	border-radius: 8px;
	overflow: hidden;
}

.y2mate-textarea-wrapper textarea {
	width: 100%;
	height: 200px;
	background: transparent;
	border: none;
	color: #f8fafc;
	padding: 12px;
	font-size: 0.9rem;
	box-shadow: none;
	resize: vertical;
}

.y2mate-textarea-footer {
	display: flex;
	justify-content: space-between;
	padding: 8px 12px;
	background: #1e293b;
	border-top: 1px solid #334155;
	font-size: 0.8rem;
	color: #94a3b8;
}

.y2mate-btn-link {
	background: none;
	border: none;
	color: #38bdf8;
	cursor: pointer;
	font-weight: 600;
}

.y2mate-config-box {
	margin-top: 16px;
	padding: 14px;
	background: rgba(15,23,42,0.5);
	border-radius: 8px;
	border: 1px solid #334155;
}

.y2mate-format-toggle {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.y2mate-format-btn {
	flex: 1;
	padding: 8px;
	background: #0f172a;
	border: 1px solid #334155;
	color: #94a3b8;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}

.y2mate-format-btn.active {
	background: #ef4444;
	border-color: #ef4444;
	color: #fff;
}

.y2mate-btn-primary {
	width: 100%;
	margin-top: 18px;
	padding: 14px;
	background: #ef4444;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}

.y2mate-btn-primary:hover {
	background: #dc2626;
}

.y2mate-progress-bar-wrap {
	margin-bottom: 16px;
}

.y2mate-progress-info {
	display: flex;
	justify-content: space-between;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.y2mate-progress-track {
	height: 8px;
	background: #0f172a;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #334155;
}

.y2mate-progress-fill {
	height: 100%;
	background: #10b981;
	transition: width 0.3s;
}

.y2mate-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.y2mate-table th {
	background: #0f172a;
	padding: 8px 12px;
	text-align: left;
	color: #94a3b8;
	border-bottom: 1px solid #334155;
}

.y2mate-table td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.y2mate-badge {
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 700;
}

.badge-pending { background: rgba(148,163,184,0.2); color: #94a3b8; }
.badge-searching { background: rgba(56,189,248,0.2); color: #38bdf8; }
.badge-converting { background: rgba(245,158,11,0.2); color: #f59e0b; }
.badge-success { background: rgba(16,185,129,0.2); color: #10b981; }
.badge-error { background: rgba(244,63,94,0.2); color: #f43f5e; }
.badge-notfound { background: rgba(245,158,11,0.25); color: #fbbf24; }

.y2mate-btn-dl {
	display: inline-block;
	padding: 6px 12px;
	background: #10b981;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.8rem;
}
