/* style_kalkulator.css */

.calc-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  text-align: left;
  color: #333;
}

.calc-box h2 {
  margin-top: 0;
  color: #002f34;
  font-size: 24px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #2d3748;
}

.form-group select, 
.form-group input[type="file"] {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #cbd5e0;
  font-size: 15px;
  background: #f7fafc;
  font-family: inherit;
}

.loading-msg {
  text-align: center;
  display: none;
  color: #4a5568;
  font-weight: 500;
  margin: 20px 0;
}

.results-card {
  margin-top: 25px;
  padding: 20px;
  background: #f7fafc;
  border-left: 5px solid #002f34;
  border-radius: 4px;
  display: none;
}

.results-card h3 {
  margin-top: 0;
  color: #002f34;
  font-size: 18px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.res-row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 15px;
}

.price-total {
  font-size: 22px;
  color: #002f34;
  font-weight: bold;
}

.qty-table {
  width: 100%;
  margin-top: 15px;
  border-collapse: collapse;
  font-size: 14px;
}

.qty-table th {
  text-align: left;
  color: #718096;
  padding-bottom: 5px;
  font-size: 12px;
  text-transform: uppercase;
}

.qty-table td {
  padding: 6px 0;
  border-top: 1px dashed #e2e8f0;
}
#preview-canvas {
  width: 100%;
  height: 250px; /* Nieco wyższe okno dla lepszego widoku */
  background: #1a202c;
  border-radius: 6px;
  margin-top: 15px;
  margin-bottom: 5px;
  display: none;
  border: 1px solid #4a5568;
  cursor: grab; /* Kursor rączki zachęcający do obracania */
}
#preview-canvas:active {
  cursor: grabbing;
}