/* NSB Artist Portal — front-end styles. Neutral palette, inherits theme fonts. */

.nsb-portal { max-width: 900px; margin: 0 auto; }
.nsb-portal h2, .nsb-portal h3 { margin-top: 0; }

/* Notices */
.nsb-notice { padding: 12px 16px; border-radius: 6px; margin: 0 0 20px; border: 1px solid; }
.nsb-notice-success { background: #f0f9f1; border-color: #b7e0bd; color: #1d6b26; }
.nsb-notice-error { background: #fdf1f1; border-color: #f0c2c3; color: #9b2226; }

/* Buttons */
.nsb-button {
	display: inline-block; padding: 10px 22px; border: none; border-radius: 6px;
	background: #111; color: #fff !important; font-weight: 600; cursor: pointer;
	text-decoration: none !important; line-height: 1.4; font-size: 15px;
}
.nsb-button:hover { background: #333; color: #fff; }
.nsb-button-secondary { background: #fff; color: #111 !important; border: 2px solid #111; }
.nsb-button-secondary:hover { background: #f2f2f2; color: #111; }
.nsb-button-small { padding: 5px 12px; font-size: 13px; }
.nsb-link { text-decoration: underline; }

/* Forms */
.nsb-form input[type="text"], .nsb-form input[type="email"], .nsb-form input[type="url"],
.nsb-form input[type="tel"], .nsb-form input[type="number"], .nsb-form input[type="password"],
.nsb-form textarea, .nsb-auth input[type="text"], .nsb-auth input[type="password"],
.nsb-auth input[type="email"] {
	width: 100%; max-width: 100%; padding: 9px 12px; border: 1px solid #c8c8c8;
	border-radius: 5px; box-sizing: border-box; font-size: 15px;
}
.nsb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 20px; }
.nsb-field { margin: 0 0 14px; }
.nsb-field-wide { grid-column: 1 / -1; }
.nsb-field-check { align-self: end; }
.nsb-label, .nsb-field label { font-weight: 600; font-size: 14px; }
.nsb-help { display: block; font-size: 12.5px; color: #666; margin-top: 3px; font-weight: 400; }
.nsb-req { color: #b32d2e; }

/* Auth */
.nsb-auth-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.nsb-auth-col { background: #fafafa; border: 1px solid #e5e5e5; border-radius: 8px; padding: 24px; }
.nsb-auth .login-remember { margin: 10px 0; }
.nsb-auth .login-submit .button, .nsb-auth input[type="submit"] {
	padding: 10px 22px; border: none; border-radius: 6px; background: #111; color: #fff;
	font-weight: 600; cursor: pointer;
}
.nsb-hp { position: absolute !important; left: -9999px !important; }

/* Status badges */
.nsb-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.nsb-badge-draft { background: #eee; color: #444; }
.nsb-badge-pending_payment { background: #fdf3e0; color: #92600a; }
.nsb-badge-submitted { background: #e7f1fb; color: #1a5a96; }
.nsb-badge-accepted { background: #f0f9f1; color: #1d6b26; }
.nsb-badge-declined { background: #fdf1f1; color: #9b2226; }
.nsb-badge-closed { background: #eee; color: #666; }

/* Open call cards */
.nsb-call-card { display: flex; gap: 20px; border: 1px solid #e2e2e2; border-radius: 8px; padding: 20px; margin: 0 0 18px; }
.nsb-call-card.nsb-call-closed { opacity: .65; }
.nsb-call-thumb img { max-width: 160px; height: auto; border-radius: 6px; }
.nsb-call-body { flex: 1; }
.nsb-call-facts { font-size: 14px; color: #555; margin: 4px 0 10px; }
.nsb-closed-heading { margin-top: 32px; }

/* Apply form */
.nsb-profile-summary { background: #fafafa; border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 20px; margin: 0 0 24px; }
.nsb-profile-summary h3 { margin: 0 0 6px; font-size: 16px; }
.nsb-artwork { position: relative; border: 1px solid #ddd; border-radius: 8px; padding: 18px 20px; margin: 0 0 22px; }
.nsb-artwork legend { font-weight: 700; padding: 0 8px; }
.nsb-remove-artwork {
	position: absolute; top: 10px; right: 12px; border: none; background: none;
	font-size: 22px; line-height: 1; color: #999; cursor: pointer; padding: 4px;
}
.nsb-remove-artwork:hover { color: #b32d2e; }
.nsb-apply-actions { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Image uploader */
.nsb-dropzone {
	border: 2px dashed #bbb; border-radius: 8px; padding: 18px; text-align: center;
	color: #666; font-size: 14px; transition: border-color .15s, background .15s;
}
.nsb-dropzone.nsb-dragover { border-color: #111; background: #f5f5f5; }
.nsb-dropzone p { margin: 0; }
.nsb-browse { text-decoration: underline; cursor: pointer; font-weight: 600; }
.nsb-browse input[type="file"] { display: none; }
.nsb-image-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; padding: 0; }
.nsb-image-item { position: relative; cursor: grab; }
.nsb-image-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; display: block; border: 1px solid #ddd; }
.nsb-image-item.nsb-dragging { opacity: .4; }
.nsb-image-remove {
	position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
	border: none; background: #111; color: #fff; font-size: 13px; line-height: 1; cursor: pointer; padding: 0;
}
.nsb-upload-status { font-size: 13px; color: #92600a; display: inline-block; margin-top: 6px; }
.nsb-single-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nsb-single-upload-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }

/* Dashboard */
.nsb-dash-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.nsb-dash-section { border-top: 1px solid #e5e5e5; padding-top: 22px; margin-top: 22px; }
.nsb-table-wrap { overflow-x: auto; }
.nsb-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.nsb-table th, .nsb-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee; }
.nsb-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #666; }
.nsb-table-actions { text-align: right; }
.nsb-dash-calls, .nsb-dash-news, .nsb-dash-coupons { list-style: none; margin: 0; padding: 0; }
.nsb-dash-calls li, .nsb-dash-news li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.nsb-dash-calls .nsb-call-facts { margin: 2px 0 8px; }

/* Read-only application view */
.nsb-image-strip { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.nsb-image-strip img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; }
.nsb-readonly-facts { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.nsb-readonly-facts li { padding: 2px 0; }

/* Mobile */
@media (max-width: 700px) {
	.nsb-auth-cols { grid-template-columns: 1fr; }
	.nsb-call-card { flex-direction: column; }
	.nsb-grid { grid-template-columns: 1fr; }
}
