:root {
	--bg: #f6f8fb;
	--card: rgba(255, 255, 255, 0.78);
	--cardBorder: rgba(15, 23, 42, 0.10);

	--text: #0f172a;
	--muted: rgba(15, 23, 42, 0.60);

	--line: rgba(15, 23, 42, 0.12);

	--primary: #0f766e; /* teal */
	--primary2: #0891b2; /* cyan */
	--shadow: 0 30px 80px rgba(15, 23, 42, 0.12);

	--radius: 18px;
}

* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
	  Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--text);
	background: radial-gradient(
		900px 500px at 15% 20%,
		rgba(8, 145, 178, 0.12),
		transparent 55%
	  ),
	  radial-gradient(
		900px 500px at 85% 25%,
		rgba(15, 118, 110, 0.14),
		transparent 55%
	  ),
	  radial-gradient(
		1200px 800px at 50% 110%,
		rgba(2, 132, 199, 0.10),
		transparent 60%
	  ),
	  var(--bg);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(
		rgba(15, 23, 42, 0.04) 1px,
		transparent 1px
	  ),
	  linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at 50% 30%, black 55%, transparent 75%);
	opacity: 0.55;
}

.topbar {
	position: fixed;
	top: 18px;
	left: 18px;
	right: 18px;
	display: flex;
	justify-content: flex-end;
	z-index: 10;
}

.help-gomb {
    position: fixed;
	z-index:9999;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.help-gomb:hover {
	transform: translateY(-1px);
	border-color: rgba(8, 145, 178, 0.35);
	background: rgba(255, 255, 255, 0.75);
}

.help-icon {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: linear-gradient(
	  135deg,
	  rgba(8, 145, 178, 0.16),
	  rgba(15, 118, 110, 0.16)
	);
	border: 1px solid rgba(8, 145, 178, 0.22);
}

.wrap {
	min-height: 100%;
	display: grid;
	place-items: center;
	padding: 28px 18px;
	position: relative;
	z-index: 1;
}

.card {
	width: min(420px, 92vw);
	border-radius: var(--radius);
	background: var(--card);
	border: 1px solid var(--cardBorder);
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
	overflow: hidden;
	position: relative;
}

.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary2), var(--primary));
	opacity: 0.95;
}

.card-inner {
	padding: 26px 26px 22px;
}

.brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	margin-top: 8px;
	margin-bottom: 18px;
}

.brand img {
	width: 62px;
	height: 62px;
	object-fit: contain;
	filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.14));
}

.brand-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.2px;
	margin: 0;
}

.brand-sub {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.4;
}

.form {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.field {
	display: grid;
	gap: 6px;
}

.label, .input_label {
	font-size: 12px;
	color: var(--muted);
	letter-spacing: 0.2px;
}

input {
	width: 100%;
	border-radius: 14px;
	border: 1px solid rgba(15, 23, 42, 0.14);
	background: rgba(255, 255, 255, 0.70);
	padding: 12px 14px;
	font-size: 14px;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease,
	  background 160ms ease;
}

input:focus {
	border-color: rgba(8, 145, 178, 0.55);
	box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.14);
	background: rgba(255, 255, 255, 0.92);
}

#login_error {
 margin:10px;
 display:none;
 color:red;
}



/*----------------hasábok--------------------------*/


.balra {
 float:left;
 text-align:left;
}

.hasab {
 margin-bottom:10px;
 min-height:30px;
 width:100%;
}

.input_label {
 line-height:28px;
}

.ertek {
 line-height:28px;
 font-weight:bold;
}

.dupla_hasab_left {
 float:left;
 width:49%;
 margin-right:1%;
 text-align:right;
}

.dupla_hasab_right {
 float:left;
 width:49%;
 text-align:left;
}


.tripla_hasab_left {
 float:left;
 width:33%;
 padding-left:1%;
 text-align:left;
}

.tripla_hasab_center {
 float:left;
 width:33%;
 text-align:center;
}

.tripla_hasab_right {
 float:left;
 width:33%;
 text-align:left;
}

.hiba {
 display: none;
 color: #ff0000;
 font-size: 12px;
 padding: 10px;
}

.form_textarea {
 width:90%;
 max-width:90%;
 height:100px;
 max-height:100px;
}

.aloldalNeve {
 text-align:center;
 font-size:13px;
 text-transform:uppercase;
 display:block; 
 margin-bottom:25px;
}

#leiras2FA {
 font-size:10px;	
}

#ketfaktorosHiba {
 text-align:center;
 font-weight:bold;
 color:red;
 font-size:12px; 
 margin-top:20px;
}

#ketfaktoros {
 text-align:center;
 font-size:20px; 
}


.cleared {
 clear:both;  
}

.gomb {
	margin-top: 4px;
	width: 100%;
	border: none;
	border-radius: 14px;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 700;
	color: white;
	cursor: pointer;
	text-decoration:none;
	display:inline-block;
	text-align:center;
	background: linear-gradient(135deg, var(--primary2), var(--primary));
	box-shadow: 0 16px 34px rgba(8, 145, 178, 0.22);
	transition: transform 160ms ease, filter 160ms ease;
}

.gomb:hover {
	transform: translateY(-1px);
	filter: brightness(1.02);
}

.gomb:active {
	transform: translateY(0px);
}

.meta {
	margin-top: 14px;
	display: flex;
	justify-content: center;
}

.link {
	font-size: 13px;
	color: rgba(15, 118, 110, 0.95);
	text-decoration: none;
	border-bottom: 1px dashed rgba(15, 118, 110, 0.45);
	padding-bottom: 2px;
	transition: opacity 160ms ease;
}

.link:hover {
	opacity: 0.85;
}

.footer-note {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	text-align: center;
	font-size: 12px;
	color: rgba(15, 23, 42, 0.45);
}

@media (max-width: 420px) {
	.card-inner {
	  padding: 22px 18px 18px;
	}
}