.calculator-container {
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.result-box {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.height-type-selector {
  margin-bottom: 15px;
}

.corner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.batch-btn, .share-btn {
  margin-top: 15px;
}

.ratio-preset {
  color: #6c757d;
  font-size: 0.9em;
}

.social-share-buttons .btn {
  flex: 1;
  min-width: 0;
}

.room-diagram {
  background: #f0f0f0;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 0.9em;
  text-align: center;
}

.result-container {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.social-share {
  display: flex;
  align-items: center;
}

.social-share .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.batch-btn {
  white-space: nowrap;
}

/* Иконки соцсетей */
.social-share .btn i {
  font-size: .875rem;
  vertical-align: middle;
}

/* Модальное окно - иконки */
.modal-body .btn i {
  margin-right: 5px;
}

/* Визуализация помещения */
.room-visualization {
  position: relative;
  border: 1px solid #ddd;
  max-width: 500px;
  margin: 0 auto;
}

.room-shape {
  width: 100%;
  height: 150px;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
}

.dimension {
  padding: 5px;
  font-weight: bold;
}

.width-dimension {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: right center;
}

.length-dimension {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

/* Стили для модального окна рецепта */
#batchRecipeResult {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

#batchRecipeResult h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

.ratio-info {
  background-color: #e9ecef;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Стили для модального окна рецепта */
.is-invalid {
  border-color: #dc3545 !important;
}

.recipe-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.list-group-item {
  transition: background-color 0.2s;
}

.badge {
  font-size: 0.9em;
  min-width: 70px;
}

.text-muted {
  font-size: 0.85em;
}

.qr-code-container {
  margin: 15px auto;
  text-align: center;
}

.qr-code-container canvas {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
  padding: 10px;
}