:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --bg: #0f172a;
  --card-bg: #0b1120;
  --success: #16a34a;
  --warning: #eab308;
  --danger: #dc2626;
  	--bg: #020617;
	--card: #020617;
	--border: rgba(148, 163, 184, 0.3);
	--text: #e5e7eb;
	--muted: #9ca3af;
	--primary: #2563eb;
	--good: #22c55e;
	--medium: #eab308;
	--bad: #ef4444;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #FFF;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .50) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .50) 50%, rgba(255, 255, 255, .50) 75%, transparent 75%, transparent);
  background-size: 200px 200px;
}

.page {
	width: 100%;
	max-width: 900px;
	background: linear-gradient(135deg, #020617, #020617);
	border-radius: 18px;
	padding: 20px 18px 24px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(148, 163, 184, 0.08);
	position: relative;
	overflow: hidden;
	margin: 0 auto;
}
.page::before {
	content: "";
	position: absolute;
	inset: -150px;
	background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 60%), radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.14), transparent 55%);
	opacity: 0.9;
}
.inner {
	position: relative;
	z-index: 2;
}
a {
	color: #93c5fd;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
.header {
	background: #0c3465;
	color: #fff;
	padding: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo a:link, .logo a:hover, .logo a:visited {
	text-decoration: none;
	color: white;
}
.title-block h1 {
	margin: 0 0 4px;
	font-size: 20px;
	color: var(--text);
}
.title-block p {
	margin: 0;
	font-size: 13px;
	color: var(--text);
            /*color: var(--muted);*/
}
.back-link {
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.4);
	background: rgba(15, 23, 42, 0.9);
	color: var(--text);
	text-decoration: none;
}
.back-link:hover {
	background: rgba(15, 23, 42, 1);
}
.url-box {
	border-radius: 12px;
	border: 1px solid var(--border);
	padding: 10px 12px;
	background: rgba(15, 23, 42, 0.96);
	margin-bottom: 14px;
	font-size: 13px;
}
.url-box strong {
	color: #cbd5f5;
}
.url-box .value {
	direction: ltr;
	text-align: left;
	font-size: 12px;
}
.summary-grid {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 12px;
	margin-bottom: 18px;
	align-items: stretch;
}
@media 
{
.summary-grid {
	grid-template-columns: 1fr;
}
}
.score-card {
	border-radius: 16px;
	border: 1px solid rgba(37, 99, 235, 0.5);
	background: radial-gradient(circle at top, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.9));
	padding: 14px 12px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.score-badge {
	font-size: 11px;
	padding: 2px 9px;
	border-radius: 999px;
	border: 1px solid rgba(191, 219, 254, 0.5);
	background: rgba(15, 23, 42, 0.9);
	color: #bfdbfe;
}
.score-circle {
	width: 110px;
	height: 110px;
	border-radius: 999px;
	border: 6px solid rgba(15, 23, 42, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	background: conic-gradient( #22c55e calc(1deg * var(--p)), rgba(31, 41, 55, 1) 0 );
	position: relative;
}
.score-circle-inner {
	width: 82px;
	height: 82px;
	border-radius: 999px;
	background: radial-gradient(circle, #020617, #020617);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
}
.score-circle-inner span.value {
	font-size: 26px;
	font-weight: 700;
	color: var(--text);
}
.score-circle-inner span.of {
	font-size: 11px;
	color: var(--muted);
}
.grade-label {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 600;
}
.grade-excellent {
	color: var(--good);
}
.grade-good {
	color: #4ade80;
}
.grade-medium {
	color: var(--medium);
}
.grade-bad {
	color: var(--bad);
}
.http-meta {
	margin-top: 6px;
	font-size: 11px;
	color: var(--muted);
	text-align: center;
}
.legend {
	border-radius: 14px;
	border: 1px solid var(--border);
	background: rgba(15, 23, 42, 0.97);
	padding: 10px 12px;
	font-size: 11px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.legend-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.legend-chip {
	border-radius: 999px;
	padding: 3px 8px;
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid rgba(148, 163, 184, 0.4);
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--text);
}
.legend-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
}
.legend-dot.good {
	background: var(--good);
}
.legend-dot.medium {
	background: var(--medium);
}
.legend-dot.bad {
	background: var(--bad);
}
.checks {
	border-radius: 16px;
	border: 1px solid var(--border);
	background: rgba(15, 23, 42, 0.97);
	padding: 10px 10px 12px;
	margin-bottom: 14px;
}
.check {
	padding: 8px 6px;
	border-bottom: 1px solid rgba(31, 41, 55, 0.8);
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 8px;
}
.check:last-child {
	border-bottom: none;
}
@media 
{
.check {
	grid-template-columns: 1fr;
}
}
.check-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
}
.check-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.6);
}
.check-badge.good {
	border-color: rgba(34, 197, 94, 0.7);
	color: #bbf7d0;
}
.check-badge.medium {
	border-color: rgba(234, 179, 8, 0.7);
	color: #fde68a;
}
.check-badge.bad {
	border-color: rgba(239, 68, 68, 0.7);
	color: #fecaca;
}
.check-main {
	font-size: 13px;
}
.check-main .value {
	margin-bottom: 2px;
	color: var(--text);
}
.check-main .extra {
	font-size: 11px;
	color: var(--muted);
}
.check-main .hint {
	margin-top: 2px;
	font-size: 11px;
	color: #c4b5fd;
}
.notes-box {
	border-radius: 14px;
	border: 1px solid rgba(129, 140, 248, 0.6);
	background: radial-gradient(circle at top, rgba(67, 56, 202, 0.22), rgba(15, 23, 42, 0.95));
	padding: 10px 12px;
	font-size: 12px;
}
.notes-box h2 {
	margin: 0 0 6px;
	font-size: 14px;
	color: red;
}
.notes-box ul {
	margin: 0;
	padding-left: 16px;
}
.notes-box li {
	margin-bottom: 3px;
	color: var(--text);
}
.error {
	border-radius: 12px;
	border: 1px solid rgba(239, 68, 68, 0.7);
	background: rgba(127, 29, 29, 0.9);
	padding: 10px 12px;
	font-size: 13px;
	margin-top: 10px;
}
.legend-dot good span {
	color: var(--text);
}
.container {
  width: 100%;
  max-width: 90%;
  background: linear-gradient(135deg, #020617, #020617);
  border-radius: 18px;
  padding: 20px 22px 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(148, 163, 184, 0.08);
  /*position: relative;
  */;
  overflow: hidden;
  margin: 0 auto;
}
.container::before {
  content: "";
  position: absolute;
  /*inset: -80px;
  */;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.22), transparent 60%), radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.18), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f9fafb;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
h1 span.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FFF;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #000;
}
.subtitle {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}
.subtitle strong, .chip span {
  color: #ffc107;
}
form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.field-label {
  font-size: 13px;
  color: #cbd5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.field-label small {
  font-size: 11px;
  color: #6b7280;
}
.input-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
input[type=text] {
  flex: 1 1 2px;
  padding: 11px 12px;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background-color: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s;
  direction: ltr;
}
input[type=text]::placeholder {
  color: #6b7280;
  font-size: 12px;
}
input[type=text]:focus {
  border-color: #60a5fa;
  background-color: rgba(15, 23, 42, 1);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.4);
}
button[type=submit] {
  font-family: 'El Messiri';
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.12s;
  white-space: nowrap;
}
button[type=submit]:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}
button[type=submit]:active {
  transform: translateY(0);
  box-shadow: none;
}
.hint-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  color: #9ca3af;
}
.chip {
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.chip strong {
  color: #e5e7eb;
  font-size: 11px;
}
.features {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  font-size: 11px;
}
.feature {
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(30, 64, 175, 0.55);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.feature-title span {
  font-weight: 600;
  color: #e5e7eb;
}
.feature small {
  color: #9ca3af;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}
@media {
  .container {
    padding: 20px 16px 22px;
  }
  h1 {
    font-size: 20px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .input-row {
    flex-direction: column;
  }
  button[type=submit] {
    justify-content: center;
    width: 100%;
  }
}
