/* styles.css */

body {
	font-family: "Arial", sans-serif;
	background-color: #f8f5f0;
	margin: 0;
	padding: 0;
	color: #333;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

header {
	background: #DBAC5B;
	color: white;
	padding: 20px 0;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
	width: 50px;
	height: 50px;
	object-fit: contain;
	margin-right: auto;
	transition: transform 0.3s;
}

.logo:hover {
	transform: scale(1.05);
}

nav {
	background: #AB1A00;
	color: white;
	display: flex;
	align-items: center;
	padding: 10px 40px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav a {
	color: white;
	text-decoration: none;
	margin-left: 30px;
	transition: all 0.3s;
	font-weight: 500;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
}

nav a:hover {
	background-color: rgba(219, 172, 91, 0.2);
	transform: translateY(-2px);
}

main {
	padding: 40px;
	text-align: left;
	flex: 1;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.dashboard-card {
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	transition: transform 0.3s;
}

.dashboard-card:hover {
	transform: translateY(-5px);
}

button {
	background-color: #DBAC5B;
	color: white;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	cursor: pointer;
	border-radius: 25px;
	transition: all 0.3s;
}

button:hover {
	background-color: #c49844;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

footer {
	text-align: center;
	padding: 15px 0;
	background-color: #AB1A00;
	color: white;
	width: 100%;
}

h1 {
	color: #AB1A00;
	margin-bottom: 30px;
}

.card-title {
	color: #DBAC5B;
	font-size: 1.2em;
	margin-bottom: 15px;
}

.privacy-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
}

.privacy-content h1 {
	color: #AB1A00;
	text-align: center;
	margin-bottom: 20px;
}

.effective-date {
	text-align: center;
	color: #666;
	margin-bottom: 30px;
}

.intro {
	font-size: 1.1em;
	line-height: 1.6;
	margin-bottom: 40px;
	color: #444;
}

.policy-section {
	margin-bottom: 40px;
}

.policy-section h2 {
	color: #DBAC5B;
	font-size: 1.4em;
	margin-bottom: 15px;
}

.policy-section ul {
	list-style-type: disc;
	margin-left: 20px;
	line-height: 1.6;
}

.policy-section li {
	margin-bottom: 10px;
	color: #444;
}

.agreement {
	font-weight: bold;
	margin-top: 30px;
	padding: 20px;
	background: #f8f5f0;
	border-radius: 8px;
}

.policy-section h3 {
	color: #AB1A00;
	font-size: 1.2em;
	margin: 20px 0 10px;
}

.policy-section p + h3 {
	margin-top: 30px;
}

.policy-section ul {
	margin: 15px 0 15px 20px;
}

.policy-section p {
	line-height: 1.6;
	margin-bottom: 15px;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-section {
	margin-bottom: 40px;
	padding: 20px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	transition: transform 0.3s ease;
}

.faq-section:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.faq-section h2 {
	color: #DBAC5B;
	font-size: 1.3em;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
}

.faq-section p {
	color: #444;
	line-height: 1.6;
	margin-bottom: 15px;
}

.faq-section ul {
	margin: 15px 0 15px 20px;
	list-style-type: disc;
}

.faq-section li {
	margin-bottom: 10px;
	color: #444;
	line-height: 1.6;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
	nav {
		flex-direction: column;
		padding: 10px 20px;
		gap: 15px;
	}

	nav > div {
		width: 100%;
	}

	nav div:first-child {
		justify-content: center;
	}

	nav div:last-child {
		justify-content: center;
		margin-left: 0;
		flex-wrap: wrap;
		gap: 10px;
	}

	nav a {
		margin-left: 0;
		font-size: 0.9rem;
		padding: 6px 15px;
	}

	main {
		padding: 20px;
	}

	.privacy-content {
		padding: 20px 15px;
	}

	.faq-section, 
	.policy-section {
		padding: 15px;
	}

	h1 {
		font-size: 1.8em;
	}

	.faq-section h2,
	.policy-section h2 {
		font-size: 1.2em;
	}

	.policy-section h3 {
		font-size: 1.1em;
	}

	.dashboard-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.app-download-banner {
		padding: 20px;
	}

	button {
		width: 100%;
		padding: 10px 20px;
	}

	footer {
		padding: 10px;
		font-size: 0.9em;
	}

	/* Improve touch targets on mobile */
	.faq-section,
	.policy-section,
	button,
	nav a {
		touch-action: manipulation;
	}

	/* Better spacing for mobile lists */
	ul, ol {
		padding-left: 20px;
	}

	li {
		margin-bottom: 8px;
	}

	/* Adjust warning box for mobile */
	.warning-box {
		padding: 15px;
		margin: 15px 0;
	}
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
	nav a {
		font-size: 0.85rem;
		padding: 5px 12px;
	}

	h1 {
		font-size: 1.6em;
	}

	.logo {
		width: 40px;
		height: 40px;
	}

	.effective-date {
		font-size: 0.9em;
	}

	.intro {
		font-size: 1em;
	}
}

/* Ensure text remains readable on very small devices */
@media screen and (max-width: 320px) {
	body {
		font-size: 14px;
	}

	nav a {
		font-size: 0.8rem;
		padding: 4px 10px;
	}
}

/* Print styles */
@media print {
	nav, footer {
		display: none;
	}

	body {
		background: white;
	}

	main {
		max-width: 100%;
		padding: 0;
	}

	.faq-section,
	.policy-section {
		break-inside: avoid;
		page-break-inside: avoid;
	}
}

/* Support Page Styles */
.support-container {
	max-width: 800px;
	margin: 0 auto;
}

.support-section {
	background: white;
	padding: 30px;
	border-radius: 10px;
	margin-bottom: 30px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.support-form {
	margin-top: 20px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #444;
	font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
}

.form-group textarea {
	resize: vertical;
}

.quick-links {
	list-style: none;
	padding: 0;
}

.quick-links li {
	margin-bottom: 15px;
}

.quick-links a {
	color: #DBAC5B;
	text-decoration: none;
	transition: color 0.3s;
}

.quick-links a:hover {
	color: #AB1A00;
}

/* Delete Account Page Styles */
.warning-box {
	background-color: #fff3cd;
	border: 1px solid #ffeeba;
	color: #856404;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 30px;
}

.warning-box h2 {
	color: #856404;
	margin-bottom: 10px;
}

.delete-form-section {
	background: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.checkbox-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.checkbox-group input[type="checkbox"] {
	width: auto;
}

.delete-button {
	background-color: #dc3545;
}

.delete-button:hover {
	background-color: #c82333;
}

.requirements-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.requirements-grid h3 {
	color: #DBAC5B;
	margin-bottom: 10px;
}

.support-section h3 {
	color: #AB1A00;
	margin: 20px 0 10px;
	font-size: 1.1em;
}

.support-section ul {
	margin-bottom: 20px;
}

.support-section a {
	color: #DBAC5B;
	text-decoration: none;
	transition: color 0.3s;
}

.support-section a:hover {
	color: #AB1A00;
}
