.amk-license-portal {
	--amk-dark: #0f172a;
	--amk-blue: #1d4ed8;
	--amk-border: #e2e8f0;
	--amk-muted: #64748b;
	color: var(--amk-dark);
	font-family: inherit;
	margin: 24px auto;
	max-width: 1120px;
}

.amk-license-hero {
	align-items: center;
	background: linear-gradient(135deg, #0f172a, #1d4ed8);
	border-radius: 28px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
	color: #fff;
	display: flex;
	gap: 22px;
	justify-content: space-between;
	margin-bottom: 22px;
	padding: 30px;
}

.amk-license-hero p {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.amk-license-hero h2 {
	color: #fff;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.05;
	margin: 0 0 10px;
}

.amk-license-hero span {
	opacity: 0.86;
}

.amk-license-hero a,
.amk-license-form button {
	background: #fff;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
	color: #0f172a;
	display: inline-flex;
	font-weight: 800;
	padding: 12px 18px;
	text-decoration: none;
}

.amk-license-card {
	background: #fff;
	border: 1px solid var(--amk-border);
	border-radius: 24px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
	margin-bottom: 22px;
	padding: 24px;
}

.amk-license-card h3 {
	font-size: 22px;
	margin: 0 0 16px;
}

.amk-license-form {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.amk-license-form label span {
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 8px;
}

.amk-license-form input,
.amk-license-form select,
.amk-license-notice input {
	border: 1px solid var(--amk-border);
	border-radius: 14px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 10px 12px;
	width: 100%;
}

.amk-license-form button {
	align-self: end;
	background: var(--amk-blue);
	color: #fff;
	cursor: pointer;
	min-height: 48px;
}

.amk-license-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amk-license-quota,
.amk-license-list > div {
	border: 1px solid var(--amk-border);
	border-radius: 18px;
	display: grid;
	gap: 6px;
	margin-bottom: 12px;
	padding: 14px;
}

.amk-license-quota span,
.amk-license-list span {
	color: var(--amk-muted);
	font-size: 13px;
}

.amk-license-list code {
	font-size: 15px;
	font-weight: 800;
}

.amk-license-notice {
	border-radius: 18px;
	margin: 0 0 18px;
	padding: 16px;
}

.amk-license-notice-success {
	background: #dcfce7;
	color: #166534;
}

.amk-license-notice-error {
	background: #fee2e2;
	color: #991b1b;
}

.amk-license-notice input {
	font-weight: 800;
	letter-spacing: 0.04em;
	margin-top: 10px;
}

@media (max-width: 860px) {
	.amk-license-hero,
	.amk-license-form {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.amk-license-hero {
		flex-direction: column;
	}

	.amk-license-grid {
		grid-template-columns: 1fr;
	}
}
