:root {
	--foodord-license-primary: #1d2327;
	--foodord-license-primary-rgb: 29, 35, 39;
	--foodord-license-bg: #fdfdfd;
	--foodord-license-card-bg: #ffffff;
	--foodord-license-text: #1d2327;
	--foodord-license-text-muted: #646970;
	--foodord-license-border: #e2e4e7;
	--foodord-license-success: #00a32a;
	--foodord-license-warning: #dba617;
	--foodord-license-gradient: linear-gradient(135deg, #1d2327 0%, #32373c 100%);
}

.foodord-license-page {
	width: 100%;
	margin: 20px 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: var(--foodord-license-text);
	overflow: visible;
}

.foodord-license-intro-text {
	font-size: 14px;
	color: var(--foodord-license-text-muted);
	margin: 8px 0 16px;
}

@media (max-width: 782px) {
	.foodord-license-page {
		margin-top: 20px;
	}
}

.foodord-license-status-check {
	display: flex;
	align-items: center;
	gap: 8px;
}

.foodord-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
}

.foodord-status-dot.is-active {
	background-color: var(--foodord-license-success);
	box-shadow: 0 0 0 3px rgba(0, 163, 42, 0.15);
}

.foodord-status-dot.is-inactive {
	background-color: var(--foodord-license-warning);
	box-shadow: 0 0 0 3px rgba(219, 166, 23, 0.15);
}

.foodord-license-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.foodord-license-feature-card {
	background: var(--foodord-license-card-bg);
	border: 1px solid var(--foodord-license-border);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: all 0.25s ease;
}

.foodord-license-feature-card:hover {
	border-color: #dcdcde;
	background: #fbfbfb;
	transform: translateY(-2px);
}

.foodord-license-feature-icon {
	font-size: 28px;
	margin-bottom: 12px;
	display: inline-block;
	line-height: 1;
}

.foodord-license-feature-title {
	font-size: 15px;
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--foodord-license-text);
	line-height: 1.4;
}

.foodord-license-feature-text {
	font-size: 13px;
	line-height: 1.5;
	color: var(--foodord-license-text-muted);
	margin: 0;
}

.foodord-license-main-card {
	background: var(--foodord-license-card-bg);
	border: 2px solid var(--foodord-license-border);
	border-radius: 20px;
	padding: 40px 30px;
	margin-bottom: 30px;
}

.foodord-license-main-card h2,
.foodord-license-main-title {
	font-size: 20px;
	margin: 0 0 24px;
	text-align: center;
	font-weight: 800;
	line-height: 1.3;
}

.foodord-license-form-group {
	max-width: 500px;
	margin: 0 auto;
}

.foodord-license-input-wrapper {
	position: relative;
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
}

.foodord-license-page .foodord-license-input {
	flex: 1;
	height: 48px;
	border: 2px solid var(--foodord-license-border);
	border-radius: 10px;
	padding: 0 16px;
	font-size: 15px;
	font-family: "Courier New", Courier, monospace;
	transition: border-color 0.2s ease, background-color 0.2s ease;
	background-color: #f9f9f9;
	line-height: normal;
}

.foodord-license-page .foodord-license-input:focus {
	border-color: var(--foodord-license-primary);
	background-color: #fff;
	box-shadow: none;
	outline: none;
}

.foodord-license-page .foodord-license-submit {
	height: 48px;
	padding: 0 24px;
	border-radius: 10px;
	background: var(--foodord-license-gradient);
	border: none;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1;
}

.foodord-license-submit:hover {
	transform: scale(1.02);
	opacity: 0.95;
}

.foodord-license-help {
	text-align: center;
	font-size: 13px;
	color: var(--foodord-license-text-muted);
	margin-top: 12px;
	line-height: 1.5;
}

.foodord-license-details {
	background: #f9f9f9;
	border: 1px solid var(--foodord-license-border);
	border-radius: 12px;
	padding: 24px;
	margin-top: 32px;
}

.foodord-license-details h4,
.foodord-license-details-title {
	margin: 0 0 16px;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--foodord-license-text);
	border-bottom: 2px solid var(--foodord-license-border);
	padding-bottom: 8px;
	display: inline-block;
	line-height: 1.4;
}

.foodord-license-details-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.foodord-license-details-list li {
	display: flex;
	flex-direction: column;
}

.foodord-license-details-list span {
	font-weight: 700;
	color: var(--foodord-license-text-muted);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 4px;
	line-height: 1;
}

.foodord-license-details-list strong {
	color: var(--foodord-license-text);
	font-size: 14px;
	line-height: 1.4;
}

.foodord-license-footer {
	text-align: center;
}

.foodord-license-footer p,
.foodord-license-footer-text {
	font-size: 13px;
	color: var(--foodord-license-text-muted);
	padding-bottom: 32px;
	line-height: 1.5;
}

.foodord-license-footer a {
	color: #2271b1;
	text-decoration: none;
	font-weight: 600;
}

.foodord-license-footer a:hover {
	text-decoration: underline;
}

.foodord-license-page .notice {
	border-radius: 12px;
	margin: 20px 0;
	border-width: 1px 1px 1px 4px;
}

body.screen-meta-active .foodord-license-page .notice {
	position: relative;
	z-index: 1002;
}

.foodord-license-notice-text {
	margin: 0;
}

.foodord-license-service-config {
	margin-top: 40px;
	border-top: 1px solid #eee;
	padding-top: 20px;
}

.foodord-license-service-label {
	font-size: 12px;
	color: #999;
	text-align: center;
	margin: 0 0 16px;
}

.foodord-license-service-items {
	display: flex;
	gap: 20px;
	justify-content: center;
	font-size: 12px;
	flex-wrap: wrap;
}

.foodord-license-service-item {
	text-align: center;
}

.foodord-license-service-item-title {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
}

.foodord-license-service-code {
	background: none;
	border: none;
	padding: 0;
	font-family: "Courier New", Courier, monospace;
}

@media (max-width: 600px) {
	.foodord-license-header {
		padding: 30px 15px;
	}

	.foodord-license-header h1,
	.foodord-license-title {
		font-size: 28px;
	}

	.foodord-license-main-card {
		padding: 30px 20px;
	}

	.foodord-license-input-wrapper {
		flex-direction: column;
	}

	.foodord-license-submit {
		width: 100%;
	}
}