.device-input-form {
    margin-left: 40px;
    margin-bottom: 20px;
    margin-top: 20px;
    display: flex;
    gap: 10px;
    max-width: 600px;
    align-items: center;
}

#device-result {
    width: 100%;
    display: flex;
    justify-content: left;
    margin-left: 40px;
    margin-bottom:20px;
}

.device-card {
    min-width: 300px;
    max-width: 600px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.device-card__header {
    margin-bottom: 20px;
}

.device-card__label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #6b7280;
}

.device-card__title {
    margin: 0;
    font-size: 24px;
}

.device-card__row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
}

.device-card__name {
    color: #6b7280;
}

.device-card__value {
    font-weight: 500;
    text-align: right;
}

/* Контейнер лоадера */
#loader {
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
  margin-bottom: 20px;
}

/* Класс для скрытия лоадера */
.loader-hidden {
  opacity: 0;
  pointer-events: none; /* Чтобы кнопка была кликабельной, когда лоадер скрыт */
}

/* Анимация круга */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}