/**
 * GiveWP Paytota Gateway Frontend Styles
 * Brand Primary: #003595 | Evangelism Explosion Uganda
 */

.give-paytota-checkout-box,
.give-paytota-vfb-card {
	font-family: "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #ffffff;
	border: 1px solid #d8e1ee;
	border-radius: 10px;
	padding: 18px 20px;
	margin: 14px 0;
	box-sizing: border-box;
	color: #1e293b;
}

.give-paytota-legend {
	font-size: 14px;
	font-weight: 700;
	color: #003595;
	padding: 0 6px;
	margin-bottom: 12px;
}

.give-paytota-rails {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.give-paytota-rail-option {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 14px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
	margin: 0;
}

.give-paytota-rail-option:hover {
	border-color: #003595;
	background: #f1f5fd;
}

.give-paytota-rail-option.is-active {
	border-color: #003595;
	background: #eef4ff;
	box-shadow: 0 0 0 2px rgba(0, 53, 149, 0.12);
}

.give-paytota-rail-option input[type="radio"] {
	accent-color: #003595;
	margin-bottom: 4px;
}

.give-paytota-rail-title {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}

.give-paytota-rail-sub {
	font-size: 12px;
	color: #475569;
}

.give-paytota-field-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 6px;
}

.give-paytota-phone-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.give-paytota-phone-input {
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	color: #0f172a;
	background: #ffffff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.give-paytota-phone-input:focus {
	outline: none;
	border-color: #003595;
	box-shadow: 0 0 0 3px rgba(0, 53, 149, 0.14);
}

.give-paytota-network-badge {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 6px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	background: #e2e8f0;
	color: #1e293b;
}

.give-paytota-network-badge.is-mtn {
	background: #fef08a;
	color: #713f12;
}

.give-paytota-network-badge.is-airtel {
	background: #fee2e2;
	color: #991b1b;
}

.give-paytota-network-badge.is-mpesa {
	background: #dcfce7;
	color: #166534;
}

.give-paytota-hint {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #475569;
}

.give-paytota-recurring-badge {
	margin-top: 10px;
	padding: 8px 12px;
	border-radius: 6px;
	background: #eef4ff;
	border-left: 3px solid #003595;
	font-size: 12px;
	color: #003595;
}

/* 5-Minute PIN Approval Modal & Pending Receipt Banner */
.give-paytota-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(15, 23, 42, 0.68);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.give-paytota-modal-card {
	background: #ffffff;
	border-radius: 14px;
	max-width: 440px;
	width: 100%;
	padding: 28px 24px;
	text-align: center;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
	border-top: 5px solid #003595;
}

.give-paytota-modal-title {
	font-size: 19px;
	font-weight: 700;
	color: #003595;
	margin: 12px 0 8px;
}

.give-paytota-modal-body {
	font-size: 14.5px;
	line-height: 1.55;
	color: #334155;
	margin: 0 0 16px;
}

.give-paytota-countdown {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 8px;
	background: #f1f5f9;
	font-size: 13.5px;
	font-weight: 600;
	color: #0f172a;
}

.give-paytota-timer {
	font-family: monospace;
	font-size: 15px;
	color: #003595;
	margin-left: 4px;
}

.give-paytota-pending-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	margin-bottom: 20px;
	border-radius: 10px;
	background: #eef4ff;
	border: 1.5px solid #003595;
	font-family: "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.give-paytota-spinner {
	width: 34px;
	height: 34px;
	min-width: 34px;
	border: 3.5px solid #cbd5e1;
	border-top-color: #003595;
	border-radius: 50%;
	animation: givePaytotaSpin 0.85s linear infinite;
	margin: 0 auto;
}

@keyframes givePaytotaSpin {
	to {
		transform: rotate(360deg);
	}
}
