/**
 * Demo styles - Simulated Admin
 * Uses system fonts only, no external assets
 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #23282d;
	background: #f0f0f1;
}

.demo-banner {
	background: #ffb900;
	color: #000;
	padding: 10px 20px;
	text-align: center;
	font-weight: 600;
	border-bottom: 2px solid #dba617;
}

.demo-container {
	display: flex;
	min-height: calc(100vh - 50px);
}

.demo-sidebar {
	width: 250px;
	background: #23282d;
	color: #fff;
	padding: 20px 0;
	flex-shrink: 0;
}

.demo-logo {
	padding: 0 20px 20px;
	border-bottom: 1px solid #3c434a;
	margin-bottom: 20px;
}

.demo-logo h1 {
	font-size: 18px;
	font-weight: 600;
}

.demo-nav {
	padding: 0 10px;
}

.demo-nav-item {
	display: block;
	padding: 10px 15px;
	color: #b4b9be;
	text-decoration: none;
	border-radius: 3px;
	margin-bottom: 5px;
	transition: background 0.2s;
}

.demo-nav-item:hover {
	background: #32373c;
	color: #fff;
}

.demo-nav-item.active {
	background: #2271b1;
	color: #fff;
}

.demo-how-it-works {
	padding: 20px;
	margin-top: 30px;
	border-top: 1px solid #3c434a;
	font-size: 12px;
}

.demo-how-it-works h3 {
	margin-bottom: 10px;
	font-size: 14px;
}

.demo-how-it-works ol {
	margin-left: 20px;
	line-height: 1.8;
}

.demo-content {
	flex: 1;
	padding: 30px;
	overflow-y: auto;
}

.demo-page {
	display: none;
}

.demo-page.active {
	display: block;
}

.demo-page h1 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #1d2327;
}

.demo-table {
	width: 100%;
	background: #fff;
	border-collapse: collapse;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

.demo-table thead {
	background: #f6f7f7;
}

.demo-table th {
	padding: 10px;
	text-align: left;
	font-weight: 600;
	border-bottom: 1px solid #c3c4c7;
}

.demo-table td {
	padding: 10px;
	border-bottom: 1px solid #c3c4c7;
}

.demo-table tbody tr:hover {
	background: #f6f7f7;
}

.demo-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.demo-badge-ok {
	background: #46b450;
	color: #fff;
}

.demo-badge-warn {
	background: #ffb900;
	color: #fff;
}

.demo-badge-critical {
	background: #dc3232;
	color: #fff;
}

.demo-order-info {
	background: #fff;
	padding: 20px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	margin-bottom: 20px;
}

.demo-order-info p {
	margin-bottom: 10px;
}

.demo-meta-box {
	background: #fff;
	padding: 20px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.demo-meta-box h2 {
	font-size: 18px;
	margin-bottom: 15px;
}

.demo-status-header {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #c3c4c7;
}

.demo-status-header strong {
	margin-right: 10px;
}

.demo-issues-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.demo-issue {
	margin-bottom: 12px;
	padding: 12px;
	background: #f6f7f7;
	border-left: 3px solid #c3c4c7;
}

.demo-issue-warn {
	border-left-color: #ffb900;
}

.demo-issue-critical {
	border-left-color: #dc3232;
}

.demo-issue-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 5px;
}

.demo-issue-message {
	color: #50575e;
	font-size: 13px;
}

.demo-meta-actions {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #c3c4c7;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.demo-btn {
	padding: 8px 16px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 3px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	transition: background 0.2s;
}

.demo-btn:hover {
	background: #135e96;
}

.demo-btn-primary {
	background: #2271b1;
	font-weight: 600;
}

.demo-settings-form {
	background: #fff;
	padding: 30px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.demo-form-section {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #c3c4c7;
}

.demo-form-section:last-child {
	border-bottom: none;
}

.demo-form-section h3 {
	font-size: 16px;
	margin-bottom: 15px;
	color: #1d2327;
}

.demo-form-section label {
	display: block;
	margin-bottom: 10px;
}

.demo-form-section input[type="checkbox"] {
	margin-right: 8px;
}

.demo-form-section input[type="number"] {
	width: 150px;
	padding: 5px;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	margin-left: 10px;
}

.demo-form-section textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	font-family: inherit;
	font-size: 13px;
}

.demo-toast {
	display: none;
	position: fixed;
	top: 20px;
	right: 20px;
	background: #46b450;
	color: #fff;
	padding: 15px 20px;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	z-index: 1000;
}

.demo-toast.show {
	display: block;
	animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.demo-log-filters {
	background: #fff;
	padding: 20px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: flex-end;
}

.demo-log-filters label {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.demo-log-filters select,
.demo-log-filters input[type="text"] {
	padding: 5px;
	border: 1px solid #8c8f94;
	border-radius: 3px;
	min-width: 150px;
}

code {
	background: #f0f0f1;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
}

