/* Nellava Marketplus Reseller — tampilan depan.
   Warna sengaja diambil dari currentColor dan variabel tema bila ada, supaya
   panel ini menyatu dengan tema toko dan tidak perlu disesuaikan ulang setiap
   kali tema berganti. */

.nmr-register,
.nmr-panel,
.nmr-gate,
.nmr-lookup,
.nmr-strip,
.nmr-cart-notice {
	box-sizing: border-box;
	margin: 0 0 1.5em;
	padding: 1.25em 1.5em;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 10px;
	background: rgba(0, 0, 0, .015);
}

.nmr-register__title,
.nmr-lookup__title,
.nmr-catalogue__title {
	margin-top: 0;
}

.nmr-benefits {
	margin: 0 0 1.25em;
	padding-left: 1.25em;
}

.nmr-benefits li {
	margin-bottom: .35em;
}

/* ----- Formulir ----- */

.nmr-field {
	display: block;
	margin: 0 0 1em;
}

.nmr-field label {
	display: block;
	margin-bottom: .35em;
	font-weight: 600;
}

.nmr-field input[type="text"],
.nmr-field input[type="email"],
.nmr-field input[type="tel"],
.nmr-lookup__row input[type="text"] {
	width: 100%;
	max-width: 26em;
	padding: .6em .75em;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 6px;
	font-size: 1em;
}

.nmr-field input[readonly] {
	background: rgba(0, 0, 0, .05);
}

.nmr-field--check label {
	display: flex;
	gap: .5em;
	align-items: flex-start;
	font-weight: 400;
}

.nmr-hint {
	display: block;
	margin-top: .35em;
	font-size: .875em;
	opacity: .75;
}

/* Honeypot: harus tidak terlihat manusia tapi tetap terisi oleh bot, jadi
   bukan display:none — sebagian bot melewatkan field yang disembunyikan
   dengan cara itu. */
.nmr-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nmr-submit {
	margin: 1.25em 0 0;
}

.nmr-button {
	display: inline-block;
	padding: .7em 1.6em;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
}

/* ----- Notice ----- */

.nmr-notice {
	margin: 0 0 1.25em;
	padding: .85em 1em;
	border-left: 4px solid currentColor;
	border-radius: 4px;
	background: rgba(0, 0, 0, .04);
}

.nmr-notice--success {
	color: #1d6b3a;
	background: rgba(29, 107, 58, .08);
}

.nmr-notice--error {
	color: #9b2226;
	background: rgba(155, 34, 38, .08);
}

/* ----- Status ----- */

.nmr-panel__status,
.nmr-result__status,
.nmr-strip__status {
	display: inline-block;
	margin: 0 0 .5em;
	padding: .2em .7em;
	border-radius: 999px;
	font-size: .8125em;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.is-verified .nmr-panel__status,
.is-verified .nmr-result__status,
.is-verified .nmr-strip__status {
	color: #12532c;
	background: rgba(29, 107, 58, .15);
}

.is-pending .nmr-panel__status,
.is-pending .nmr-result__status,
.is-pending .nmr-strip__status {
	color: #8a5a00;
	background: rgba(200, 140, 0, .18);
}

.is-blocked .nmr-panel__status,
.is-blocked .nmr-result__status,
.nmr-result--none .nmr-result__status {
	color: #9b2226;
	background: rgba(155, 34, 38, .12);
}

.nmr-panel__name {
	margin: 0 0 1em;
	font-weight: 600;
}

/* ----- Katalog ----- */

.nmr-strip {
	padding: .9em 1.1em;
}

.nmr-strip__detail {
	display: block;
	margin-top: .35em;
	font-size: .9375em;
}

.nmr-badge {
	display: inline-block;
	margin-left: .5em;
	padding: .1em .55em;
	border-radius: 999px;
	background: rgba(29, 107, 58, .12);
	color: #12532c;
	font-size: .75em;
	font-weight: 700;
	vertical-align: middle;
	white-space: nowrap;
}

.nmr-price del {
	opacity: .6;
}

.nmr-price ins {
	text-decoration: none;
	font-weight: 700;
}

.nmr-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: .4em;
	margin: 1.5em 0 0;
	padding: 0;
	list-style: none;
}

.nmr-pagination a,
.nmr-pagination span {
	display: inline-block;
	padding: .35em .8em;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 6px;
	text-decoration: none;
}

.nmr-empty {
	margin: 1.5em 0;
	opacity: .75;
}

/* ----- Notice keranjang ----- */

.nmr-cart-notice__headline {
	margin: 0 0 .6em;
	font-weight: 700;
}

.nmr-cart-notice__detail {
	margin: .6em 0 0;
	font-size: .9375em;
}

.nmr-progress {
	height: 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .1);
	overflow: hidden;
}

.nmr-progress span {
	display: block;
	height: 100%;
	background: #1d6b3a;
}

.nmr-cart-notice.is-short .nmr-progress span {
	background: #c88c00;
}

/* ----- Cek reseller ----- */

.nmr-lookup__row {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
	align-items: center;
}

.nmr-result {
	margin-top: 1.25em;
	padding: 1.25em 1.5em;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 10px;
}

.nmr-result__fields {
	display: grid;
	grid-template-columns: minmax(6em, 10em) 1fr;
	gap: .4em 1em;
	margin: 0 0 1em;
}

.nmr-result__fields dt {
	font-weight: 600;
	opacity: .8;
}

.nmr-result__fields dd {
	margin: 0;
}

.nmr-result__advice {
	margin: 0;
	font-weight: 600;
}

@media (max-width: 480px) {

	.nmr-result__fields {
		grid-template-columns: 1fr;
		gap: 0 0;
	}

	.nmr-result__fields dd {
		margin-bottom: .6em;
	}
}

/* ----- Pilihan mode belanja ----- */

.nmr-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	margin: 0 0 1.5em;
	padding: 1.1em 1.4em;
	border: 1px solid rgba(0, 0, 0, .12);
	border-left-width: 4px;
	border-radius: 10px;
	background: rgba(0, 0, 0, .015);
}

.nmr-mode.is-reseller {
	border-left-color: #1d6b3a;
}

.nmr-mode.is-public {
	border-left-color: #8a5a00;
}

.nmr-mode__text {
	flex: 1 1 20em;
}

.nmr-mode__title {
	margin: 0 0 .3em;
	font-weight: 700;
}

.nmr-mode__detail {
	margin: 0;
	font-size: .9375em;
	opacity: .85;
}

.nmr-mode__action {
	margin: 0;
	flex: 0 0 auto;
}

/* ----- Gerbang password halaman cek reseller ----- */

.nmr-lookup--locked {
	max-width: 34em;
}

.nmr-lookup--locked input[type="password"] {
	width: 100%;
	max-width: 18em;
	padding: .6em .75em;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 6px;
	font-size: 1em;
}

.nmr-lookup__logout {
	margin: 1.5em 0 0;
	font-size: .875em;
	opacity: .75;
}
