:root {
	--gh-primary: #1f8a5b;
	--gh-primary-dark: #146b45;
	--gh-primary-soft: rgba(31, 138, 91, 0.1);

	--gh-text: #10251a;
	--gh-text-soft: #66756d;

	--gh-white: #ffffff;
	--gh-bg: #eef7f1;
	--gh-bg-deep: #e4f3ea;

	--gh-border: rgba(16, 37, 26, 0.08);
	--gh-shadow: 0 14px 36px rgba(16, 37, 26, 0.08);

	--gh-green: #16a34a;
	--gh-red: #dc2626;
	--gh-blue: #2563eb;
	--gh-yellow: #d97706;

	--gh-radius: 20px;
}

#greenhos {
	background: linear-gradient(180deg, #f3faf6 0%, #eaf5ee 100%);
}

#greenhos .inner {
	max-width: 1280px;
}

.gh-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.gh-kicker {
	margin: 0 0 0.4rem 0;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gh-primary);
}

#greenhos h2 {
	margin-bottom: 0.35rem;
	color: var(--gh-text);
}

#greenhos .section-subtitle {
	color: var(--gh-text-soft);
	margin: 0;
	max-width: 780px;
}

.gh-market-pill {
	background: #ffffff;
	border: 1px solid var(--gh-border);
	border-radius: 999px;
	padding: 0.75rem 1rem;
	box-shadow: var(--gh-shadow);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	min-width: 150px;
}

.gh-market-pill-label {
	font-size: 0.75rem;
	color: var(--gh-text-soft);
}

#ghMarketStatus {
	color: var(--gh-green);
	font-size: 0.95rem;
	font-weight: 400;
}

.greenhos-locked-card {
	background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
	border: 1px solid var(--gh-border);
	border-radius: 24px;
	box-shadow: var(--gh-shadow);
	padding: 2.6rem 2rem;
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.greenhos-locked-card .lock-icon {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background: var(--gh-primary-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin: 0 auto 1rem;
}

.greenhos-locked-card h3 {
	margin-bottom: 0.5rem;
	color: var(--gh-text);
	font-size: 1.4rem;
}

.greenhos-locked-card p {
	color: var(--gh-text-soft);
	margin-bottom: 1.2rem;
}

.greenhos-dashboard {
	margin-top: 1.5rem;
}

.gh-shell {
	display: grid;
	gap: 1.2rem;
}

.gh-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	background: #ffffff;
	border: 1px solid var(--gh-border);
	border-radius: 24px;
	padding: 1.25rem 1.5rem;
	box-shadow: var(--gh-shadow);
}

.gh-eyebrow {
	margin: 0 0 0.2rem 0;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gh-primary);
}

.gh-welcome h3 {
	margin: 0;
	color: var(--gh-text);
	font-size: 1.55rem;
	font-weight: 400;
}

.gh-sub {
	color: var(--gh-text-soft);
	font-size: 0.95rem;
}

.gh-top-actions {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.gh-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 0.95rem;
	border-radius: 999px;
	background: rgba(22, 163, 74, 0.12);
	color: var(--gh-green);
	font-size: 0.9rem;
	font-weight: 500;
}

.gh-top-actions button,
.gh-modal-btn,
.btn-buy,
.btn-sell {
	appearance: none;
	border: 0;
	border-radius: 14px;
	cursor: pointer;
	font-weight: 500;
	padding: 0.9rem 1.2rem;
	transition: all 0.2s ease;
}

.gh-top-actions button,
.gh-modal-btn,
.btn-buy {
	background: var(--gh-primary);
	color: #ffffff;
}

.gh-top-actions button:hover,
.gh-modal-btn:hover,
.btn-buy:hover {
	background: var(--gh-primary-dark);
	transform: translateY(-1px);
}

.btn-sell {
	background: var(--gh-red);
	color: #ffffff;
}

.btn-sell:hover {
	background: #b91c1c;
	transform: translateY(-1px);
}

.gh-stats-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
}

.gh-stat-card {
	background: #ffffff;
	border: 1px solid var(--gh-border);
	border-radius: 22px;
	padding: 1.15rem 1.2rem;
	box-shadow: var(--gh-shadow);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.gh-stat-card.primary {
	background: linear-gradient(135deg, #1f8a5b 0%, #146b45 100%);
}

.gh-stat-card.primary .gh-stat-label,
.gh-stat-card.primary strong,
.gh-stat-card.primary .gh-stat-foot {
	color: #ffffff;
}

.gh-stat-card.profit {
	border-color: rgba(22, 163, 74, 0.18);
	background: rgba(22, 163, 74, 0.05);
}

.gh-stat-card.profit strong {
	color: var(--gh-green);
}

.gh-stat-card.info {
	border-color: rgba(37, 99, 235, 0.15);
	background: rgba(37, 99, 235, 0.05);
}

.gh-stat-card.info strong {
	color: var(--gh-blue);
}

.gh-stat-label {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--gh-text-soft);
}

.gh-stat-card strong {
	font-size: 1.45rem;
	line-height: 1.15;
	color: var(--gh-text);
	font-weight: 500;
	word-break: break-word;
}

.gh-stat-foot {
	font-size: 0.8rem;
	color: var(--gh-text-soft);
}

.gh-main-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 1rem;
}

.gh-bottom-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 1rem;
}

.gh-extra-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 1rem;
}

.gh-chart-card,
.gh-trade-card,
.gh-history-card,
.gh-account-card,
.gh-news-card,
.gh-feedback-card,
.gh-video-card {
	background: #ffffff;
	border: 1px solid var(--gh-border);
	border-radius: 24px;
	padding: 1.25rem;
	box-shadow: var(--gh-shadow);
}

.gh-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.gh-card-head h4 {
	margin: 0;
	color: var(--gh-text);
	font-size: 1.02rem;
	font-weight: 300;
}

.gh-mini-text {
	font-size: 0.84rem;
	color: var(--gh-text-soft);
}

.gh-chart-wrap {
	height: 320px;
}

#greenhosChart {
	width: 100% !important;
	height: 320px !important;
}

.gh-range-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.gh-range-btn {
	border: 1px solid var(--gh-border);
	background: #f7fbf8;
	color: var(--gh-text-soft);
	border-radius: 12px;
	padding: 0.45rem 0.75rem;
	font-size: 0.82rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.gh-range-btn.active,
.gh-range-btn:hover {
	background: var(--gh-primary);
	color: #ffffff;
	border-color: var(--gh-primary);
}

.gh-trade-summary {
	display: grid;
	gap: 0.6rem;
	margin-bottom: 1rem;
	padding: 0.9rem 1rem;
	border-radius: 16px;
	background: #f7fbf8;
	border: 1px solid var(--gh-border);
}

.gh-trade-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	font-size: 0.92rem;
}

.gh-trade-summary-row span {
	color: var(--gh-text-soft);
}

.gh-trade-summary-row strong {
	color: var(--gh-text);
	font-weight: 500;
}

.gh-trade-box label,
.gh-field label {
	display: block;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--gh-text);
	margin-bottom: 0.45rem;
}

.gh-trade-box input,
.gh-feedback-form input,
.gh-feedback-form select,
.gh-feedback-form textarea,
.gh-modal input[type="email"],
.gh-modal input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(16, 37, 26, 0.12);
	border-radius: 14px;
	padding: 0.9rem 1rem;
	background: #ffffff;
	color: var(--gh-text);
	margin-bottom: 0.75rem;
	outline: none;
}

.gh-trade-box input:focus,
.gh-feedback-form input:focus,
.gh-feedback-form select:focus,
.gh-feedback-form textarea:focus,
.gh-modal input[type="email"]:focus,
.gh-modal input[type="password"]:focus {
	border-color: var(--gh-primary);
	box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.12);
}

.gh-estimate {
	margin-bottom: 0.8rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--gh-blue);
}

.gh-divider {
	height: 1px;
	background: rgba(0, 0, 0, 0.08);
	margin: 1rem 0;
}

#tradeHistory {
	display: grid;
	gap: 0.75rem;
}

.gh-history-row {
	border: 1px solid rgba(16, 37, 26, 0.08);
	border-radius: 16px;
	padding: 0.95rem 1rem;
	background: #fbfdfb;
}

.gh-history-type {
	font-weight: 500;
	color: var(--gh-text);
	margin-bottom: 0.35rem;
	text-transform: capitalize;
}

.gh-history-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	font-size: 0.92rem;
	color: var(--gh-text-soft);
}

.gh-account-list {
	display: grid;
	gap: 0.8rem;
}

.gh-account-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px dashed rgba(16, 37, 26, 0.08);
}

.gh-account-row span {
	color: var(--gh-text-soft);
}

.gh-account-row strong {
	color: var(--gh-text);
	font-weight: 500;
	text-align: right;
}

.gh-news-list {
	display: grid;
	gap: 0.9rem;
}

.gh-news-item {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 0.9rem;
	border: 1px solid rgba(16, 37, 26, 0.08);
	border-radius: 16px;
	padding: 0.9rem;
	background: #fbfdfb;
}

.gh-news-date {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--gh-blue);
}

.gh-news-content h5 {
	margin: 0 0 0.25rem 0;
	color: var(--gh-text);
	font-size: 0.96rem;
	font-weight: 500;
}

.gh-news-content p {
	margin: 0;
	color: var(--gh-text-soft);
	font-size: 0.9rem;
}

.gh-feedback-form {
	display: grid;
	gap: 0.25rem;
}

.gh-form-status {
	margin-top: 0.3rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--gh-blue);
	min-height: 1.2rem;
}

.gh-video-embed {
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--gh-border);
	margin-bottom: 1rem;
	background: #000;
}

.gh-video-embed iframe {
	display: block;
	width: 100%;
	height: 220px;
	border: 0;
}

.gh-video-links {
	display: grid;
	gap: 0.7rem;
}

.gh-video-link {
	display: block;
	text-decoration: none;
	padding: 0.8rem 0.9rem;
	border-radius: 14px;
	background: #f7fbf8;
	border: 1px solid var(--gh-border);
	color: var(--gh-text);
	font-weight: 500;
}

.gh-video-link:hover {
	background: var(--gh-primary-soft);
	color: var(--gh-primary-dark);
}

.gh-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(14, 26, 20, 0.52);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	z-index: 999;
}

.gh-modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.gh-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.2s ease;
	z-index: 1000;
}

.gh-modal.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.gh-modal-card {
	position: relative;
	width: 100%;
	max-width: 460px;
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
	padding: 1.5rem;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.gh-modal-card h3 {
	margin: 0 0 1rem 0;
	color: var(--gh-text);
	font-weight: 500;
}

.gh-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #eef5f0;
	color: #22362a;
	font-size: 1.2rem;
	cursor: pointer;
}

.gh-modal-close:hover {
	background: #e2ede6;
}

.gh-form-grid {
	display: grid;
	gap: 0.9rem;
}

#loginMessage {
	margin-top: 0.8rem;
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--gh-text-soft);
	min-height: 1.2rem;
}

@media screen and (max-width: 1200px) {
	.gh-stats-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.gh-extra-grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 980px) {
	.gh-main-grid,
	.gh-bottom-grid {
		grid-template-columns: 1fr;
	}

	.gh-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.gh-hero {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media screen and (max-width: 640px) {
	.gh-topbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.gh-top-actions {
		width: 100%;
		justify-content: space-between;
	}

	.gh-stats-grid {
		grid-template-columns: 1fr;
	}

	.gh-card-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.gh-news-item {
		grid-template-columns: 1fr;
	}

	.gh-chart-wrap {
		height: 260px;
	}

	#greenhosChart {
		height: 260px !important;
	}
}
#sellAmount{
	border:1.5px solid #cfd8d3;
	background:#ffffff;
	border-radius:12px;
	padding:10px;
	width:100%;
}

#sellAmount:focus{
	border:1.5px solid #1f8a5b;
	box-shadow:0 0 0 2px rgba(31,138,91,0.15);
	outline:none;
}