	/* Removed invalid top-level properties. Use selectors for these styles. */
/* Profile dropdown menu styles */
.profile-menu {
	position: relative;
	display: flex;
	align-items: center;
}
.profile-btn {
	background: linear-gradient(90deg, #ffd600 0%, #43ea6a 100%);
	color: #222;
	border: none;
	border-radius: 8px;
	padding: 0.6rem 1.2rem;
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 0 2px 8px #ffd60044;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: background 0.2s, box-shadow 0.2s;
}
.profile-btn:hover {
	background: linear-gradient(90deg, #43ea6a 0%, #ffd600 100%);
	box-shadow: 0 4px 16px #43ea6a44;
}
.profile-menu.open .profile-dropdown {
	display: flex !important;
}
.profile-dropdown {
	display: none;
	position: absolute;
	top: 110%;
	right: 0;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 24px #43ea6a33;
	min-width: 180px;
	z-index: 9999;
	flex-direction: column;
	padding: 8px 0;
}
.profile-menu.open .profile-dropdown {
	display: flex !important;
}
.profile-dropdown-item {
	background: none;
	border: none;
	color: #222;
	font-size: 1rem;
	padding: 10px 24px;
	text-align: left;
	cursor: pointer;
	width: 100%;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	gap: 8px;
}
.profile-dropdown-item:hover {
	background: #43ea6a22;
}
/* Header single row layout */
.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2vw;
	gap: 2vw;
}
.header-title {
	flex: 1;
	text-align: center;
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: 1px;
	margin: 0;
}
.kisaan-logo {
	max-width: 64px;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 2px 12px #43ea6a33;
	background: #fff8;
}
.delete-account-btn {
	background: #ff4d4d;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 0.6rem 1.2rem;
	font-size: 1rem;
	font-weight: 600;
	box-shadow: 0 2px 8px #ff4d4d44;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
	display: flex;
	align-items: center;
	gap: 8px;
}
.delete-account-btn:hover {
	background: #d90429;
	box-shadow: 0 4px 16px #d9042944;
}
/* Kisaan Connect logo styling */
.kisaan-logo {
	display: block;
	margin: 0 auto 12px auto;
	max-width: 120px;
	height: auto;
	border-radius: 18px;
	box-shadow: 0 4px 24px #43ea6a33;
	background: #fff8;
}
/* Funky animated background shapes */
/* Abstract SVG shapes for background */
.funky-bg {
	position: fixed;
	top: 0; left: 0; width: 100vw; height: 100vh;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.abstract-shape {
	position: absolute;
	filter: blur(8px);
	transition: transform 1.5s;
}
.shape1 {
	left: 2vw; top: 8vh; width: 320px; height: 320px;
	animation: shapeFloat1 10s infinite alternate ease-in-out;
}
.shape2 {
	right: 4vw; top: 40vh; width: 220px; height: 220px;
	animation: shapeFloat2 12s infinite alternate ease-in-out;
}
.shape3 {
	left: 30vw; bottom: 6vh; width: 180px; height: 180px;
	animation: shapeFloat3 14s infinite alternate ease-in-out;
}
@keyframes shapeFloat1 {
	0% { transform: translateY(0) scale(1); }
	100% { transform: translateY(-30px) scale(1.08); }
}
@keyframes shapeFloat2 {
	0% { transform: translateY(0) scale(1); }
	100% { transform: translateY(-20px) scale(1.12); }
}
@keyframes shapeFloat3 {
	0% { transform: translateY(0) scale(1); }
	100% { transform: translateY(-25px) scale(1.1); }
}
.profile-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: #f7f7e7;
	border-radius: 10px;
	box-shadow: 0 2px 12px #43ea6a22;
	min-width: 170px;
	z-index: 9999;
	flex-direction: column;
	padding: 6px 0;
	border: 1px solid #e0e0b2;
}
.profile-dropdown-item {
	background: none;
	border: none;
	color: #2d572c;
	font-size: 1rem;
	padding: 9px 22px;
	text-align: left;
	cursor: pointer;
	width: 100%;
	transition: background 0.18s, color 0.18s;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	border-radius: 5px;
}
.profile-dropdown-item:hover {
	background: #e0e0b2;
	color: #222;
}


@keyframes veggieFloat {
	0% { transform: translateY(0); }
	50% { transform: translateY(-16px) scale(1.08); }
	100% { transform: translateY(0); }
}
.floating-icon,
.header-graphics,
.header-farm-svg,
.header-wave,
.fancy-header {
	display: none !important;
}
.floating-icon {
	animation: floatUpDown 2.5s infinite ease-in-out;
	display: inline-block;
}
@keyframes floatUpDown {
	0% { transform: translateY(0); }
	50% { transform: translateY(-12px) scale(1.12); }
	100% { transform: translateY(0); }
}
.header-graphics {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	margin-top: -18px;
	margin-bottom: -8px;
	position: relative;
	z-index: 1;
}
.header-farm-svg {
	width: 400px;
	height: 80px;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 2px 8px #43ea6a);
	animation: farmPop 1.2s;
}
@keyframes farmPop {
	0% { opacity: 0; transform: scale(0.8); }
	100% { opacity: 1; transform: scale(1); }
}
.modal-content form {
	margin-bottom: 1rem;
}
.modal-content hr {
	margin: 1rem 0;
	border: none;
	border-top: 1px solid #eee;
}
#otpSection {
	margin-top: 1rem;
}


body {
	max-width: 100vw;
	box-sizing: border-box;
	touch-action: manipulation;
	overscroll-behavior-x: contain;
	font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
	margin: 0;
	background: linear-gradient(120deg, #ffecd2 0%, #fcb69f 40%, #43ea6a 100%);
	color: #222;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
	animation: bgGradientMove 12s ease-in-out infinite alternate;
}

@keyframes bgGradientMove {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}

body::before {
	content: '';
	position: fixed;
	top: 0; left: 0; width: 100vw; height: 100vh;
	z-index: 0;
	pointer-events: none;
	opacity: 0.08;
	background-image:
		url('https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F345.svg'),
		url('https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F955.svg'),
		url('https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F966.svg'),
		url('https://raw.githubusercontent.com/hfg-gmuend/openmoji/master/color/svg/1F346.svg');
	background-repeat: repeat;
	background-size: 80px, 80px, 80px, 80px;
	background-position: 0 0, 80px 80px, 160px 160px, 240px 240px;
}

.background-animated {
	position: fixed;
	top: 0; left: 0; width: 100vw; height: 100vh;
	z-index: 0;
	background: radial-gradient(circle at 20% 20%, #a5d6a7 0%, transparent 60%),
				radial-gradient(circle at 80% 80%, #81c784 0%, transparent 60%),
				linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	animation: bgMove 10s infinite alternate;
	pointer-events: none;
}

@keyframes bgMove {
	0% { filter: blur(0px); }
	100% { filter: blur(8px); }
}

.glass-header {
	background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 40%, #43ea6a 100%);
	color: #222;
	padding: 2.2rem 2rem 1.2rem 2rem;
	text-align: center;
	font-size: 2.2rem;
	box-shadow: 0 4px 32px rgba(56,142,60,0.18);
	border-radius: 0 0 32px 32px;
	backdrop-filter: blur(6px);
	font-family: 'Montserrat', Arial, sans-serif;
	letter-spacing: 1px;
	position: relative;
	overflow: visible;
}
.fancy-header .header-content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
}
.fancy-header .header-icon {
	font-size: 2.5rem;
	color: #fff;
	animation: headerIconPulse 2s infinite alternate;
	filter: drop-shadow(0 2px 8px #43ea6a);
}
@keyframes headerIconPulse {
	0% { transform: scale(1); filter: drop-shadow(0 2px 8px #43ea6a); }
	100% { transform: scale(1.15); filter: drop-shadow(0 6px 24px #43ea6a); }
}
.header-wave {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	z-index: 0;
	pointer-events: none;
}

main {
	width: 100vw;
	box-sizing: border-box;
	flex-wrap: wrap;
	flex: 1 1 100%;
	max-width: 900px;
	margin: 2rem auto;
	background: rgba(255,255,255,0.85);
	border-radius: 24px;
	box-shadow: 0 8px 32px rgba(56,142,60,0.18);
	padding: 2.5rem;
	position: relative;
	z-index: 1;
}

.top-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0 24px 0;
	padding: 0 8px;
}
.lang-select {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	color: #2d572c;
}
#languageDropdown {
	padding: 6px 12px;
	border-radius: 8px;
	border: 1px solid #2d572c;
	background: #f6fff6;
	color: #2d572c;
	font-weight: 500;
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 1rem;
	box-shadow: 0 2px 8px rgba(45,87,44,0.08);
	transition: border 0.2s;
}
#languageDropdown:focus {
	border: 1.5px solid #388e3c;
}

.btn-animated {
	background: linear-gradient(90deg, #43ea6a 0%, #388e3c 100%);
	color: #fff;
	border: none;
	border-radius: 12px;
	font-weight: 700;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 1.1rem;
	padding: 1.1rem 2.2rem;
	box-shadow: 0 6px 24px rgba(56,142,60,0.18);
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
	position: relative;
	overflow: hidden;
}
.btn-animated:hover {
	transform: translateY(-2px) scale(1.06);
	box-shadow: 0 12px 48px rgba(56,142,60,0.22);
	background: linear-gradient(90deg, #2e7031 0%, #43ea6a 100%);
}
.role-btn-green {
	background: linear-gradient(90deg, #43ea6a 0%, #388e3c 100%);
}
.role-btn-green:hover {
	background: linear-gradient(90deg, #388e3c 0%, #43ea6a 100%);
}
.role-btn-blue {
	background: linear-gradient(90deg, #2196f3 0%, #43ea6a 100%);
}
.role-btn-blue:hover {
	background: linear-gradient(90deg, #43ea6a 0%, #2196f3 100%);
}
/* Role Modal Cards */
.role-modal-content {
	max-width: 700px;
	border-radius: 32px;
	padding: 2.5rem 1.5rem;
}
/* Role selection cards horizontal on desktop, vertical on mobile */
.role-cards {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	justify-content: center;
	margin-top: 2rem;
	flex-wrap: wrap;
	max-width: 100vw;
	overflow-x: auto;
}

@media (max-width: 900px) {
	.role-cards {
		flex-direction: column;
		gap: 1.2rem;
		align-items: center;
	}
	.role-card {
		min-width: 220px;
		max-width: 98vw;
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		padding: 1.2rem;
	}
	.role-graphic {
		margin-bottom: 0;
		margin-right: 1.2rem;
	}
	.role-card h3, .role-card p {
		text-align: left;
	}
	.role-card .btn-animated {
		margin-top: 0;
		margin-left: auto;
		width: auto;
	}
}
.role-card {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	border-radius: 24px;
	box-shadow: 0 8px 32px rgba(56,142,60,0.18);
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	min-width: 240px;
	max-width: 320px;
	flex: 0 0 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.3s, box-shadow 0.3s;
	position: relative;
	z-index: 1;
	animation: cardPop 0.7s;
}
.role-card:hover {
	transform: scale(1.05) translateY(-6px);
	box-shadow: 0 16px 64px rgba(56,142,60,0.22);
}
.role-graphic {
	width: 60px;
	height: 60px;
	filter: drop-shadow(0 2px 12px #43ea6a);
	border-radius: 50%;
	background: linear-gradient(135deg, #fffbe7 0%, #ffe0e0 100%);
	box-shadow: 0 4px 16px rgba(56,142,60,0.12);
	object-fit: cover;
	border: 2px solid #fff;
	background: rgba(255,255,255,0.7);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(56,142,60,0.10);
	overflow: hidden;
}
.role-graphic img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	animation: bounceIn 1s;
}
.role-card h3 {
	font-size: 1.3rem;
	margin: 0.5rem 0 0.2rem 0;
	color: #388e3c;
	font-family: 'Montserrat', Arial, sans-serif;
}


@media (max-width: 900px) {
	.role-cards {
		flex-direction: column;
		gap: 1.2rem;
		align-items: center;
	}
	.role-card {
		min-width: 220px;
		max-width: 98vw;
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		padding: 1.2rem;
	}
	.role-graphic {
		margin-bottom: 0;
		margin-right: 1.2rem;
	}
	.role-card h3, .role-card p {
		text-align: left;
	}
	.role-card .btn-animated {
		margin-top: 0;
		margin-left: auto;
		width: auto;
	}
}
@keyframes cardPop {
	0% { transform: scale(0.9); opacity: 0.5; }
	100% { transform: scale(1); opacity: 1; }
}
@keyframes bounceIn {
	0% { transform: scale(0.7); opacity: 0; }
	60% { transform: scale(1.1); opacity: 1; }
	100% { transform: scale(1); }
}
.btn-danger {
	background: linear-gradient(90deg, #c00 0%, #ff5252 100%);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(200,0,0,0.12);
}
.btn-danger:hover {
	background: linear-gradient(90deg, #a30000 0%, #c00 100%);
	box-shadow: 0 8px 32px rgba(200,0,0,0.18);
}
.link-btn {
	background: none;
	color: #388e3c;
	border: none;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	text-decoration: underline;
	padding: 0.2rem 0.5rem;
	transition: color 0.2s;
}
.link-btn:hover {
	color: #2e7031;
}

.glass {
	background: rgba(255,255,255,0.85);
	box-shadow: 0 8px 32px rgba(56,142,60,0.18);
	border-radius: 24px;
	backdrop-filter: blur(8px);
	border: 1.5px solid rgba(56,142,60,0.12);
}

section {
	margin-bottom: 2.5rem;
}

form {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	margin-bottom: 1.2rem;
	background: rgba(232,245,233,0.5);
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(56,142,60,0.08);
	padding: 1.2rem;
}

input, select {
	padding: 1rem;
	border-radius: 8px;
	border: 1px solid #ccc;
	font-size: 1.1rem;
	font-family: 'Roboto', Arial, sans-serif;
	box-shadow: 0 2px 8px rgba(45,87,44,0.08);
	transition: border 0.2s, box-shadow 0.2s;
}
button {
	padding: 1rem;
	border-radius: 8px;
	border: none;
	font-size: 1.1rem;
	font-family: 'Montserrat', Arial, sans-serif;
	font-weight: 700;
	background: linear-gradient(90deg, #43ea6a 0%, #388e3c 100%);
	color: #fff;
	box-shadow: 0 4px 16px rgba(56,142,60,0.12);
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
button:hover {
	background: linear-gradient(90deg, #388e3c 0%, #43ea6a 100%);
	box-shadow: 0 8px 32px rgba(56,142,60,0.18);
	transform: translateY(-2px) scale(1.04);
}
input:focus, select:focus {
	border: 1.5px solid #388e3c;
	box-shadow: 0 4px 16px rgba(56,142,60,0.12);
}

input[type="file"] {
	padding: 0.5rem;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #ccc;
	font-size: 1rem;
}

/* Animations for modal */
.modal {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	animation: fadeIn 0.5s;
}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
.modal-content {
	background: rgba(255,255,255,0.95);
	padding: 2.5rem;
	border-radius: 24px;
	box-shadow: 0 8px 32px rgba(56,142,60,0.18);
	text-align: center;
	max-width: 400px;
	width: 100%;
	animation: popIn 0.5s;
}
@keyframes popIn {
	0% { transform: scale(0.8); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}

.hidden {
	display: none !important;
}

#map {
	border-radius: 24px;
	margin-top: 1.2rem;
	box-shadow: 0 8px 32px rgba(56,142,60,0.18);
	min-height: 300px;
}

#farmerPosts, #storeRequests {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.listing {
	background: linear-gradient(90deg, #e8f5e9 0%, #c8e6c9 100%);
	border: 1.5px solid #a5d6a7;
	border-radius: 16px;
	padding: 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	font-size: 1.1rem;
	box-shadow: 0 4px 16px rgba(56,142,60,0.10);
	animation: listingPop 0.5s;
}
@keyframes listingPop {
	0% { transform: scale(0.95); opacity: 0.7; }
	100% { transform: scale(1); opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 900px) {
	main {
		max-width: 100vw;
		width: 100vw;
		padding: 1.2rem;
		border-radius: 16px;
		box-sizing: border-box;
	}
	.glass-header {
		font-size: 1.5rem;
		padding: 1rem;
		border-radius: 0 0 16px 16px;
	}
	.modal-content {
		padding: 1.2rem;
		max-width: 98vw;
		border-radius: 16px;
	}
	#map {
		min-height: 200px;
		border-radius: 16px;
	}
	.role-cards {
		flex-direction: column !important;
		gap: 1.2rem;
		align-items: center;
	}
	.role-card {
		min-width: 220px;
		max-width: 98vw;
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		padding: 1.2rem;
	}
	.role-graphic {
		margin-bottom: 0;
		margin-right: 1.2rem;
	}
	.role-card h3, .role-card p {
		text-align: left;
	}
	.role-card .btn-animated {
		margin-top: 0;
		margin-left: auto;
		width: auto;
	}
}

@media (max-width: 600px) {
	main {
		max-width: 100vw;
		width: 100vw;
		padding: 0.5rem;
		border-radius: 0;
		box-shadow: none;
		box-sizing: border-box;
	}
	.glass-header {
		font-size: 1.1rem;
		padding: 0.7rem;
		border-radius: 0 0 8px 8px;
	}
	.modal-content {
		padding: 0.7rem;
		border-radius: 8px;
	}
	#map {
		min-height: 120px;
		border-radius: 8px;
	}
	.listing {
		font-size: 1rem;
		padding: 0.7rem;
		border-radius: 7px;
	}
}

.modal {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
.modal-content {
	background: #fff;
	padding: 2.5rem;
	border-radius: 14px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.15);
	text-align: center;
	max-width: 400px;
	width: 100%;
}
.hidden {
	display: none !important;
}

#map {
	border-radius: 14px;
	margin-top: 1.2rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	min-height: 300px;
}

#farmerPosts, #storeRequests {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.listing {
	background: #e8f5e9;
	border: 1px solid #c8e6c9;
	border-radius: 10px;
	padding: 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	font-size: 1.1rem;
}

@media (max-width: 900px) {
	main {
		max-width: 98vw;
		padding: 1.2rem;
	}
	header {
		font-size: 1.5rem;
		padding: 1rem;
	}
	.modal-content {
		padding: 1.2rem;
		max-width: 98vw;
	}
	#map {
		min-height: 200px;
	}
}

@media (max-width: 600px) {
	main {
		max-width: 100vw;
		padding: 0.5rem;
		border-radius: 0;
		box-shadow: none;
	}
	header {
		font-size: 1.1rem;
		padding: 0.7rem;
	}
	.modal-content {
		padding: 0.7rem;
		border-radius: 8px;
	}
	#map {
		min-height: 120px;
		border-radius: 8px;
	}
	.listing {
		font-size: 1rem;
		padding: 0.7rem;
		border-radius: 7px;
	}
}

@media (max-width: 465px) {
	body {
		font-size: 0.95rem;
		padding: 0;
		min-width: 100vw;
		max-width: 100vw;
		overflow-x: hidden;
	}
	.header-row {
		flex-direction: column;
		gap: 0.5rem;
		padding: 0.5rem;
	}
	.header-title {
		font-size: 1.3rem;
		margin: 0.2rem 0;
		text-align: center;
	}
	.kisaan-logo {
		max-width: 60px;
		border-radius: 12px;
		margin-bottom: 0.5rem;
	}
	.profile-btn, .delete-account-btn {
		font-size: 0.95rem;
		padding: 0.4rem 0.8rem;
		border-radius: 6px;
		gap: 6px;
	}
	.profile-dropdown {
		min-width: 140px;
		right: 0;
		top: 100%;
		font-size: 0.95rem;
		padding: 4px 0;
	}
	main {
		padding: 0.3rem;
		max-width: 100vw;
		border-radius: 0;
		box-shadow: none;
	}
	.modal-content {
		padding: 0.5rem;
		border-radius: 6px;
		max-width: 98vw;
	}
	#map {
		min-height: 80px;
		border-radius: 6px;
	}
	.listing {
		font-size: 0.95rem;
		padding: 0.5rem;
		border-radius: 5px;
		gap: 0.4rem;
	}
	.funky-bg, .background-animated, .abstract-shape {
		display: none !important;
	}
	/* Hide non-essential graphics for small screens */
	.header-graphics, .header-farm-svg, .header-wave, .fancy-header {
		display: none !important;
	}
}
