/**
 * HireU Checkout & Payment Modal Styles
 * Luxury Dark Maroon (#250720) & Royal Gold (#C58B16) Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.hireu-co-overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 10, 20, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	animation: hireuCoFade 0.25s ease;
}

@keyframes hireuCoFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.hireu-co-modal {
	background: #FFFFFF;
	border-radius: 22px;
	width: 100%;
	max-width: 640px;
	max-height: 92vh;
	overflow-y: auto;
	box-shadow: 0 25px 60px -15px rgba(37, 7, 32, 0.4), 0 0 0 1px rgba(197, 139, 22, 0.18);
	position: relative;
	padding: 32px 34px;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
	color: #1F2937;
	animation: hireuCoSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hireuCoSlide {
	from { opacity: 0; transform: translateY(24px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.hireu-co-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #E5E7EB;
	background: #F9FAFB;
	color: #4B5563;
	font-size: 24px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.hireu-co-close:hover {
	background: #250720;
	color: #FFFFFF;
	border-color: #250720;
}

/* Header */
.hireu-co-header {
	text-align: center;
	margin-bottom: 22px;
}

.hireu-co-brand-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #C58B16;
	background: #FFF7ED;
	border: 1px solid #FED7AA;
	padding: 4px 12px;
	border-radius: 9999px;
	margin-bottom: 8px;
}

.hireu-co-header h3 {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 800;
	color: #250720;
}

.hireu-co-subtitle {
	margin: 0;
	font-size: 13.5px;
	color: #6B7280;
	font-weight: 500;
}

/* Order Summary Box */
.hireu-co-summary-box {
	background: #FAF8F5;
	border: 1.5px solid #EFE6D6;
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 20px;
}

.hireu-co-plan-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #EAE0CE;
}

.hireu-co-plan-row h4 {
	margin: 0 0 3px;
	font-size: 17px;
	font-weight: 800;
	color: #250720;
}

.hireu-co-tagline {
	font-size: 12.5px;
	color: #6B7280;
}

.hireu-co-price-tag {
	text-align: right;
}

.hireu-co-curr {
	font-size: 16px;
	font-weight: 700;
	color: #C58B16;
}

#hireu-co-amount-val {
	font-size: 24px;
	font-weight: 800;
	color: #250720;
}

.hireu-co-price-tag small {
	display: block;
	font-size: 10.5px;
	color: #9CA3AF;
	text-transform: uppercase;
}

.hireu-co-features-mini {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 12px;
	font-size: 12.5px;
	color: #4B5563;
}

.hireu-co-feat-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.hireu-co-feat-item svg {
	color: #059669;
	flex-shrink: 0;
}

/* Method Tabs */
.hireu-co-methods-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hireu-co-method-tabs {
	display: flex;
	gap: 8px;
	border-bottom: 1.5px solid #E5E7EB;
	padding-bottom: 6px;
}

.hireu-co-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: transparent;
	font-size: 13.5px;
	font-weight: 700;
	color: #6B7280;
	cursor: pointer;
	transition: all 0.2s ease;
}

.hireu-co-tab:hover {
	color: #250720;
	background: #FAF8F5;
}

.hireu-co-tab.is-active {
	background: #250720;
	color: #FFFFFF;
}

.hireu-co-pane {
	display: none;
}

.hireu-co-pane.is-active {
	display: block;
	animation: hireuCoFade 0.2s ease;
}

/* UPI QR Section */
.hireu-co-qr-section {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 20px;
	align-items: center;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 14px;
	padding: 18px;
}

.hireu-co-qr-frame {
	text-align: center;
	background: #FAF8F5;
	border: 1.5px solid #EAE0CE;
	border-radius: 12px;
	padding: 12px;
}

.hireu-co-qr-frame img {
	width: 170px;
	height: 170px;
	display: block;
	margin: 0 auto;
	border-radius: 6px;
}

.hireu-co-qr-scan-text {
	font-size: 11px;
	font-weight: 700;
	color: #6B7280;
	margin-top: 6px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hireu-co-upi-details {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hireu-co-upi-id-box {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #F9FAFB;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 13px;
}

.hireu-co-upi-id-box .lbl {
	color: #6B7280;
	font-weight: 600;
}

.hireu-co-upi-id-box strong {
	color: #250720;
	flex: 1;
	word-break: break-all;
}

#hireu-co-copy-upi {
	background: #250720;
	color: #FFFFFF;
	border: none;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	cursor: pointer;
	transition: background 0.2s ease;
}

#hireu-co-copy-upi:hover {
	background: #C58B16;
}

/* Mobile App Button */
.hireu-co-mobile-apps {
	display: none;
}

.hireu-co-app-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 8px;
	background: #250720;
	color: #FFFFFF !important;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	transition: all 0.2s ease;
}

.hireu-co-app-btn:hover {
	background: #C58B16;
}

/* UTR Input Row */
.hireu-co-utr-box label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: #374151;
	margin-bottom: 6px;
}

.hireu-co-utr-row {
	display: flex;
	gap: 8px;
}

.hireu-co-utr-row input {
	flex: 1;
	padding: 10px 12px;
	border: 1.5px solid #D1D5DB;
	border-radius: 8px;
	font-size: 13.5px;
	outline: none;
	font-family: inherit;
}

.hireu-co-utr-row input:focus {
	border-color: #C58B16;
}

.hireu-co-pay-btn {
	padding: 10px 20px;
	border-radius: 8px;
	background: linear-gradient(135deg, #CF9005 0%, #B7790E 100%);
	color: #FFFFFF;
	font-size: 13.5px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(197, 139, 22, 0.28);
	transition: all 0.2s ease;
	white-space: nowrap;
}

.hireu-co-pay-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(197, 139, 22, 0.38);
}

.hireu-co-hint {
	display: block;
	font-size: 11.5px;
	color: #9CA3AF;
	margin-top: 5px;
	line-height: 1.35;
}

/* Test Mode Box */
.hireu-co-test-box {
	background: #FFFDF9;
	border: 1.5px dashed #FDE68A;
	border-radius: 14px;
	padding: 24px;
	text-align: center;
}

.hireu-test-icon-badge {
	display: inline-block;
	background: #FEF3C7;
	color: #92400E;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 9999px;
	margin-bottom: 8px;
}

.hireu-co-test-box h4 {
	margin: 0 0 6px;
	font-size: 17px;
	color: #250720;
}

.hireu-co-test-box p {
	font-size: 13px;
	color: #6B7280;
	max-width: 440px;
	margin: 0 auto 16px;
	line-height: 1.45;
}

/* Alerts */
.hireu-co-alert {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 16px;
}

.hireu-co-alert.error {
	background: #FEF2F2;
	color: #B91C1C;
	border: 1px solid #FECACA;
}

.hireu-co-alert.success {
	background: #ECFDF5;
	color: #047857;
	border: 1px solid #A7F3D0;
}

/* Success Screen */
.hireu-co-success-circle {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: linear-gradient(135deg, #10B981 0%, #059669 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35);
	margin-bottom: 18px;
	animation: hireuSuccessPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hireu-co-success-title {
	font-size: 22px;
	font-weight: 800;
	color: #111827;
	margin: 0 0 6px;
}

.hireu-co-success-desc {
	font-size: 14px;
	color: #4B5563;
	margin: 0 0 20px;
}

.hireu-co-order-receipt {
	background: #FAF8F5;
	border: 1px solid #EFE6D6;
	border-radius: 12px;
	padding: 16px 20px;
	text-align: left;
	max-width: 420px;
	margin: 0 auto 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13.5px;
}

.hireu-co-order-receipt strong {
	color: #6B7280;
	display: inline-block;
	width: 130px;
}

.hireu-co-order-receipt span {
	color: #250720;
	font-weight: 700;
}

@media (max-width: 640px) {
	.hireu-co-qr-section {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.hireu-co-mobile-apps {
		display: block;
	}
	.hireu-co-utr-row {
		flex-direction: column;
	}
	.hireu-co-modal {
		padding: 24px 18px;
	}
}