/* Easy Notes 4U Publishing Workflow — front-end styles */

.enpw-form { max-width: 640px; }
.enpw-form p { margin: 0 0 18px; }
.enpw-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.enpw-form input[type="text"],
.enpw-form input[type="tel"],
.enpw-form input[type="number"],
.enpw-form input[type="file"],
.enpw-form textarea,
.enpw-form select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}
.enpw-form textarea { resize: vertical; }
.enpw-submit-btn {
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 13px 28px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}
.enpw-submit-btn:hover { background: #1d4ed8; }

.enpw-price-box {
	background: #f3f4f6;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 15px;
	color: #475569;
}
.enpw-price-active {
	background: #ecfdf5;
	border-color: #34d399;
	color: #065f46;
	font-weight: 700;
}

.enpw-notice, .enpw-success, .enpw-error {
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 15px;
}
.enpw-notice  { background: #f3f4f6; color: #374151; }
.enpw-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.enpw-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Dashboard */
.enpw-dashboard { display: grid; gap: 24px; }
.enpw-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	background: #fff;
}
.enpw-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.enpw-meta { color: #6b7280; font-size: 0.9rem; margin: 0 0 20px; }

/* Progress tracker */
.enpw-tracker {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	position: relative;
}
.enpw-step {
	flex: 1 1 0;
	min-width: 90px;
	text-align: center;
	position: relative;
	padding-top: 26px;
}
.enpw-step::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 50%;
	width: 100%;
	height: 3px;
	background: #e5e7eb;
	z-index: 0;
}
.enpw-step:last-child::before { display: none; }
.enpw-dot {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e5e7eb;
	border: 3px solid #fff;
	box-shadow: 0 0 0 2px #e5e7eb;
	z-index: 1;
}
.enpw-label { font-size: 0.78rem; color: #9ca3af; display: block; line-height: 1.3; }

.enpw-step-done .enpw-dot { background: #2563eb; box-shadow: 0 0 0 2px #2563eb; }
.enpw-step-done::before { background: #2563eb; }
.enpw-step-done .enpw-label { color: #2563eb; }

.enpw-step-active .enpw-dot { background: #f59e0b; box-shadow: 0 0 0 2px #f59e0b; }
.enpw-step-active .enpw-label { color: #b45309; font-weight: 700; }

.enpw-terminal {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
}
.enpw-terminal-rejected  { background: #fef2f2; color: #991b1b; }
.enpw-terminal-revisions { background: #fffbeb; color: #92400e; }

@media (max-width: 600px) {
	.enpw-tracker { flex-direction: column; align-items: flex-start; gap: 14px; }
	.enpw-step { text-align: left; padding-top: 0; padding-left: 30px; min-width: 0; width: 100%; }
	.enpw-step::before { display: none; }
	.enpw-dot { top: 2px; left: 0; transform: none; }
	.enpw-label { font-size: 0.9rem; }
}
