/* MAIN */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
}
body {
	/* background: linear-gradient(to bottom, #006b7e, #0e7c8e); */

	background:
		radial-gradient(
			1200px 900px at 30% 10%,
			rgba(255, 255, 255, 0.14),
			transparent 60%
		),
		linear-gradient(180deg, #0b5f6c, #0a4f59);
	color: #fef6ef;
	text-align: center;
	min-height: 100vh;
	position: relative;
}

/* TOP BAR */
#top-bar {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	background: rgba(6, 63, 72, 0.72);
}
#header-center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
a:visited {
	/* color: #fef6ef; */
	color: black;
}
.kapszula {
	font-size: 0.7rem;
	font-weight: 500;
	border-radius: 999px;
	padding: 3px 8px;
	color: #fff;
	white-space: nowrap;
}

.flottakezelo {
	background-color: #ff9800;
}

.jarmuhasznalo {
	background-color: #4caf50;
}

#flottamanName {
	font-size: 16px;
	text-decoration: none;
	color: #fef6ef;
	white-space: nowrap;
}
#settings-icon {
	font-size: 20px;
	text-decoration: none;
}

.logout {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	cursor: pointer;
	user-select: none;
}
.logout:hover {
	background: rgba(255, 255, 255, 0.16);
}
/*  */
/* Company card (new) */
.company-card {
	display: grid;
	gap: 10px;
	padding: 16px 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
	margin-bottom: 30px;
}

.company-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.company-name {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.2px;
	line-height: 1.1;
	text-align: left;
}
.company-sub {
	text-align: left;
	margin-top: 2px;
	/* color: var(--muted); */
	font-size: 13px;
}

.company-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.22);
	cursor: pointer;
	user-select: none;
}
.chip:hover {
	background: rgba(255, 255, 255, 0.22);
}
.chip .count {
	font-weight: 800;
	color: #fff;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
}
/*  */
.myCompany {
	font-size: 36px;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 10px;
}
#back-button-container {
	text-align: left;
	margin: 20px auto 0;
	width: 90%;
}
#back-button {
	background-color: #ffffff;
	color: #004f59;
	padding: 10px 18px;
	text-decoration: none;
	border-radius: 20px;
	font-weight: bold;
	display: inline-block;
	transition: background-color 0.3s;
}
#back-button i {
	margin-right: 8px;
}
#back-button:hover {
	background-color: #dddddd;
}
/*  */
.linkStyle {
	cursor: pointer;
	text-decoration: underline dotted black;
	color: black;
}
.linkStyle:hover {
	text-decoration: underline solid black;
}
/*  */

.fav-icon {
	font-size: 24px;
	color: gold;
	cursor: pointer;
	margin-left: 10px;
	line-height: 1;
	vertical-align: middle;
}

#fav-list {
	position: absolute;
	top: 30px;
	right: 0;
	background-color: white;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 10px;
	min-width: 220px;
	z-index: 1000;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	text-align: left;
}

#fav-list.hidden {
	display: none;
}

#fav-list a {
	display: block;
	color: #00778a;
	text-decoration: none;
	margin: 5px 0;
	font-size: 14px;
}

#fav-list a:hover {
	text-decoration: underline;
}
/* rendszám */
.plate {
	display: inline-flex;
	align-items: stretch;
	border: 2px solid #111;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	line-height: 1;
	user-select: none;
}
/* EU kék sáv */
.plate-eu {
	width: 34px;
	background: #003399;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 6px 5px 6px;
	border-right: 2px solid #111;
}

.eu-stars {
	width: 12px;
	height: 12px;
	display: block;
}

.eu-country {
	font-weight: 900;
	font-size: 16px;
	letter-spacing: 0.5px;
	opacity: 0.95;
}

/* Rendszám felirat */
.plate-text {
	display: flex;
	align-items: center;
	padding: 0px 14px 0px 12px;
	font-weight: 900;
	font-size: 28px;
	letter-spacing: 3px;
	color: #111;
	font-family:
		ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
		monospace;
}
.plate.small {
	transform: scale(0.6);
	transform-origin: center top;
}
.plate-small {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 6px;
    padding: 2px 6px;
    font-weight: bold;
    letter-spacing: 2px;
	font-family: ui-monospace, Consolas, monospace;
letter-spacing: 1.5px;
}

.plate-eu-small {
    background: #003399;
    color: #fff;
    padding: 2px 4px;
    margin-right: 6px;
    font-size: 12px;
}
/*  */
@media (max-width: 520px) {
	.myCompany {
		font-size: 24px;
	}
	#flottamanName {
		font-size: 12px;
	}
	#szerepkorTxt {
		display: none;
	}
	#logout {
		font-size: 12px;
	}
	#back-button {
		font-size: 12px;
	}
	.fav-icon {
		font-size: 20px;
		color: gold;
		cursor: pointer;
		margin-left: 5px;
	}
}
