@font-face { font-family: "NLA Chewy"; src: url("../fonts/Chewy-Regular.ttf") format("truetype"); }
@font-face { font-family: "NLA Poppins"; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; }
.ila-live-preview {
	margin: 1.25rem 0 1.5rem;
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ila-preview-title {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: 600;
	color: #2c2c2c;
}

.ila-preview-note {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	color: #888;
}

.ila-preview-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
}

.ila-label {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #c8e6c9;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: background 0.2s ease;
}

.ila-label-inner {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.ila-label .ila-char {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

.ila-label .ila-name {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.15;
	color: #1a1a1a;
	word-break: break-word;
}

.ila-label-small {
	width: 145px;
	height: 44px;
	border-radius: 6px;
}
.ila-label-small .ila-char { width: 26px; height: 26px; }
.ila-label-small .ila-name { font-size: 11px; }

.ila-label-medium {
	width: 200px;
	height: 56px;
	border-radius: 8px;
}
.ila-label-medium .ila-char { width: 36px; height: 36px; }
.ila-label-medium .ila-name { font-size: 15px; }

.ila-label-circle {
	width: 92px;
	height: 92px;
	border-radius: 50%;
}
.ila-label-circle .ila-label-inner {
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding: 8px;
	gap: 4px;
}
.ila-label-circle .ila-char { width: 32px; height: 32px; }
.ila-label-circle .ila-name {
	font-size: 10px;
	text-align: center;
	max-width: 72px;
}

@media (max-width: 480px) {
	.ila-preview-labels { justify-content: center; }
	.ila-label-medium { width: 170px; }
}

body.ila-school-labels .ila-live-preview {
	border: 1px solid #eef0f3;
	border-radius: 16px;
	padding: 16px;
	background: #fff;
}
body.ila-school-labels .ila-preview-title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 12px;
}
body.ila-school-labels .ila-label {
	box-shadow: none;
}

.ila-live-preview.ila-no-char .ila-label { justify-content: center; text-align: center; }
.ila-live-preview.ila-no-char .ila-name { text-align: center; width: 100%; }

.ila-live-preview.ila-no-char .ila-label { justify-content: center; }
.ila-live-preview.ila-no-char .ila-name { width: 100%; text-align: center; font-size: inherit; }

.ila-live-preview.ila-no-char .ila-label-inner {
	justify-content: center !important;
	width: 100%;
	text-align: center;
}
.ila-live-preview.ila-no-char .ila-char { display: none !important; }
.ila-live-preview.ila-no-char .ila-name {
	text-align: center !important;
	width: 100% !important;
	margin: 0 auto;
}

#nla-live-preview .nla-label-inner,
#ila-live-preview .ila-label-inner { display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; text-align:center !important; }
#nla-live-preview .nla-name,
#ila-live-preview .ila-name { display:block !important; width:100% !important; text-align:center !important; }
#nla-live-preview .nla-char[style*="display:none"],
#ila-live-preview .ila-char[style*="display:none"] { display:none !important; }

.ila-extra { display:block; font-size:0.62em; font-weight:600; line-height:1.1; }

.ila-label, .ila-label-inner { justify-content: center !important; }
.ila-label-inner { width: 100%; }
.ila-front-group, .ila-label-inner { display:flex; align-items:center; justify-content:center; gap:6px; }
.ila-name { width: auto !important; max-width: 100%; }
.ila-label-small .ila-name { overflow: hidden; }

.ila-label, .nla-label { display:flex !important; align-items:center !important; justify-content:center !important; overflow:hidden; }
.ila-label-inner, .nla-label-inner { width:auto !important; max-width:100%; margin:0 auto; justify-content:center !important; }
.ila-name, .nla-name { width:auto !important; }

.ila-label-small, .ila-label-circle { overflow: hidden; }
.ila-label-circle .ila-name { max-width: 78px; line-height: 1.05; }
.ila-label-small .ila-name { line-height: 1.05; }

.ila-label-circle .ila-char { width: 22px !important; height: 22px !important; }
.ila-label-circle .ila-label-inner { gap: 2px; padding: 6px; }
.ila-label-circle .ila-name { max-width: 70px; font-size: 9px !important; line-height: 1.02; }
