.mpesa-stk-wrap {
	max-width: 420px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mpesa-stk-card {
	background: #ffffff;
	border-radius: 18px;
	padding: 32px 30px 28px 30px;
	box-shadow: 0 1px 2px rgba(20,20,43,0.04), 0 8px 24px rgba(20,20,43,0.06);
	border: 1px solid #eef0f3;
}

.mpesa-stk-header h2 {
	font-size: 24px;
	font-weight: 800;
	color: #14142b;
	margin: 0 0 18px 0;
	letter-spacing: -0.01em;
}

.mpesa-stk-divider {
	border: none;
	border-top: 1px solid #ebedf1;
	margin: 0 0 22px 0;
}

.mpesa-stk-method {
	margin-bottom: 24px;
}

.mpesa-stk-method-label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #14142b;
	margin-bottom: 12px;
}

.mpesa-stk-method-options {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}

.mpesa-stk-method-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: #14142b;
}

.mpesa-stk-method-pill.is-disabled {
	color: #b4b8c6;
}

.mpesa-stk-radio {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #d6d9e0;
	display: inline-block;
	position: relative;
	flex-shrink: 0;
}

.mpesa-stk-radio.is-checked {
	border-color: #17a047;
}

.mpesa-stk-radio.is-checked::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #17a047;
	transform: translate(-50%, -50%);
}

.mpesa-stk-field {
	margin-bottom: 18px;
}

.mpesa-stk-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
	font-size: 14px;
	color: #14142b;
}

.mpesa-stk-field input {
	width: 100%;
	padding: 13px 14px;
	border: 1.5px solid #e1e3e9;
	border-radius: 10px;
	font-size: 15.5px;
	box-sizing: border-box;
	color: #14142b;
	background: #fff;
	transition: border-color 0.15s ease;
}

.mpesa-stk-field input::placeholder {
	color: #b4b8c6;
}

.mpesa-stk-field input:focus {
	outline: none;
	border-color: #17a047;
	box-shadow: 0 0 0 3px rgba(23,160,71,0.12);
}

.mpesa-stk-amount-wrap {
	display: flex;
	align-items: stretch;
	border: 1.5px solid #e1e3e9;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.mpesa-stk-amount-wrap:focus-within {
	border-color: #17a047;
	box-shadow: 0 0 0 3px rgba(23,160,71,0.12);
}

.mpesa-stk-amount-prefix {
	background: #f7f8fa;
	color: #6b7280;
	font-weight: 700;
	font-size: 14.5px;
	display: flex;
	align-items: center;
	padding: 0 14px;
	border-right: 1.5px solid #e1e3e9;
}

.mpesa-stk-amount-input {
	border: none !important;
	border-radius: 0 !important;
	flex: 1;
}

.mpesa-stk-amount-input:focus {
	box-shadow: none !important;
}

.mpesa-stk-save {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	color: #9296a8;
	margin-bottom: 22px;
	cursor: default;
}

.mpesa-stk-save input {
	width: 16px;
	height: 16px;
}

.mpesa-stk-submit {
	width: 100%;
	background: #17a047;
	color: #fff;
	border: none;
	padding: 16px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	letter-spacing: 0.01em;
	transition: background 0.15s ease, transform 0.05s ease;
}

.mpesa-stk-submit:hover:not(:disabled) {
	background: #148a3d;
}

.mpesa-stk-submit:active:not(:disabled) {
	transform: scale(0.99);
}

.mpesa-stk-submit:disabled {
	background: #a8d4b6;
	cursor: not-allowed;
}

.mpesa-stk-status {
	margin-top: 14px;
	font-size: 14px;
	min-height: 18px;
	font-weight: 600;
	text-align: center;
}

.mpesa-stk-status.is-error {
	color: #d23b3b;
}

.mpesa-stk-status.is-success {
	color: #17a047;
}

.mpesa-stk-disclaimer {
	margin: 16px 0 0 0;
	font-size: 12.5px;
	color: #9296a8;
	text-align: center;
	line-height: 1.5;
}

@media (max-width: 460px) {
	.mpesa-stk-card {
		padding: 24px 20px 22px 20px;
		border-radius: 14px;
	}
	.mpesa-stk-header h2 {
		font-size: 21px;
	}
}

.mpesa-stk-manual {
	margin-top: 16px;
	padding: 16px 16px;
	background: #fff8ec;
	border: 1px solid #ffe2b0;
	border-radius: 10px;
}

.mpesa-stk-manual-title {
	font-weight: 700;
	font-size: 13.5px;
	color: #92620a;
	margin: 0 0 8px 0;
}

.mpesa-stk-manual-steps {
	margin: 0;
	padding-left: 20px;
	font-size: 13px;
	color: #5b4419;
	line-height: 1.6;
}

.mpesa-stk-manual-steps li {
	margin-bottom: 4px;
}
