@font-face { font-family: "Arial"; src: url("../fonts/Arimo-Bold.ttf") format("truetype"); font-weight: 700; }
@font-face { font-family: "Verdana"; src: url("../fonts/DejaVuSans-Bold.ttf") format("truetype"); font-weight: 700; }
@font-face { font-family: "Comic Sans MS"; src: url("../fonts/ComicNeue-Bold.ttf") format("truetype"); font-weight: 700; }
@font-face { font-family: "Arial Rounded MT Bold"; src: url("../fonts/Nunito-ExtraLight.ttf") format("truetype"); font-weight: 700; }
@font-face { font-family: "Poppins Medium"; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; }
@font-face { font-family: "Chewy"; src: url("../fonts/Chewy-Regular.ttf") format("truetype"); font-weight: 400; }
.nla-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);
}

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

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

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

.nla-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;
}

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

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

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

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

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

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

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

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

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

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

.nla-live-preview.nla-no-char .nla-label-inner {
	justify-content: center !important;
	width: 100%;
	text-align: center;
}
.nla-live-preview.nla-no-char .nla-char { display: none !important; }
.nla-live-preview.nla-no-char .nla-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-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; }

.nla-label-small, .nla-label-circle { overflow: hidden; }
.nla-label-circle .nla-char { width: 22px !important; height: 22px !important; }
.nla-label-circle .nla-name, .nla-label-small .nla-name { line-height: 1.05; }
