/**
 * AR TMC Staff Wizard styles.
 * Shares the visual language of Faculty Wizard via the same class names.
 * This stylesheet contains only Staff Wizard-specific overrides; the
 * unified design system is duplicated here to keep the plugin self-contained.
 */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

.artmc-wizard-container {
	max-width: 1100px;
	margin: 30px auto;
	padding: 32px;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(111, 66, 193, 0.1);
	font-family: 'Cairo', 'Segoe UI', system-ui, sans-serif;
	color: #1a1a2e;
	line-height: 1.6;
}

.artmc-wizard-header {
	border-bottom: 2px solid rgba(111, 66, 193, 0.1);
	padding-bottom: 20px;
	margin-bottom: 24px;
}
.artmc-wizard-header h2 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	background: linear-gradient(135deg, #6f42c1 0%, #0dcaf0 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.artmc-wizard-header p { margin: 0; color: #64748b; font-size: 14px; }

.artmc-wizard-locked {
	padding: 48px;
	text-align: center;
	background: #f8fafc;
	border-radius: 12px;
	max-width: 600px;
	margin: 40px auto;
}
.artmc-wizard-locked h3 { color: #ef4444; margin-top: 0; }

.artmc-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	border-bottom: 2px solid #e2e8f0;
}
.artmc-tabs-nav li {
	padding: 12px 16px;
	cursor: pointer;
	color: #64748b;
	font-weight: 500;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	transition: all 0.2s ease;
	font-size: 14px;
}
.artmc-tabs-nav li:hover { color: #6f42c1; }
.artmc-tabs-nav li.active {
	color: #6f42c1;
	border-bottom-color: #6f42c1;
}

.artmc-tab-content { display: none; padding: 8px 0 16px; }
.artmc-tab-content.active { display: block; }

.section-title {
	margin: 0 0 20px;
	font-size: 20px;
	color: #1a1a2e;
	border-right: 4px solid #6f42c1;
	padding-right: 12px;
}

.artmc-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
.artmc-form-group { display: flex; flex-direction: column; }
.artmc-form-group.full-width { grid-column: 1 / -1; }
.artmc-form-group label {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #475569;
}
.artmc-form-group input[type="text"],
.artmc-form-group input[type="email"],
.artmc-form-group input[type="url"],
.artmc-form-group textarea {
	padding: 10px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	background: #ffffff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.artmc-form-group input:focus, .artmc-form-group textarea:focus {
	outline: none;
	border-color: #6f42c1;
	box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.15);
}
.artmc-form-group input[type="file"] {
	padding: 8px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
}

#artmc-json-input {
	font-family: 'SF Mono', Menlo, monospace;
	font-size: 12px;
	background: #1a1a2e;
	color: #00ffea;
	border: 2px solid #6f42c1;
	border-radius: 10px;
	padding: 16px;
	width: 100%;
	box-sizing: border-box;
}
#artmc-json-input:focus { box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.3); outline: none; }

.artmc-info-box {
	background: linear-gradient(90deg, #f0f7ff 0%, #faf5ff 100%);
	border: 1px solid #d1c4e9;
	border-right: 4px solid #6f42c1;
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 18px;
	color: #4c1d95;
	font-size: 13px;
}

.artmc-dynamic-block {
	padding: 20px;
	margin-bottom: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-right: 4px solid #0d6efd;
	border-radius: 12px;
	position: relative;
}

.artmc-wizard-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
	gap: 12px;
	flex-wrap: wrap;
}

.artmc-btn-primary, .artmc-btn-secondary, .artmc-btn-dark,
.artmc-btn-success, .artmc-btn-remove {
	padding: 11px 20px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
	font-family: inherit;
}
.artmc-btn-primary:hover, .artmc-btn-secondary:hover, .artmc-btn-dark:hover,
.artmc-btn-success:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.artmc-btn-primary  { background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%); color: white; }
.artmc-btn-secondary { background: #e2e8f0; color: #334155; }
.artmc-btn-dark     { background: #1a1a2e; color: white; }
.artmc-btn-success  { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); color: white; }
.artmc-btn-remove {
	background: #ef4444;
	color: white;
	padding: 6px 12px;
	font-size: 12px;
	position: absolute;
	top: 12px;
	left: 12px;
}

#artmc-wizard-messages {
	margin-top: 20px;
	font-weight: 500;
	font-size: 14px;
}
#artmc-wizard-messages.success {
	padding: 16px;
	background: #ecfdf5;
	border: 1px solid #6ee7b7;
	border-radius: 8px;
	color: #065f46;
}
#artmc-wizard-messages.error {
	padding: 16px;
	background: #fef2f2;
	border: 1px solid #fca5a5;
	border-radius: 8px;
	color: #991b1b;
}

@media (max-width: 768px) {
	.artmc-wizard-container { padding: 16px; margin: 12px; }
	.artmc-form-row { grid-template-columns: 1fr; }
	.artmc-wizard-actions { flex-direction: column-reverse; }
	.artmc-wizard-actions button { width: 100%; }
}
