* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

header .subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
}

.tool-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 25px;
}

.handle{
  width: 100%;
  display: flex;
  align-items: center;
}

.form-group {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.form-group label {
  width: 80px;
  font-size: 16px;
  font-weight: bold;
}

.container select {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  min-width: 280px;
  background-color: #fff;
  margin-right: 20px;
}

.container button {
  padding: 10px 35px;
  background-color: #6c5ce7;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.container button:hover {
  background-color: #5649c0;
}

.result {
  margin-top: 30px;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background-color: #f8f9fa;
  display: none;
  border: 1px solid #eee;
}

.score {
  font-size: 72px;
  font-weight: bold;
  color: #6c5ce7;
  margin: 10px 0;
}

.description {
  font-size: 18px;
  margin-bottom: 10px;
}

.compatibility {
  display: flex;
  justify-content: center;
  align-items: center;
}

.compatibility span {
  font-size: 24px;
  margin: 0 15px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.data-table th,
.data-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.data-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

.data-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.data-table tr:hover {
  background-color: #f1f1f1;
}

.info-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 25px;
}

h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #4a4a4a;
}

h3 {
  font-size: 16px;
  margin: 20px 0 15px;
  color: #555;
}

p,
ul {
  margin-bottom: 10px;
}

ul {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
  padding-left: 20px;
}

.three_item{
  grid-template-columns: repeat(3, 1fr);
}


footer {
  text-align: center;
  font-size: 14px;
  color: #888;
}
.highlight {
  color: #6c5ce7;
  font-weight: bold;
}

.score-level {
  font-size: 20px;
  color: #6c5ce7;
  font-weight: bold;
}
