/**
 * My Account → Make a Payment.
 * Builds on my-account-plans.css for shared look & feel.
 */

.sm-make-payment .sm-mp__title {
	margin: 0 0 8px;
}

.sm-mp__intro {
	color: #555;
	margin: 0 0 20px;
	max-width: 640px;
}

.sm-mp__empty {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 28px;
	text-align: center;
}

.sm-mp__empty .button {
	margin-top: 8px;
}

/* List + cards */
.sm-mp__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sm-mp__card {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 18px 20px;
}

.sm-mp__plan {
	margin: 0 0 8px;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sm-mp__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: #5b21b6;
	background: #f3e8ff;
	border-radius: 20px;
	padding: 2px 10px;
}

.sm-mp__meta {
	font-size: 0.9rem;
	color: #555;
	margin: 2px 0;
}

.sm-mp__meta span {
	color: #111;
	font-weight: 600;
}

.sm-mp__card-side {
	text-align: right;
	min-width: 160px;
}

.sm-mp__amount {
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.sm-mp__pay {
	width: 100%;
}

.sm-mp__pay:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.sm-mp__note {
	font-size: 0.78rem;
	color: #888;
	margin: 6px 0 0;
}

.sm-mp__result {
	margin-top: 10px;
	font-size: 0.85rem;
	font-weight: 600;
}

.sm-mp__result.is-success { color: #16a34a; }
.sm-mp__result.is-error   { color: #dc2626; }
.sm-mp__result.is-info    { color: #2563eb; }

.sm-mp__manage {
	margin-top: 18px;
	font-size: 0.9rem;
}

/* Modal */
.sm-mp__modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.sm-mp__modal.is-open {
	display: block;
}

.sm-mp__modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.sm-mp__modal-box {
	position: relative;
	max-width: 440px;
	margin: 12vh auto 0;
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.sm-mp__modal-box h3 {
	margin: 0 0 12px;
}

.sm-mp__modal-body {
	color: #444;
	white-space: pre-line;
	margin: 0 0 20px;
}

.sm-mp__modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

@media ( max-width: 600px ) {
	.sm-mp__card {
		flex-direction: column;
	}
	.sm-mp__card-side {
		text-align: left;
		width: 100%;
		min-width: 0;
	}
	.sm-mp__amount {
		display: inline-block;
		margin-right: 12px;
	}
}
