/* ─── Membership Fee Payment Status Card ──────────────────────────────────── */

.rmi-fee-card {
	margin-bottom: 2rem;
}

/* Section title */
.rmi-fee-card__section-title {
	font-size: 1rem;
	font-weight: 700;
	color: #9e6d19;
	margin: 0 0 .875rem;
	padding: 0;
}

/* ── Status card ────────────────────────────────────────────────────────────── */

.rmi-fee-card__status {
	background: #fafafa;
	border: 0.5px solid #c7c7c6;
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
}

.rmi-fee-card__status--empty {
	color: #888;
	font-size: .875rem;
}

/* Header row: icon + content + badge */
.rmi-fee-card__status-header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.rmi-fee-card__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rmi-fee-card__icon svg {
	width: 48px;
	height: 48px;
}

.rmi-fee-card__content {
	flex: 1;
	min-width: 0;
}

.rmi-fee-card__title {
	font-size: .9375rem;
	font-weight: 700;
	margin: 0 0 .3rem;
	color: #1a1a1a;
}

.rmi-fee-card__description {
	font-size: .8125rem;
	color: #555;
	margin: 0;
	line-height: 1.55;
}

.rmi-fee-card__badge-wrap {
	flex-shrink: 0;
	padding-top: .1rem;
}

/* ── Payment Guidelines CTA ─────────────────────────────────────────────────── */

.rmi-fee-card__action {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #ebebeb;
}

.rmi-fee-card__cta {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	background: #9e6d19;
	color: #fff;
	font-weight: 600;
	font-size: .8125rem;
	padding: .5rem 1rem;
	border-radius: 4px;
	text-decoration: none;
	transition: background .15s ease;
}

.rmi-fee-card__cta:hover,
.rmi-fee-card__cta:focus-visible {
	background: #7a5214;
	color: #fff;
}

/* ── Meta info cards ─────────────────────────────────────────────────────────── */

.rmi-fee-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #ebebeb;
}

.rmi-fee-card__meta-item {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: .75rem 1rem;
	min-width: 140px;
}

.rmi-fee-card__meta-label {
	font-size: .7rem;
	font-weight: 600;
	color: #888;
	text-transform: uppercase;
	letter-spacing: .04em;
	display: flex;
	align-items: center;
	gap: .35em;
}

.rmi-fee-card__meta-label svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

.rmi-fee-card__meta-value {
	font-size: .875rem;
	font-weight: 600;
	color: #1a1a1a;
	display: flex;
	flex-direction: column;
	gap: .15rem;
}

.rmi-fee-card__meta-contact-name {
	font-size: .75rem;
	font-weight: 400;
	color: #666;
}

.rmi-fee-card__meta-value a {
	color: #9e6d19;
	text-decoration: none;
	font-size: .8125rem;
	display: inline-flex;
	align-items: center;
	gap: .35em;
}

.rmi-fee-card__meta-value a:hover {
	text-decoration: underline;
}

/* hide duplicate download icon inside link */
.rmi-fee-card__meta-value a svg {
	width: 11px;
	height: 11px;
}

/* ── Footer note ─────────────────────────────────────────────────────────────── */

.rmi-fee-card__footer-note {
	margin-top: .75rem;
	display: flex;
	align-items: center;
	gap: .45rem;
	font-size: .8rem;
	color: #555;
}

.rmi-fee-card__footer-note svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.rmi-fee-card__footer-note a {
	color: #16278f;
	font-weight: 600;
	text-decoration: none;
}

.rmi-fee-card__footer-note a:hover {
	text-decoration: underline;
}

/* ── Payment History ─────────────────────────────────────────────────────────── */

.rmi-fee-card__history {
	margin-top: 1.25rem;
}

.rmi-fee-card__history-title {
	font-size: .875rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 .6rem;
}

.rmi-fee-card__history-item {
	display: flex;
	align-items: center;
	gap: .65rem;
	padding: .5rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.rmi-fee-card__history-icon {
	flex-shrink: 0;
	color: #196034;
}

.rmi-fee-card__history-icon svg {
	width: 17px;
	height: 17px;
	display: block;
}

.rmi-fee-card__history-name {
	flex: 1;
	font-size: .875rem;
	color: #333;
}

.rmi-fee-card__history-amount {
	font-size: .875rem;
	font-weight: 600;
	color: #1a1a1a;
}

.rmi-fee-card__history-note {
	margin-top: .6rem;
	display: flex;
	align-items: center;
	gap: .45rem;
	font-size: .8rem;
	color: #555;
}

.rmi-fee-card__history-note svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.rmi-fee-card__history-note a {
	color: #16278f;
	font-weight: 600;
	text-decoration: none;
}

.rmi-fee-card__history-note a:hover {
	text-decoration: underline;
}

/* ─── Dashboard page layout (Payment Guidelines / Contact Us) ─────────────── */

.rmi-dashboard-page {
	display: flex;
	min-height: 100vh;
	background: #f7f5f0;
}

.rmi-dashboard-page__sidebar {
	flex-shrink: 0;
}

.rmi-dashboard-page__main {
	flex: 1;
	min-width: 0;
	padding: 3rem 3.5rem;
}

.rmi-dashboard-page__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #9e6d19;
	margin: 0 0 2rem;
}

/* ─── Payment Guidelines block ────────────────────────────────────────────── */

.rmi-pg-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2rem;
	align-items: start;
	margin-bottom: 2rem;
}

@media (max-width: 900px) {
	.rmi-pg-layout {
		grid-template-columns: 1fr;
	}
}

.rmi-pg-intro {
	font-size: .9375rem;
	line-height: 1.65;
	color: #333;
}

.rmi-pg-bank-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
}

.rmi-pg-bank-card__icon {
	color: #9e6d19;
	margin-bottom: .5rem;
}

.rmi-pg-bank-card__title {
	font-size: .9375rem;
	font-weight: 700;
	color: #9e6d19;
	margin: 0 0 1rem;
}

.rmi-pg-bank-card__row {
	font-size: .875rem;
	color: #333;
	margin-bottom: .4rem;
	line-height: 1.5;
}

.rmi-pg-bank-card__row strong {
	font-weight: 600;
}

.rmi-pg-important {
	background: #fafafa;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
}

.rmi-pg-important__title {
	font-size: .9375rem;
	font-weight: 700;
	margin: 0 0 .75rem;
	display: flex;
	align-items: center;
	gap: .5rem;
}

.rmi-pg-important__body {
	font-size: .875rem;
	line-height: 1.6;
	color: #444;
}

.rmi-pg-use-of-fees {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	min-height: 300px;
	display: flex;
	align-items: flex-end;
}

.rmi-pg-use-of-fees__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: brightness(0.55);
}

.rmi-pg-use-of-fees__content {
	position: relative;
	padding: 2rem;
	color: #fff;
}

.rmi-pg-use-of-fees__content h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: .75rem;
}

/* ─── Contact Us block ────────────────────────────────────────────────────── */

.rmi-cu-note {
	background: #f5f5f5;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	font-size: .875rem;
	color: #444;
	display: flex;
	gap: .65rem;
	align-items: flex-start;
}

.rmi-cu-note svg {
	flex-shrink: 0;
	margin-top: .1rem;
}

.rmi-cu-note a {
	color: #16278f;
	font-weight: 600;
}

.rmi-cu-form .rmi-cu-form__group {
	margin-bottom: 1.25rem;
}

.rmi-cu-form label {
	display: block;
	font-size: .875rem;
	font-weight: 600;
	margin-bottom: .4rem;
	color: #1a1a1a;
}

.rmi-cu-form input[type="text"],
.rmi-cu-form textarea {
	width: 100%;
	border: none;
	border-bottom: 1px solid #c7c7c6;
	background: transparent;
	padding: .5rem 0;
	font-size: .9375rem;
	color: #1a1a1a;
	outline: none;
	font-family: inherit;
	box-sizing: border-box;
}

.rmi-cu-form input[type="text"]::placeholder,
.rmi-cu-form textarea::placeholder {
	color: #aaa;
}

.rmi-cu-form input[type="text"]:focus,
.rmi-cu-form textarea:focus {
	border-bottom-color: #9e6d19;
}

.rmi-cu-form textarea {
	resize: vertical;
	min-height: 80px;
}

.rmi-cu-form__submit {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.5rem;
}

.rmi-cu-form__btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	background: #9e6d19;
	color: #fff;
	font-weight: 700;
	font-size: .9375rem;
	padding: .65rem 1.5rem;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s ease;
}

.rmi-cu-form__btn:hover {
	background: #7a5214;
}

.rmi-cu-form__btn:disabled {
	opacity: .6;
	cursor: default;
}

.rmi-cu-form__message {
	margin-top: .75rem;
	font-size: .875rem;
	padding: .6rem 1rem;
	border-radius: 4px;
	display: none;
}

.rmi-cu-form__message--success {
	background: #daf0e4;
	color: #196034;
}

.rmi-cu-form__message--error {
	background: #f7e3e0;
	color: #af1c09;
}

/* ─── Dashboard page footer ───────────────────────────────────────────────── */

.rmi-dashboard-footer {
	padding: 2rem 3.5rem;
	border-top: 1px solid #e0e0e0;
	background: #fff;
}

.rmi-dashboard-footer__join {
	font-size: .875rem;
	font-weight: 700;
	margin-bottom: .5rem;
}

.rmi-dashboard-footer__socials {
	display: flex;
	gap: .75rem;
	margin-bottom: 1.5rem;
}

.rmi-dashboard-footer__socials a {
	color: #1a1a1a;
}

.rmi-dashboard-footer__bottom {
	display: flex;
	justify-content: space-between;
	font-size: .75rem;
	color: #888;
}

.rmi-dashboard-footer__bottom a {
	color: #555;
	text-decoration: none;
}

@media (max-width: 768px) {
	.rmi-dashboard-page {
		flex-direction: column;
	}
	.rmi-dashboard-page__main {
		padding: 1.5rem 1rem;
	}
	.rmi-fee-card__status-header {
		flex-wrap: wrap;
	}
	.rmi-fee-card__badge-wrap {
		width: 100%;
		padding-top: 0;
	}
}
