/* styles.css */
.navbar {
  display: flex;
  gap: 24px; 
  padding: 12px;
  background-color: #f5f5f5;
}

.navbar a {
  text-decoration: none;
  color: #333;
}

body {
  font-family: Arial, sans-serif;
  padding: 20px;
}

h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.device-info {
  font-size: 26px;
  margin-bottom: 30px;
  line-height: 1.6;
}

label {
  display: block;
  margin-top: 10px;
}

input,
select,
button {
  width: 100%;
  max-width: 300px;
  padding: 8px;
  margin-top: 5px;
  font-size: 26px;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  font-size: 26px;
}

th,
td {
  border: 1px solid #aaa;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

#command-form button {
  display: block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 26px;
}

.chart-parameters {
  display: flex;
  gap: 10px;
  font-size: 26px;
  margin-bottom: 30px;
  line-height: 1.6;
}

#chart-container {
  width: 100%;
  height: calc(100vh / 3); 
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: slideIn 0.3s ease forwards;
}

.toast.success {
  background-color: #28a745;
}

.toast.error {
  background-color: #dc3545;
}

@keyframes slideIn {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  border-radius: 4px; /* или 0 для строго квадрата */
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  margin: 0;
}
