.volume-visualization-container {
  height: 250px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fa;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.stat-item {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0d6efd;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: #6c757d;
}

.tips-list {
  font-size: 0.9rem;
  padding-left: 20px;
  margin-bottom: 0;
}

.tips-list li {
  margin-bottom: 8px;
  color: #495057;
}

.chart-container {
  height: 250px;
  position: relative;
}

.advanced-options {
  transition: all 0.3s ease;
}

.advanced-toggle {
  cursor: pointer;
  user-select: none;
}

.advanced-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.advanced-content.show {
  max-height: 500px;
}

.calculation-note {
  font-size: 0.85rem;
  color: #6c757d;
  background-color: #f8f9fa;
  border-left: 4px solid #0d6efd;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
}

.result-highlight {
  background-color: #e9f7ff;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid #0dcaf0;
}

.shape-inputs {
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .chart-container {
    height: 200px;
  }
  
  .volume-visualization-container {
    height: 200px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .stat-value {
    font-size: 1.1rem;
  }
}

/* CSV Export Notification */
.csv-export-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
}

.csv-export-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced table styling for CSV data representation */
.csv-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-size: 0.9em;
  font-family: monospace;
}

.csv-data-table th {
  background-color: #f8f9fa;
  text-align: left;
  padding: 8px;
  border-bottom: 2px solid #dee2e6;
}

.csv-data-table td {
  padding: 8px;
  border-bottom: 1px solid #dee2e6;
}

.csv-data-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.csv-data-table tr:hover {
  background-color: #e9ecef;
}

/* Ensure all action buttons are visible */
.action-buttons .btn {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Specific styling for preview button */
.btn-outline-info {
  color: #0dcaf0 !important;
  border-color: #0dcaf0 !important;
  background-color: transparent !important;
}

.btn-outline-info:hover {
  color: #000 !important;
  background-color: #0dcaf0 !important;
  border-color: #0dcaf0 !important;
}

/* Force show any hidden buttons */
#previewCSV {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}