/* RankNewly Guest Post Marketplace — front-end styles */

.rngm-form-wrap,
.rngm-listings-wrap {
	max-width: 900px;
	margin: 0 auto 40px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1c2536;
}

.rngm-alert {
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 14px;
}
.rngm-alert-success { background: #e6f7ee; color: #157a45; border: 1px solid #b6e8cd; }
.rngm-alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }

.rngm-intro {
	background: #eaf2ff;
	border: 1px solid #d5e6ff;
	border-radius: 12px;
	padding: 16px 20px;
	font-size: 14px;
	color: #12233d;
	margin-bottom: 20px;
	line-height: 1.6;
}

.rngm-linktype {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}
.rngm-linktype-dofollow { background: #e6f7ee; color: #157a45; }
.rngm-linktype-nofollow { background: #fdecec; color: #b3261e; }

.rngm-badge-dr { background: #fff1e6; color: #ff8c3d; }

.rngm-order-btn {
	display: inline-block;
	background: #17a673;
	color: #fff !important;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}
.rngm-order-btn:hover { background: #ff8c3d; }

.rngm-order-form-wrap {
	background: #fff;
	border: 1px solid #e6edf5;
	border-radius: 16px;
	padding: 26px;
	margin-top: 24px;
	box-shadow: 0 10px 30px rgba(11, 30, 58, 0.06);
	scroll-margin-top: 20px;
}
.rngm-order-form-wrap h3 {
	margin: 0 0 6px;
	font-size: 18px;
	color: #0b1e3a;
}
.rngm-order-site { color: #1f7aec; }

.rngm-pay-amount {
	font-size: 26px;
	font-weight: 800;
	color: #17a673;
	background: #e6f7ee;
	border-radius: 10px;
	padding: 10px 16px;
	display: inline-block;
}

.rngm-form {
	background: #ffffff;
	border: 1px solid #e6edf5;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 10px 30px rgba(11, 30, 58, 0.06);
	margin-bottom: 40px;
}

.rngm-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
@media (max-width: 600px) {
	.rngm-row { grid-template-columns: 1fr; }
}

.rngm-field {
	margin-bottom: 16px;
}
.rngm-field label {
	display: block;
	font-weight: 600;
	font-size: 13.5px;
	margin-bottom: 6px;
	color: #0b1e3a;
}
.rngm-field input,
.rngm-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #dfe6ef;
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
}
.rngm-field input:focus,
.rngm-field textarea:focus {
	outline: none;
	border-color: #1f7aec;
}
.rngm-hint {
	display: block;
	font-size: 12px;
	color: #6c7789;
	margin-top: 4px;
}

.rngm-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.rngm-btn {
	background: linear-gradient(135deg, #1f7aec, #4fa3ff);
	color: #fff;
	border: none;
	padding: 13px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
	width: 100%;
}
.rngm-btn:hover { background: #ff8c3d; }

/* Listings table */
.rngm-sort-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 13.5px;
	color: #6c7789;
}
.rngm-sort-links a {
	color: #1f7aec;
	text-decoration: none;
	margin-left: 14px;
	font-weight: 600;
}
.rngm-sort-links a:hover { color: #ff8c3d; }

.rngm-table-scroll {
	overflow-x: auto;
	border: 1px solid #e6edf5;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(11, 30, 58, 0.06);
}

.rngm-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	min-width: 560px;
}
.rngm-table th {
	background: #0b1e3a;
	color: #fff;
	text-align: left;
	padding: 12px 16px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.rngm-table td {
	padding: 13px 16px;
	border-bottom: 1px solid #eef2f7;
	font-size: 14px;
}
.rngm-table tr:last-child td { border-bottom: none; }
.rngm-table tr:hover td { background: #f8fafd; }

.rngm-site-cell a {
	color: #1f7aec;
	font-weight: 600;
	text-decoration: none;
}
.rngm-site-cell a:hover { color: #ff8c3d; }

.rngm-sample-link {
	color: #17a673;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
	border-bottom: 1px dashed #17a673;
}
.rngm-sample-link:hover { color: #ff8c3d; border-color: #ff8c3d; }

.rngm-badge {
	display: inline-block;
	background: #eaf2ff;
	color: #1f7aec;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12.5px;
}

.rngm-price {
	font-weight: 700;
	color: #17a673;
}

.rngm-empty {
	text-align: center;
	color: #6c7789;
	padding: 30px 16px;
}
