/* Tárhely.Eu – ötletdoboz (világos / sötét) */

:root {
	--green: #8dbf2e;
	--green-hover: #7aad26;
	--slate: #3d4952;
	--bg: #f8f9fa;
	--card: #ffffff;
	--text: #3d4952;
	--muted: #6b7780;
	--border: #d7dde2;
	--shadow: 0 8px 28px rgba(61, 73, 82, 0.08);
	--radius: 12px;
	--font: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif;
}

[data-theme='dark'] {
	--bg: #1e252b;
	--card: #2a343d;
	--text: #e8edf1;
	--muted: #a8b4bd;
	--border: #3d4952;
	--shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.5;
}

body {
	margin: 0;
	min-height: 100vh;
}

.page {
	max-width: 720px;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 3rem;
}

.header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.header__brand {
	flex: 1;
	min-width: 0;
}

.header__logo {
	display: block;
	height: auto;
	max-width: 220px;
	margin-bottom: 1rem;
}

.header__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	margin: 0 0 0.35rem;
	letter-spacing: -0.02em;
}

.header__title-dark {
	color: var(--slate);
}

[data-theme='dark'] .header__title-dark {
	color: var(--text);
}

.header__title-accent {
	color: var(--green);
}

.header__subtitle {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--card);
	color: var(--text);
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: border-color 0.15s, transform 0.1s;
}

.theme-toggle:hover {
	border-color: var(--green);
}

.theme-toggle:active {
	transform: scale(0.97);
}

.theme-toggle__icon {
	font-size: 1.15rem;
	line-height: 1;
}

[data-theme='light'] .theme-toggle__icon--moon {
	display: none;
}

[data-theme='dark'] .theme-toggle__icon--sun {
	display: none;
}

.main {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem 1.25rem 1.75rem;
	box-shadow: var(--shadow);
}

.ideas-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.idea-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.1rem 1rem 1.25rem;
	background: var(--bg);
}

.idea-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.idea-card__heading {
	margin: 0;
	font-size: 1.1rem;
	color: var(--slate);
}

[data-theme='dark'] .idea-card__heading {
	color: var(--text);
}

.field {
	margin-bottom: 1rem;
}

.field:last-child {
	margin-bottom: 0;
}

.field__label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
	color: var(--text);
}

.field__control {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--card);
	color: var(--text);
	font: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.field__control:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: 0 0 0 3px rgba(141, 191, 46, 0.25);
}

.field__control--textarea {
	resize: vertical;
	min-height: 140px;
}

.field__control--select {
	cursor: pointer;
}

.field--optional {
	margin-top: 0.25rem;
	padding-top: 0.75rem;
	border-top: 1px dashed var(--border);
}

.field__hint {
	margin: 0 0 0.65rem;
	font-size: 0.85rem;
	color: var(--muted);
	line-height: 1.45;
}

.field__label--soft {
	font-weight: 500;
	font-size: 0.82rem;
	color: var(--muted);
	margin-top: 0.35rem;
}

.field__label--file {
	margin-top: 0.75rem;
}

.field__control--file {
	padding: 0.45rem 0.35rem;
	font-size: 0.88rem;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.actions--secondary {
	margin-top: 1.5rem;
}

.actions--primary {
	margin-top: 0.75rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 1.15rem;
	border-radius: 10px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
	background: var(--green);
	color: #fff;
	border-color: var(--green);
}

.btn--primary:hover {
	background: var(--green-hover);
	border-color: var(--green-hover);
}

.btn--outline {
	background: transparent;
	color: var(--text);
	border-color: var(--border);
}

.btn--outline:hover {
	border-color: var(--green);
	color: var(--slate);
}

[data-theme='dark'] .btn--outline:hover {
	color: var(--text);
}

.btn--text {
	min-height: auto;
	padding: 0.25rem 0.5rem;
	background: transparent;
	border: none;
	color: var(--muted);
	font-weight: 500;
	font-size: 0.85rem;
}

.btn--text:hover {
	color: var(--green);
}

.form-status {
	margin-top: 1rem;
	min-height: 1.5rem;
	font-size: 0.9rem;
	color: var(--muted);
}

.footer {
	margin-top: 2rem;
	text-align: center;
}

.footer__text {
	margin: 0;
	font-size: 0.85rem;
	color: var(--muted);
}

.footer__link {
	color: var(--green);
	text-decoration: none;
}

.footer__link:hover {
	text-decoration: underline;
}

.footer__hub {
	margin: 1.15rem 0 0;
}

.btn--team-hub {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 1.35rem;
	border-radius: 10px;
	font: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	/* Világos mód: sötétebb szürke, hogy elválik a háttértől */
	background: #4d5661;
	color: #eef1f4;
	border: 1px solid #3e4650;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--team-hub:hover {
	background: #5d6775;
	color: #ffffff;
	border-color: #4a525c;
}

/* Sötét mód: világosabb felület, kontraszt a mély háttérhez */
[data-theme='dark'] .btn--team-hub {
	background: #cbd5e1;
	color: #1a2229;
	border-color: #a8b6c8;
}

[data-theme='dark'] .btn--team-hub:hover {
	background: #e2e8f0;
	color: #0f1419;
	border-color: #cbd5e1;
}

@media (max-width: 520px) {
	.header {
		flex-direction: column;
	}

	.theme-toggle {
		align-self: flex-end;
	}
}
