/* Account Page Styles */

.account-container {
	max-width: 800px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.account-title {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 2rem;
	text-align: center;
}

.account-card {
	background: #fff;
	border-radius: 8px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.account-card h2 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.upgrade-card {
	border: 2px solid var(--brand, #10b981);
	background: #ecfdf5;
	text-align: center;
}

.upgrade-card h2 {
	color: var(--brand, #10b981);
}

.danger-card {
	border: 2px solid #ef4444;
	background: #fef2f2;
}

.danger-card h2 {
	color: #ef4444;
}

.referral-box {
	display: flex;
	gap: 0.5rem;
	margin: 1rem 0;
}

.referral-box input {
	flex: 1;
	padding: 0.5rem;
	border: 1px solid var(--gray-300, #d1d5db);
	border-radius: 4px;
}

.delete-info {
	color: var(--gray-600, #4b5563);
	margin-top: 1rem;
	font-size: 0.9rem;
}

/* ✅ Consistent Footer */
.footer {
	margin-top: 3rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--gray-200, #111827);
	text-align: center;
	background-color: #111827;
	color: #4b5563;
}

.footer-links {
	margin-top: 0.5rem;
}

.footer-links a {
	margin: 0 0.75rem;
	color: var(--gray-600, #4b5563);
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--brand, #10b981);
}

/* --- Update Profile Section --- */
.update-profile {
	margin-top: 1.5rem;
	padding: 1rem;
	border-top: 1px solid var(--border-color, #e0e0e0);
	background: var(--card-bg-light, #fafafa);
	border-radius: 6px;
}

.update-profile h3 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	color: var(--text-primary, #333);
}

.update-profile label {
	display: block;
	font-size: 0.9rem;
	font-weight: 500;
	margin: 0.5rem 0 0.25rem;
	color: var(--text-secondary, #555);
}

.update-profile input {
	width: 100%;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--border-color, #ccc);
	border-radius: 4px;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.update-profile input:focus {
	border-color: var(--accent-color, #2a9d8f);
	box-shadow: 0 0 0 2px rgba(42, 157, 143, 0.2);
	outline: none;
}

.update-profile button {
	margin-top: 1rem;
	width: 100%;
}

.verify-box {
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid var(--accent-color, #2a9d8f);
	background: rgba(42, 157, 143, 0.05);
	border-radius: 6px;
	text-align: center;
}

.verify-text {
	font-size: 0.9rem;
	color: var(--text-secondary, #444);
	margin-bottom: 0.75rem;
}

.account-container.loading {
	opacity: 0.6;
	pointer-events: none;
	position: relative;
}
.account-container.loading::after {
	content: "Loading...";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 1rem 2rem;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#install-pwa-card {
	border: 2px solid var(--primary, #10b981);
	background: #ecfdf5;
	text-align: center;
}
#install-pwa-card h2 {
	color: var(--primary, #10b981);
}
#install-pwa-card p {
	margin-bottom: 1rem;
	color: var(--gray-700, #374151);
}
