* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1460px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
  display: flex;
  flex-direction: column;
}

.container * {
  box-sizing: border-box;
}

/* 头部样式 */
header {
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  line-height: 1.6;
}

.test-section {
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	margin-bottom: 30px;
}

.test-form {
	display: flex;
	margin-bottom: 20px;
}

.url-input {
	flex: 1;
	padding: 15px;
	font-size: 1.1rem;
	border: 1px solid #ddd;
	border-radius: 5px 0 0 5px;
	outline: none;
}

.url-input:focus {
	border-color: #3498db;
}

.test-button {
	background-color: #3498db;
	color: white;
	border: none;
	padding: 0 30px;
	font-size: 1.1rem;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
	transition: background-color 0.3s;
}

.test-button:hover {
	background-color: #2980b9;
}

.results-section {
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	margin-bottom: 30px;
	display: none;
}

.results-section.active {
	display: block;
}

.result-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.result-icon {
	font-size: 2rem;
	margin-right: 15px;
}

.result-title {
	font-size: 1.5rem;
	font-weight: bold;
}

.result-details {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.detail-card {
	background-color: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
}

.detail-card h3 {
	margin-bottom: 10px;
	color: #2c3e50;
	font-size: 1.1rem;
}

.protocol-status {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.status-icon {
	font-size: 1.5rem;
	margin-right: 10px;
}

.status-text {
	font-weight: bold;
}

.status-supported {
	color: #27ae60;
}

.status-not-supported {
	color: #e74c3c;
}

.timing-info {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}

.timing-item {
	text-align: center;
}

.timing-value {
	font-size: 1.2rem;
	font-weight: bold;
	color: #3498db;
}

.timing-label {
	font-size: 0.8rem;
	color: #7f8c8d;
}

.info-section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.info-card {
	background-color: #fff;
	border-radius: 10px;
	padding: 25px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-card h2 {
	margin-bottom: 15px;
	color: #2c3e50;
	font-size: 1.3rem;
}

.info-card ul {
	padding-left: 20px;
}

.info-card li {
	margin-bottom: 8px;
}

footer {
	border-radius: 10px;
	padding: 30px;
	text-align: center;
}


.notice {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #2c3e50;
	color: white;
	padding: 15px 25px;
	border-radius: 5px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	display: none;
}

.notice.active {
	display: block;
	animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
	0% {
		opacity: 0;
		transform: translateX(-50%) translateY(20px);
	}

	20% {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}

	80% {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateX(-50%) translateY(-20px);
	}
}

.loading {
	display: none;
	text-align: center;
	padding: 20px;
}

.loading.active {
	display: block;
}

.spinner {
	border: 5px solid #f3f3f3;
	border-top: 5px solid #3498db;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
	margin: 0 auto 15px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}