* {
  margin: 0;
  padding: 0;

}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  max-width: 1560px;
  min-width: 1240px;
  width: 100%;
  margin: 20px auto;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  margin-bottom: 20px;
  text-align: center;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.tagline {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.6;
}

.tool-container {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.input-section {
  flex: 1;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.chart-section {
  flex: 2;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 720px;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2c3e50;
}

.input-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
  font-size: 1.1rem;
}

input,
select {
  width: 100%;
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.3s;
}

input:focus,
select:focus {
  border-color: #4a90e2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.btn {
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  width: 100%;
  margin-top: 10px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 15px rgba(142, 45, 226, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.examples-group {
  background: #e8f4ff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.examples-group h3 {
  margin-bottom: 10px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.examples-group ul{
  padding: 0 10px;
}

.chart-container {
  flex: 1;
  position: relative;
}

#chartCanvas {
  width: 100% !important;
  height: 100% !important;
}

.instructions {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
}

.instructions h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.instructions-content {
  line-height: 1.8;
}

.instructions-content p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.instructions-content ul {
  padding-left: 25px;
  margin: 20px 0;
}

.instructions-content li {
  margin-bottom: 10px;
}

.function-table {
  padding: 20px;
  background: white;
  margin-bottom: 20px;
  border-radius: 10px;
}

.function-table h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

th,
td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #f1f8ff;
  font-weight: 600;
  color: #2c3e50;
}

tr:hover {
  background-color: #f9f9f9;
}

.status {
  padding: 10px;
  margin-top: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.success {
  background-color: #e6f7ee;
  color: #0a8f4e;
}

.error {
  background-color: #fde8e8;
  color: #e53e3e;
}

footer {
  text-align: center;
  color: #6c757d;
  font-size: 1rem;
}

.emoji-icon {
  font-size: 1.4em;
}
