body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

h1, h2, h3 {
  color: #2c3e50;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px;
}

.input-label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #34495e;
}

.input-field {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 200px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#content {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.graph-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.item {
  background: #ffffff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.item:hover {
  transform: translateY(-4px);
}

.item canvas {
  margin-top: 10px;
  max-width: 100%;
  height: auto;
}

.thirdchart {
  background: #ffffff;
  border-radius: 20px;
  max-width: 800px;
  margin: 30px auto;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.chart-container {
  max-width: 100%;
  margin: 20px auto;
}

.btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.btn:hover {
  background: #357abd;
}

#analytics {
  margin-top: 30px;
  text-align: left;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.06);
}

#analytics h3,
#analytics p {
  margin: 10px 0;
  font-family: "Segoe UI", sans-serif;
  color: #34495e;
}

#analytics b {
  font-size: 1.2rem;
  color: #2c3e50;
}

.datadescription {
	padding: 0 18px;
	background-color: Transparent;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
  }

@media screen and (max-width: 768px) {
  .graph-row {
    flex-direction: column;
    align-items: center;
  }
  .input-field {
    width: 100%;
  }
}
