/* Photobooth Marketplace — frontend styles */

.pb-mp-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	padding: 18px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.pb-mp-field {
	display: flex;
	flex-direction: column;
	flex: 1 1 180px;
}

.pb-mp-field-radius { flex: 0 0 120px; }

.pb-mp-field label {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #444;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.pb-mp-field input,
.pb-mp-field textarea {
	padding: 10px 12px;
	border: 1px solid #d4d4d4;
	border-radius: 8px;
	font-size: 14px;
	background: #fafafa;
}

.pb-mp-field input:focus,
.pb-mp-field textarea:focus {
	outline: 2px solid #b8860b;
	outline-offset: 1px;
	background: #fff;
}

.pb-mp-field-checkbox label {
	font-size: 13px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.pb-mp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.pb-mp-btn {
	display: inline-block;
	padding: 11px 22px;
	border: 1px solid #b8860b;
	border-radius: 8px;
	background: #fff;
	color: #b8860b;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s, color .15s;
}
.pb-mp-btn:hover { background: #fff7e0; }
.pb-mp-btn-primary { background: #b8860b; color: #fff; }
.pb-mp-btn-primary:hover { background: #9a7009; color: #fff; }

.pb-mp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin: 24px 0;
}

.pb-mp-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	transition: transform .15s, box-shadow .15s;
}
.pb-mp-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.pb-mp-card-link { color: inherit; text-decoration: none; display: block; }

.pb-mp-card-thumb {
	height: 180px;
	background-size: cover;
	background-position: center;
	background-color: #eaeaea;
}
.pb-mp-card-thumb-empty {
	background-image: linear-gradient(135deg, #f0f0f0, #d8d8d8);
}

.pb-mp-card-body { padding: 14px 16px 18px; }
.pb-mp-card-tag {
	display: inline-block;
	font-size: 11px;
	background: #fff7e0;
	color: #b8860b;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: .03em;
	font-weight: 600;
	text-transform: uppercase;
}
.pb-mp-card-title { margin: 8px 0 4px; font-size: 17px; }
.pb-mp-card-loueur { font-size: 12px; color: #777; }
.pb-mp-card-price { margin-top: 10px; font-size: 16px; }
.pb-mp-card-price small { color: #888; font-weight: 400; }

.pb-mp-form {
	max-width: 560px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.pb-mp-form h3 { margin: 0; }
.pb-mp-form-intro { font-size: 14px; color: #555; margin: -4px 0 8px; }

.pb-mp-notice {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	margin: 12px 0;
	border-left: 4px solid #ccc;
	background: #f7f7f7;
}
.pb-mp-success { background: #e8f7ec; border-color: #2c8c4a; color: #1c5c30; }
.pb-mp-error   { background: #fdecec; border-color: #c0392b; color: #802419; }
.pb-mp-info    { background: #eaf3fb; border-color: #2c6da6; color: #1c4a73; }

.pb-mp-stub {
	border: 2px dashed #b8860b;
	background: #fffbe6;
	color: #5a4500;
	padding: 16px;
	border-radius: 8px;
	margin: 12px 0;
}

.pb-mp-dashboard {
	max-width: 1100px;
}
.pb-mp-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}
.pb-mp-dashboard-nav {
	display: flex;
	gap: 18px;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 8px;
	margin-bottom: 24px;
}
.pb-mp-dashboard-nav a {
	color: #555;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
}
.pb-mp-dashboard-nav a:hover { color: #b8860b; }

.pb-mp-dashboard-section { margin-bottom: 32px; }
.pb-mp-count {
	display: inline-block;
	background: #f0f0f0;
	color: #555;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 6px;
	vertical-align: middle;
}

.pb-mp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.pb-mp-table th, .pb-mp-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
	text-align: left;
}
.pb-mp-table th { background: #fafafa; font-weight: 600; }

.pb-mp-badge {
	display: inline-block;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 600;
	text-transform: uppercase;
	background: #eaeaea;
	color: #555;
}
.pb-mp-badge-publish { background: #e8f7ec; color: #1c5c30; }
.pb-mp-badge-pending { background: #fff4e0; color: #8a5a00; }
.pb-mp-badge-draft   { background: #f0f0f0; color: #555; }

@media (max-width: 600px) {
	.pb-mp-form-row { grid-template-columns: 1fr; }
	.pb-mp-search-form { flex-direction: column; align-items: stretch; }
}
