/* --- GLOBÁLIS RESZPONZÍV ALAPOK --- */
* {
	box-sizing: border-box;
}

body {
	font-family: "Hind", Roboto, Arial, sans-serif;
	margin: 0;
	background-image: url("frutigerbg_upscayl_4x_upscayl-standard-4x.png");
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.3);
}

/* --- NEWS FEED SECTION --- */
#news {
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: 20px;
	width: 100%;
	max-width: 800px;
}

.news {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 25px;
	padding: 25px;
	box-shadow: 0 10px 30px rgba(0, 100, 200, 0.1);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news:hover {
	transform: scale(1.01);
}

.news h3 {
	color: #0369a1;
	font-size: 24px;
	margin-top: 0;
}

/* --- KÉPEK ÉS KONTÉNEREK --- */
.image-container {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	border: #f9e6aa 3px solid;
	padding: 5px;
	padding-bottom: 15px;
	background-color: #f9e6aa;
	box-shadow:
		0 4px 15px rgba(255, 255, 0, 0.4),
		inset 0 2px 2px rgba(255, 255, 255, 0.5);
	text-align: center;
}

img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.img-desc {
	color: #3498db;
	font-size: 1rem;
	font-style: oblique;
	font-weight: 800;
	opacity: 0.9;
	margin-top: 10px;
}

.news-description {
	width: 100%;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 25px;
	padding: 25px;
	box-shadow: 0 10px 30px rgba(0, 100, 200, 0.1);
	white-space: pre-wrap;
	word-wrap: break-word;
	margin-top: 20px;
}

/* --- ADMIN MODAL & FORMS --- */
.admin-aero {
	width: 95%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	background: rgba(255, 255, 255, 0.4) !important;
	backdrop-filter: blur(20px) saturate(180%);
	border: 2px solid rgba(255, 255, 255, 0.7) !important;
	border-radius: 30px !important;
	padding: 30px !important;
	box-shadow:
		0 20px 50px rgba(0, 100, 200, 0.2),
		inset 0 0 20px rgba(255, 255, 255, 0.5) !important;
}

.admin-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.admin-form input,
.admin-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.7) !important;
	border: 2px solid rgba(255, 255, 255, 0.8) !important;
	border-radius: 12px;
	padding: 12px;
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
	color: #0369a1;
	font-weight: 600;
	text-align: center;
}

/* --- GOMBOK --- */
button[id^="admin-"] {
	padding: 10px 20px;
	border-radius: 20px;
	font-weight: bold;
	cursor: pointer;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	transition: 0.2s;
	border: 1px solid rgba(255, 255, 255, 0.4);
}

#admin-news-btn,
#admin-poll-btn {
	background: linear-gradient(180deg, #34d399 0%, #10b981 50%, #059669 100%);
	color: white;
	box-shadow:
		0 4px 15px rgba(16, 185, 129, 0.4),
		inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

#admin-approval-btn {
	background: linear-gradient(180deg, #34b8d3 0%, #108cb9 50%, #270596 100%);
	color: white;
	box-shadow:
		0 4px 15px rgba(16, 19, 185, 0.4),
		inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

/* --- MOBILE MEDIA QUERY --- */
@media (max-width: 768px) {
	body {
		padding: 0;
		margin: 0;
		justify-content: flex-start;
		overflow-x: hidden;
	}

	.content {
		width: 100% !important;
		max-width: 100% !important;
		margin: 80px 0 0 0 !important;
		padding: 10px !important;
		background: transparent;
		backdrop-filter: none;
		border: none;
	}

	#news {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		gap: 20px;
	}

	.news {
		width: 100% !important;
		padding: 15px !important;
		border-radius: 15px;
		margin-bottom: 10px;
		box-sizing: border-box;
	}

	.image-container {
		width: 100% !important;
		max-width: 100% !important;
		padding: 5px;
		border-radius: 10px;
	}

	img {
		width: 100%;
		height: auto;
		display: block;
	}

	.news-description,
	.news h3 {
		word-break: break-word;
		overflow-wrap: break-word;
		max-width: 100%;
	}

	.dok-title {
		font-size: 32px;
		margin-top: 10px;
	}
}

/* --- KIEGÉSZÍTŐK (SPINNER, TOGGLE, STB) --- */
.spinner-small {
	width: 20px;
	height: 20px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 20px auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.aero-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

.aero-switch input {
	display: none;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.5);
	transition: 0.4s;
	border-radius: 34px;
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}
.content {
	max-width: 700px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 2px;
	background: white;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .slider {
	background: linear-gradient(180deg, #34d399, #10b981);
}
input:checked + .slider:before {
	transform: translateX(26px);
}

.submit-btn {
	background: var(--glossy-blue);
	color: white;
	border: none;
	padding: 12px 25px;
	border-radius: 50px;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
	transition: 0.2s;
}
