/* WPGenie Public Shortcode Styles */
:root {
	--wpg-primary: #6C5CE7;
	--wpg-primary-dark: #5b4cc4;
	--wpg-success: #00b894;
	--wpg-warning: #fdcb6e;
	--wpg-danger: #d63031;
	--wpg-dark: #2d3436;
	--wpg-gray: #636e72;
	--wpg-bg: #f8f9fa;
	--wpg-border: #e9ecef;
}

.wpgenie-public-container {
	max-width: 900px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--wpg-dark);
}

/* Step Tracker */
.wpgenie-steps {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
	background: var(--wpg-bg);
	border-radius: 8px;
	padding: 15px 20px;
	border: 1px solid var(--wpg-border);
}
.wpgenie-steps .step {
	flex: 1;
	text-align: center;
	color: var(--wpg-gray);
	font-weight: 600;
	position: relative;
}
.wpgenie-steps .step.active {
	color: var(--wpg-primary);
}
.wpgenie-steps .step:not(:last-child)::after {
	content: "›";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #ccc;
	font-size: 20px;
}

/* Content Areas */
.wpgenie-step-content {
	display: none;
	animation: fadeIn 0.3s ease;
}
.wpgenie-step-content.active {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Plan Cards */
.wpgenie-plans {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.wpgenie-plan-card {
	flex: 1;
	min-width: 250px;
	background: #fff;
	border: 1px solid var(--wpg-border);
	border-radius: 12px;
	padding: 25px;
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
	position: relative;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.wpgenie-plan-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.wpgenie-plan-card.popular {
	border-color: var(--wpg-primary);
	box-shadow: 0 8px 15px rgba(108, 92, 231, 0.15);
}
.popular-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--wpg-warning);
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
	white-space: nowrap;
}
.plan-header h3 {
	margin: 0 0 10px 0;
	font-size: 20px;
}
.plan-header .price {
	font-size: 32px;
	font-weight: 700;
	color: var(--wpg-dark);
	margin-bottom: 20px;
}
.plan-header .price span {
	font-size: 14px;
	color: var(--wpg-gray);
	font-weight: normal;
}
.features {
	list-style: none;
	padding: 0;
	margin: 0 0 25px 0;
	text-align: left;
}
.features li {
	padding: 8px 0;
	border-bottom: 1px solid var(--wpg-bg);
	color: var(--wpg-gray);
	font-size: 14px;
}
.features li:last-child {
	border-bottom: none;
}

/* Payment Box */
.payment-box {
	background: #fff;
	border: 1px solid var(--wpg-border);
	border-radius: 12px;
	padding: 40px;
	text-align: center;
	max-width: 500px;
	margin: 0 auto;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.pay-amount {
	font-size: 18px;
	margin-bottom: 20px;
}
.pay-amount strong {
	font-size: 24px;
	color: var(--wpg-primary);
}
.upi-details {
	background: var(--wpg-bg);
	padding: 15px;
	border-radius: 8px;
	font-size: 18px;
	margin-bottom: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.copy-upi {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 20px;
	padding: 5px;
	border-radius: 4px;
}
.copy-upi:hover {
	background: #e2e2e2;
}
.qr-container {
	margin: 0 auto 20px;
	padding: 10px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	display: inline-block;
}

/* Form Styles */
.wpgenie-form {
	max-width: 500px;
	margin: 0 auto;
	background: #fff;
	padding: 30px;
	border-radius: 12px;
	border: 1px solid var(--wpg-border);
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.form-group {
	margin-bottom: 20px;
	text-align: left;
}
.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--wpg-dark);
}
.form-group input[type="text"],
.form-group input[type="email"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 16px;
	box-sizing: border-box;
}
.form-group input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px dashed #ccc;
	border-radius: 6px;
	background: var(--wpg-bg);
}
.form-group small {
	display: block;
	margin-top: 5px;
	color: var(--wpg-gray);
	font-size: 12px;
}

/* Buttons & Actions */
.step-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}
.wpgenie-btn {
	background: var(--wpg-primary);
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	width: 100%;
}
.wpgenie-btn:hover {
	background: var(--wpg-primary-dark);
}
.wpgenie-btn:disabled {
	background: #a29bfe;
	cursor: not-allowed;
}
.step-actions .wpgenie-btn {
	width: auto;
}
.wpgenie-btn-outline {
	background: transparent;
	color: var(--wpg-dark);
	border: 1px solid #ccc;
	padding: 12px 24px;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
}
.wpgenie-btn-outline:hover {
	background: var(--wpg-bg);
}

.form-message {
	padding: 15px;
	border-radius: 6px;
	margin-bottom: 20px;
	font-weight: 600;
}
.form-message.error {
	background: #fde8e8;
	color: var(--wpg-danger);
	border: 1px solid #fbd5d5;
}

/* Success Screen */
.success-box {
	text-align: center;
	padding: 50px 20px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid var(--wpg-success);
	box-shadow: 0 4px 15px rgba(0, 184, 148, 0.1);
}
.success-box .icon {
	font-size: 60px;
	margin-bottom: 20px;
}

.wpgenie-renewal-check {
	text-align: center;
	margin-bottom: 30px;
}
