/* AI Search Theme - My Account Page Styles */

:root {
	--bg-dark: #1a1f36;
	--bg-card: #252b48;
	--text-primary: #ffffff;
	--text-secondary: #a0aec0;
	--accent-purple: #a855f7;
	--accent-pink: #ec4899;
	--accent-cyan: #06b6d4;
	--accent-green: #10b981;
}

/* Auth Container */
.ai-search-auth-container {
	max-width: 950px;
	margin: 3rem auto;
	padding: 2rem;
}

/* Auth Wrapper - Side by Side Layout */
.auth-wrapper {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 2rem;
	align-items: center;
	background: rgba(37, 43, 72, 0.8);
	border: 1px solid rgba(168, 85, 247, 0.2);
	border-radius: 16px;
	padding: 2.5rem;
	margin-bottom: 2rem;
}

.auth-section {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.login-section {
	padding-right: 1rem;
}

.register-section {
	padding-left: 1rem;
}

/* Auth Headers */
.auth-header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.auth-header h2 {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
}

.auth-header p {
	margin: 0;
	color: #cbd5e1;
	font-size: 0.9rem;
	line-height: 1.4;
}

/* Auth Divider */
.auth-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 100%;
	min-height: 300px;
}

.auth-divider::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: linear-gradient(to bottom, transparent, rgba(168, 85, 247, 0.3), transparent);
	transform: translateX(-50%);
}

.auth-divider span {
	background: rgba(37, 43, 72, 0.95);
	padding: 0.5rem 1rem;
	border: 1px solid rgba(168, 85, 247, 0.3);
	border-radius: 20px;
	color: #aab4ca;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	z-index: 1;
}

/* Auth Headers */
.auth-header {
	margin-bottom: 1.5rem;
	text-align: left;
}

.auth-header h2 {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
	text-align: left !important;
}

.auth-header p {
	margin: 0;
	color: #cbd5e1;
	font-size: 0.9rem;
	line-height: 1.4;
	text-align: left !important;
}

/* Login Section */
.login-section .auth-form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.login-section .auth-form .woocommerce-form-login {
	margin: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
}

form.woocommerce-form-login .form-row, .login-section .auth-form .woocommerce-form-row {
	margin-bottom: 1.25rem;
	width: 100%;
}

.login-section .auth-form label {
	display: block;
	margin: 0 0 0.4rem;
	color: #94a3b8;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.login-section .auth-form input[type="text"],
.login-section .auth-form input[type="email"],
.login-section .auth-form input[type="password"] {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid rgba(168, 85, 247, 0.3);
	border-radius: 6px;
	background: #0f172a;
	color: #cbd5e1;
	font-size: 0.9rem;
	transition: all 0.2s ease;
	box-sizing: border-box;
	font: inherit;
}

.login-section .auth-form input[type="text"]:focus,
.login-section .auth-form input[type="email"]:focus,
.login-section .auth-form input[type="password"]:focus {
	border-color: var(--accent-cyan);
	background: #131f35;
	outline: none;
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* Checkbox */
.login-section .auth-form .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	justify-content: left;
	gap: 0.5rem;
	color: #cbd5e1;
	font-size: 0.85rem;
	font-weight: 500;
	margin-bottom: 1.75rem;
	width: 100%;
}

.login-section .auth-form input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--accent-purple);
	cursor: pointer;
}

/* Login Button */
.login-section .auth-form .woocommerce-Button {
	width: auto;
	padding: 0.75rem 2rem;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
	color: #ffffff;
	border: 0;
	border-radius: 6px;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.2s ease;
	margin: 0.5rem auto 0;
	box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25);
	text-transform: capitalize;
	min-width: 120px;
	text-align: center;
}

.login-section .auth-form .woocommerce-Button:hover {
	opacity: 0.9;
	box-shadow: 0 6px 16px rgba(168, 85, 247, 0.35);
	transform: translateY(-1px);
}

/* Auth Footer */
.auth-footer {
	text-align: center;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(168, 85, 247, 0.15);
	width: 100%;
}

.auth-footer p {
	margin: 0;
	color: #a0aec0;
	font-size: 0.8rem;
	line-height: 1.4;
}

.auth-footer a {
	color: #c084fc;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.auth-footer a:hover {
	color: var(--accent-pink);
}

/* Register Section */
.register-benefits {
	margin-bottom: 1.5rem;
}

.register-benefits ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.register-benefits li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.9rem;
	color: #cbd5e1;
	font-size: 0.9rem;
}

.register-benefits li:last-child {
	margin-bottom: 0;
}

.register-benefits i {
	color: var(--accent-green);
	font-size: 1rem;
	flex-shrink: 0;
}

/* Register Action */
.register-action {
	text-align: center;
}

.button.woocommerce-form-login__submit, .btn-register-now {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.9rem 1.8rem;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	border-radius: 6px;
	transition: all 0.2s ease;
	margin-bottom: 0.75rem;
	box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25);
	border: 0;
	cursor: pointer;
}

.btn-register-now:hover {
	opacity: 0.9;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(168, 85, 247, 0.35);
}

.btn-register-now i {
	transition: transform 0.2s ease;
	font-size: 1.1rem;
}

.btn-register-now:hover i {
	transform: translateX(2px);
}

.register-note {
	margin: 0.75rem 0 0;
	color: #a0aec0;
	font-size: 0.8rem;
	line-height: 1.4;
}

/* Trust Indicators */
.auth-trust-indicators {
	display: flex;
	justify-content: center;
	gap: 3rem;
	background: rgba(37, 43, 72, 0.5);
	border: 1px solid rgba(168, 85, 247, 0.15);
	border-radius: 12px;
	padding: 1.5rem;
	margin-top: 1rem;
}

.trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: #a0aec0;
	font-size: 0.8rem;
	font-weight: 500;
}

.trust-item i {
	font-size: 1.5rem;
	color: var(--accent-green);
}

/* Selected Plan Display */
.selected-plan-display {
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: 8px;
	padding: 1rem;
	margin-top: 1rem;
	text-align: center;
}

.selected-plan-display h4 {
	margin: 0 0 0.4rem;
	color: #34d399;
	font-size: 0.85rem;
	font-weight: 700;
}

.selected-plan-display p {
	margin: 0 0 1rem;
	color: #cbd5e1;
	font-size: 1rem;
}

.btn-proceed-checkout {
	display: inline-block;
	padding: 0.7rem 1.5rem;
	background: linear-gradient(135deg, #10b981, #059669);
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.85rem;
	border-radius: 6px;
	transition: all 0.2s ease;
	border: 0;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-proceed-checkout:hover {
	opacity: 0.9;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* Responsive Design */
@media (max-width: 992px) {
	.auth-wrapper {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1.75rem;
	}

	.auth-section {
		padding: 0 !important;
	}

	.login-section,
	.register-section {
		padding: 0 !important;
	}

	.auth-divider {
		order: 2;
		height: auto;
		min-height: auto;
		padding: 1rem 0;
	}

	.auth-divider::before {
		width: 100%;
		height: 1px;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
	}

	.login-section {
		order: 1;
	}

	.register-section {
		order: 3;
	}

	.auth-trust-indicators {
		flex-wrap: wrap;
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.ai-search-auth-container {
		padding: 1rem;
		margin: 1.5rem auto;
	}

	.auth-wrapper {
		padding: 1.25rem;
		gap: 1.25rem;
	}

	.auth-header h2 {
		font-size: 1.25rem;
	}

	.auth-header p {
		font-size: 0.85rem;
	}

	.login-section .auth-form input {
		padding: 0.65rem 0.8rem;
		font-size: 0.85rem;
	}

	.btn-register-now {
		padding: 0.8rem 1.5rem;
		font-size: 0.9rem;
	}

	.auth-trust-indicators {
		gap: 1.5rem;
		padding: 1rem;
		flex-direction: column;
	}

	.trust-item {
		flex-direction: row;
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.ai-search-auth-container {
		padding: 0.5rem;
		margin: 1rem auto;
	}

	.auth-wrapper {
		padding: 1rem;
		gap: 1rem;
		grid-template-columns: 1fr;
	}

	.auth-header h2 {
		font-size: 1.1rem;
	}

	.auth-header p {
		font-size: 0.8rem;
	}

	.login-section .auth-form .woocommerce-form-row {
		margin-bottom: 1rem;
	}

	.login-section .auth-form input {
		padding: 0.6rem 0.75rem;
		font-size: 0.8rem;
	}

	.login-section .auth-form label {
		font-size: 0.7rem;
	}

	.login-section .auth-form .woocommerce-Button {
		padding: 0.65rem 1.5rem;
		font-size: 0.85rem;
		min-width: 100px;
	}

	.btn-register-now {
		padding: 0.75rem 1.25rem;
		font-size: 0.85rem;
	}

	.register-benefits li {
		font-size: 0.8rem;
		margin-bottom: 0.75rem;
	}

	.auth-divider span {
		padding: 0.4rem 0.75rem;
		font-size: 0.65rem;
	}

	.auth-trust-indicators {
		gap: 1rem;
		flex-direction: column;
		align-items: center;
	}
}

/* WP Package Store Login Form Override */
.wpps-login-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.wpps-login-wrapper .wpps-auth-container {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
}

.wpps-login-wrapper .wpps-auth-card {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	width: 100% !important;
}

.wpps-login-wrapper .wpps-auth-header {
	display: none !important;
}

.wpps-login-wrapper .wpps-form-group {
	margin-bottom: 1.25rem;
	width: 100%;
}

.wpps-login-wrapper .wpps-form-group label {
	display: block;
	margin: 0 0 0.4rem;
	color: #94a3b8 !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.wpps-login-wrapper .wpps-input-wrap {
	position: relative;
	width: 100%;
}

.wpps-login-wrapper .wpps-input-wrap input {
	width: 100% !important;
	padding: 0.75rem 0.9rem !important;
	border: 1px solid rgba(168, 85, 247, 0.3) !important;
	border-radius: 6px !important;
	background: #0f172a !important;
	color: #cbd5e1 !important;
	font-size: 0.9rem !important;
	transition: all 0.2s ease !important;
	box-sizing: border-box !important;
	font: inherit !important;
}

.wpps-login-wrapper .wpps-input-wrap input:focus {
	border-color: var(--accent-cyan) !important;
	background: #131f35 !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1) !important;
}

.wpps-login-wrapper .wpps-input-icon {
	display: none !important;
}

.wpps-login-wrapper .wpps-auth-options {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	color: #cbd5e1;
	font-size: 0.85rem;
	font-weight: 500;
	margin-bottom: 0.75rem;
	width: 100%;
}

.wpps-login-wrapper .wpps-remember input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	margin: 0 0.5rem 0 0 !important;
	accent-color: var(--accent-purple);
	cursor: pointer;
}

.wpps-login-wrapper .wpps-auth-btn {
	width: auto !important;
	padding: 0.75rem 2rem !important;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	margin: 0.5rem auto 0 !important;
	box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25) !important;
	text-transform: capitalize !important;
	min-width: 120px !important;
	text-align: center !important;
	display: block !important;
}

.wpps-login-wrapper .wpps-auth-btn:hover {
	opacity: 0.9 !important;
	box-shadow: 0 6px 16px rgba(168, 85, 247, 0.35) !important;
	transform: translateY(-1px) !important;
}

.wpps-login-wrapper .wpps-auth-message {
	margin: 1rem 0 !important;
	padding: 0.75rem !important;
	border-radius: 6px !important;
	font-size: 0.85rem !important;
	text-align: center !important;
}

/* Unified WPPS Account Page Styles */
.wpps-account-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 32px 0 48px;
	color: #e2e8f0;
}

.wpps-account-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 28px 30px;
	margin-bottom: 24px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
	border: 1px solid rgba(148, 163, 184, 0.2);
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.wpps-account-brand-block {
	display: flex;
	align-items: center;
	gap: 18px;
}

.wpps-account-avatar-wrap .wpps-avatar {
	border-radius: 50%;
	border: 3px solid rgba(96, 165, 250, 0.55);
	box-shadow: 0 10px 24px rgba(59, 130, 246, 0.2);
}

.wpps-account-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wpps-account-kicker {
	display: inline-block;
	align-self: flex-start;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.12);
	border: 1px solid rgba(96, 165, 250, 0.3);
	color: #bfdbfe;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wpps-account-meta h2 {
	margin: 0;
	color: #f8fbff;
	font-size: clamp(1.8rem, 2vw, 2.4rem);
	line-height: 1.15;
}

.wpps-account-meta p {
	margin: 0;
	color: #cbd5e1;
}

.wpps-account-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.wpps-btn-primary-soft,
.wpps-btn-secondary-soft,
.wpps-btn-danger-soft,
.wpps-account-buy-card {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.4rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid transparent;
	cursor: pointer;
	font-size: 0.9rem;
}

.wpps-btn-primary-soft {
	background: linear-gradient(135deg, #3b82f6, #8b5cf6);
	color: #fff;
}

.wpps-btn-primary-soft:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.wpps-btn-secondary-soft {
	background: rgba(148, 163, 184, 0.08);
	border-color: rgba(148, 163, 184, 0.2);
	color: #dfeaf8;
}

.wpps-btn-secondary-soft:hover {
	color: #ffffff;
	text-decoration: none;
}

.wpps-btn-danger-soft {
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.25);
	color: #fecaca;
}

.wpps-btn-danger-soft:hover {
	color: #fff;
	text-decoration: none;
}

.wpps-account-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.wpps-account-stat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 22px 18px;
	border-radius: 18px;
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
	color: #e2e8f0;
}

.wpps-account-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(59, 130, 246, 0.12);
	font-size: 1.1rem;
	color: #dbeafe;
}

.wpps-account-icon i,
.wpps-order-icon i,
.wpps-no-orders-icon i {
	font-size: inherit;
	line-height: 1;
}

.wpps-account-stat-card strong {
	font-size: 1.55rem;
	font-weight: 800;
	color: #f8fbff;
}

.wpps-account-stat-card span {
	font-size: 0.8rem;
	color: #cbd5e1;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.wpps-account-buy-card {
	border: 1px solid rgba(96, 165, 250, 0.3);
	background: linear-gradient(135deg, rgba(79, 70, 229, 0.18), rgba(168, 85, 247, 0.14));
}

.wpps-account-layout {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.wpps-account-panel,
.wpps-account-main,
.wpps-orders-section {
	width: 100%;
}

.wpps-account-panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.wpps-account-panel-card,
.wpps-orders-section {
	padding: 22px 20px;
	border-radius: 18px;
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.wpps-panel-heading {
	margin-bottom: 16px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #93c5fd;
}

.wpps-profile-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.wpps-profile-list li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.wpps-profile-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.wpps-profile-list label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
}

.wpps-profile-list strong {
	font-size: 0.96rem;
	color: #f8fbff;
}

.wpps-plan-box {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wpps-plan-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.wpps-plan-row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.wpps-plan-row span {
	color: #cbd5e1;
}

.wpps-plan-row strong {
	color: #f8fbff;
}

.wpps-status-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.wpps-status-active {
	background: rgba(16, 185, 129, 0.12);
	color: #86efac;
}

.wpps-credit-summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.wpps-credit-summary div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 10px;
	border-radius: 12px;
	background: rgba(148, 163, 184, 0.05);
}

.wpps-credit-summary small,
.wpps-credit-note {
	color: #94a3b8;
}

.wpps-credit-summary strong {
	font-size: 1.3rem;
	color: #f8fbff;
}

.wpps-credit-progress {
	height: 12px;
	margin: 10px 0 8px;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(148, 163, 184, 0.1);
}

.wpps-credit-bar {
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #5eead4, #60a5fa, #a78bfa);
}

.wpps-full-width {
	width: 100%;
	margin-top: 14px;
}

.wpps-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 18px;
}

.wpps-section-header h3 {
	margin: 0;
	color: #f8fbff;
	font-size: 1.3rem;
}

.wpps-section-header a {
	font-size: 0.82rem;
	font-weight: 600;
	color: #93c5fd;
}

.wpps-orders-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wpps-order-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 16px;
	border-radius: 18px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	background: rgba(15, 23, 42, 0.5);
}

.wpps-order-card.status-active {
	background: rgba(16, 185, 129, 0.06);
	border-color: rgba(16, 185, 129, 0.25);
}

.wpps-order-card.status-expired {
	background: rgba(148, 163, 184, 0.04);
}

.wpps-order-card.status-cancelled {
	background: rgba(239, 68, 68, 0.05);
	border-color: rgba(239, 68, 68, 0.2);
}

.wpps-order-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(96, 165, 250, 0.12);
	font-size: 1.25rem;
	color: #dbeafe;
}

.wpps-order-body {
	flex: 1;
	min-width: 0;
}

.wpps-order-topline {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.wpps-order-topline h4 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	color: #f8fbff;
}

.wpps-order-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wpps-order-meta span {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.08);
	color: #dfeaf8;
	font-size: 0.72rem;
}

.wpps-badge-subscription {
	background: rgba(96, 165, 250, 0.12) !important;
	color: #bfdbfe !important;
}

.wpps-order-price {
	font-size: 1.08rem;
	font-weight: 800;
	color: #f8fbff;
}

.wpps-order-bottomline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.wpps-order-details {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	color: #cbd5e1;
	font-size: 0.8rem;
}

.wpps-order-details code {
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(148, 163, 184, 0.08);
	color: #e2e8f0;
}

.wpps-order-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wpps-order-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.8rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
}

.wpps-order-status-badge.status-active {
	background: rgba(16, 185, 129, 0.14);
	color: #86efac;
}

.wpps-order-status-badge.status-expired,
.wpps-order-status-badge.status-cancelled {
	background: rgba(148, 163, 184, 0.12);
	color: #dbeafe;
}

.wpps-cancel-btn {
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(239, 68, 68, 0.08);
	border: 1px solid rgba(239, 68, 68, 0.25);
	color: #fecaca;
	font-weight: 600;
	cursor: pointer;
}

.wpps-cancel-btn:hover {
	background: rgba(239, 68, 68, 0.14);
}

.wpps-no-orders {
	padding: 42px 18px;
	text-align: center;
	border-radius: 18px;
	background: rgba(15, 23, 42, 0.4);
	border: 1px dashed rgba(148, 163, 184, 0.18);
}

.wpps-no-orders-icon {
	font-size: 2.5rem;
	margin-bottom: 12px;
}

.wpps-no-orders h4 {
	margin: 0 0 8px;
	color: #f8fbff;
}

.wpps-no-orders p {
	margin: 0 0 18px;
	color: #cbd5e1;
}

#buyCreditsBtnAccount {
	background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
	border: none !important;
	font-size: 0.875rem;
}

#buyCreditsBtnAccount:hover {
	background: linear-gradient(135deg, #4338ca, #6d28d9) !important;
}

.credit-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(2, 6, 23, 0.72);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.credit-modal-content {
	background: #fff;
	border-radius: 18px;
	width: min(90%, 820px);
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 30px 60px rgba(15, 23, 42, 0.3);
}

.credit-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid #e2e8f0;
}

.credit-modal-header h3 {
	margin: 0;
	font-size: 1.45rem;
	color: #111827;
}

.credit-modal-close {
	background: transparent;
	border: 0;
	font-size: 1.8rem;
	color: #475569;
	cursor: pointer;
}

.credit-modal-body {
	padding: 24px;
	color: #334155;
}

.credit-packs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin: 18px 0 30px;
}

.credit-pack-option {
	padding: 18px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #f8fafc;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.credit-pack-option:hover {
	transform: translateY(-2px);
	border-color: rgba(79, 70, 229, 0.5);
	box-shadow: 0 12px 22px rgba(79, 70, 229, 0.08);
}

.credit-pack-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.credit-pack-header h4 {
	margin: 0;
	font-size: 1.05rem;
	color: #111827;
}

.credit-pack-header span {
	font-size: 1.1rem;
	font-weight: 700;
	color: #4f46e5;
}

.credit-pack-option p {
	margin: 0 0 14px;
	color: #475569;
}

.credit-pack-option button,
.custom-credit-form button {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #4f46e5, #7c3aed);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.credit-custom-section {
	padding-top: 22px;
	border-top: 1px solid #e2e8f0;
}

.credit-custom-section h4 {
	margin: 0 0 12px;
	color: #111827;
}

.custom-credit-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.custom-credit-form label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #475569;
}

.custom-credit-form input {
	width: 160px;
	padding: 0.7rem 0.8rem;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 1rem;
}

.credit-price-display {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-weight: 700;
	color: #4f46e5;
}

.credit-price-display small {
	font-size: 0.8rem;
	color: #64748b;
}

.wpps-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.72);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.wpps-modal {
	position: relative;
	width: min(92%, 560px);
	padding: 26px 22px 18px;
	border-radius: 20px;
	background: #fff;
	color: #111827;
	box-shadow: 0 28px 70px rgba(15, 23, 42, 0.26);
}

.wpps-modal-close {
	position: absolute;
	top: 16px;
	right: 18px;
	background: transparent;
	border: 0;
	font-size: 1.8rem;
	cursor: pointer;
	color: #475569;
}

.wpps-modal-icon {
	font-size: 2rem;
	margin-bottom: 12px;
}

.wpps-modal-title {
	margin: 0 0 8px;
	font-size: 1.5rem;
}

.wpps-modal-subtitle {
	margin: 0 0 18px;
	color: #475569;
}

.wpps-modal-question {
	margin: 0 0 10px;
	font-weight: 600;
}

.wpps-reason-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 12px;
	margin-bottom: 16px;
}

.wpps-reason-options label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	color: #334155;
}

.wpps-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 16px;
}

.wpps-modal-btn-secondary,
.wpps-modal-btn-danger {
	padding: 0.75rem 1.1rem;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
}

.wpps-modal-btn-secondary {
	background: #e2e8f0;
	border: 0;
	color: #111827;
}

.wpps-modal-btn-danger {
	background: #ef4444;
	border: 0;
	color: #fff;
}

@media (max-width: 980px) {
	.wpps-account-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wpps-account-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.wpps-account-hero {
		padding: 20px 18px;
		flex-direction: column;
		align-items: flex-start;
	}

	.wpps-account-actions {
		justify-content: flex-start;
	}

	.wpps-account-stat-grid,
	.wpps-reason-options {
		grid-template-columns: 1fr;
	}

	.wpps-order-topline,
	.wpps-order-bottomline {
		flex-direction: column;
		align-items: flex-start;
	}

	.wpps-account-shell {
		padding-top: 18px;
	}
}

.credit-pack-option {
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	transition: all 0.3s ease;
	cursor: pointer;
	background: white;
}

.credit-pack-option:hover {
	border-color: #4f46e5;
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
	transform: translateY(-2px);
}

.credit-pack-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.credit-pack-header h4 {
	margin: 0;
	color: #111827;
	font-size: 1.1rem;
	font-weight: 600;
}

.credit-pack-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: #4f46e5;
}

.credit-pack-details {
	margin-bottom: 16px;
}

.credits-amount {
	font-size: 1rem;
	color: #111827;
	font-weight: 500;
	margin-bottom: 4px;
}

.price-per-credit {
	font-size: 0.875rem;
	color: #6b7280;
}

.credit-pack-buy {
	width: 100%;
	background: #4f46e5;
	color: white;
	border: none;
	padding: 10px 16px;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.credit-pack-buy:hover {
	background: #4338ca;
}

/* Custom Credit Purchase */
.credit-custom-section {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid #e5e7eb;
}

.credit-custom-section h4 {
	margin: 0 0 16px 0;
	color: #111827;
	text-align: center;
}

.custom-credit-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
}

.custom-credit-form label {
	font-weight: 500;
	color: #374151;
	margin: 0;
}

.custom-credit-form input {
	width: 120px;
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	text-align: center;
	font-size: 1rem;
}

.credit-price-display {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.credit-price-display span:first-child {
	font-size: 1.5rem;
	font-weight: 700;
	color: #4f46e5;
}

.price-per-credit-info {
	font-size: 0.875rem;
	color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
	.credit-packs-grid {
		grid-template-columns: 1fr;
	}
	
	.credit-modal-content {
		width: 95%;
		margin: 20px;
	}
}