/**
 * Mesaleh V2 — Kashier Checkout Icons
 * @version 1.0.0
 */

.payment_method_kashier_card .ms-v2-kashier-pay-icon {
	display: inline-flex;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 26px;
	margin-inline-start: 6px;
	vertical-align: middle;
	border-radius: 5px;
	box-sizing: border-box;
	line-height: 1;
	flex: 0 0 auto;
}

/* Generic card */
.payment_method_kashier_card .ms-v2-kashier-card-icon {
	border: 1px solid #cbd5e1;
	background: #fff;
}

.payment_method_kashier_card .ms-v2-kashier-card-icon::before {
	content: "";
	position: absolute;
	inset-inline: 5px;
	top: 7px;
	height: 4px;
	background: #354963;
	border-radius: 1px;
}

.payment_method_kashier_card .ms-v2-kashier-card-icon span {
	position: absolute;
	inset-inline-start: 6px;
	bottom: 5px;
	width: 9px;
	height: 3px;
	border-radius: 1px;
	background: #dce3ea;
}

/* Visa */
.payment_method_kashier_card .ms-v2-kashier-visa-icon {
	border: 1px solid #dbe3ed;
	background: #fff;
	color: #1a1f71;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: -0.4px;
}

/* Mastercard */
.payment_method_kashier_card .ms-v2-kashier-mastercard-icon {
	border: 1px solid #dbe3ed;
	background: #fff;
}

.payment_method_kashier_card .ms-v2-mc-circle {
	position: absolute;
	width: 16px;
	height: 16px;
	top: 4px;
	border-radius: 50%;
}

.payment_method_kashier_card .ms-v2-mc-left {
	inset-inline-start: 8px;
	background: #eb001b;
}

.payment_method_kashier_card .ms-v2-mc-right {
	inset-inline-end: 8px;
	background: #f79e1b;
	opacity: .94;
}

/* Meeza */
.payment_method_kashier_card .ms-v2-kashier-meeza-icon {
	border: 1px solid #dbe3ed;
	background: #fff;
	color: #354963;
	font-family: Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: -.2px;
}

/* Keep Kashier label clean and vertically aligned */
.payment_method_kashier_card > label {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 3px;
}

/* Prevent legacy broken Kashier images from taking space */
.payment_method_kashier_card > label > img.kashier-icon {
	display: none !important;
}

/* Mobile */
@media (max-width: 640px) {
	.payment_method_kashier_card .ms-v2-kashier-pay-icon {
		width: 38px;
		height: 24px;
		margin-inline-start: 4px;
	}

	.payment_method_kashier_card .ms-v2-mc-circle {
		width: 15px;
		height: 15px;
	}
}

/* ==========================================================
   MESALEH V2 — KASHIER PRESENTATION v1.1.0
   ========================================================== */

.payment_method_kashier_card .ms-v2-kashier-icons {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-inline-start: 8px;
	vertical-align: middle;
	flex-wrap: nowrap;
}

.payment_method_kashier_card .ms-v2-kashier-pay-icon {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.payment_method_kashier_card .ms-v2-kashier-egp-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 8px;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #d9e7f7;
	border-radius: 8px;
	background: #eef5fd;
	color: #354963;
	font-size: 13px;
	line-height: 1.7;
}

.payment_method_kashier_card .ms-v2-kashier-egp-notice strong {
	color: #1b2430;
	font-weight: 700;
}

.payment_method_kashier_card .ms-v2-kashier-egp-amount {
	color: #2f855a;
	font-weight: 800;
}

.payment_method_kashier_card .ms-v2-kashier-egp-notice small {
	width: 100%;
	color: #68768a;
	font-size: 11px;
}

@media (max-width: 640px) {
	.payment_method_kashier_card .ms-v2-kashier-icons {
		width: 100%;
		margin-top: 8px;
		margin-inline-start: 0;
	}

	.payment_method_kashier_card .ms-v2-kashier-egp-notice {
		font-size: 12px;
	}
}

/* ==========================================================
   MESALEH V2 — KASHIER WALLET UI v1.2.0
   ========================================================== */

.payment_method_kashier_wallet .ms-v2-kashier-wallet-icon {
	display: inline-flex;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 26px;
	margin-inline-start: 7px;
	border: 1px solid #dbe3ed;
	border-radius: 5px;
	background: #fff;
	vertical-align: middle;
	box-sizing: border-box;
}

.payment_method_kashier_wallet .ms-v2-wallet-body {
	position: relative;
	display: block;
	width: 24px;
	height: 15px;
	border: 2px solid #354963;
	border-radius: 4px;
	box-sizing: border-box;
}

.payment_method_kashier_wallet .ms-v2-wallet-body::before {
	content: "";
	position: absolute;
	inset-inline-start: 3px;
	top: -5px;
	width: 16px;
	height: 6px;
	border: 2px solid #354963;
	border-bottom: 0;
	border-radius: 3px 3px 0 0;
	box-sizing: border-box;
}

.payment_method_kashier_wallet .ms-v2-wallet-dot {
	position: absolute;
	inset-inline-end: 9px;
	top: 11px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #4a7cc6;
}

/* Same EGP presentation used by Kashier Card */
.payment_method_kashier_wallet .ms-v2-kashier-egp-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 8px;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #d9e7f7;
	border-radius: 8px;
	background: #eef5fd;
	color: #354963;
	font-size: 13px;
	line-height: 1.7;
}

.payment_method_kashier_wallet .ms-v2-kashier-egp-notice strong {
	color: #1b2430;
	font-weight: 700;
}

.payment_method_kashier_wallet .ms-v2-kashier-egp-amount {
	color: #2f855a;
	font-weight: 800;
}

.payment_method_kashier_wallet .ms-v2-kashier-egp-notice small {
	width: 100%;
	color: #68768a;
	font-size: 11px;
}

.payment_method_kashier_wallet > label {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

@media (max-width: 640px) {
	.payment_method_kashier_wallet .ms-v2-kashier-wallet-icon {
		width: 38px;
		height: 24px;
		margin-inline-start: 4px;
	}

	.payment_method_kashier_wallet .ms-v2-kashier-egp-notice {
		font-size: 12px;
	}
}
