.beam-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;
}

.load-diagram {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  min-height: 100px;
  position: relative;
}

.load-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #dc3545;
  border-radius: 50%;
  transform: translateX(-50%);
}

.support-marker {
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 15px;
  background-color: #6c757d;
  border-radius: 3px 3px 0 0;
  transform: translateX(-50%);
}

.beam-line {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #495057;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .chart-container {
    height: 200px;
  }
  
  .beam-visualization-container {
    height: 200px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .stat-value {
    font-size: 1.1rem;
  }
}

/* Positive/Negative value indicators */
.value-positive {
  color: #28a745 !important;
}

.value-negative {
  color: #dc3545 !important;
}

/* Beam material colors */
.material-steel {
  color: #6c757d;
}

.material-concrete {
  color: #a0a0a0;
}

.material-timber {
  color: #8b4513;
}

/* Section type indicators */
.section-rectangular {
  background: linear-gradient(45deg, #e9ecef 25%, transparent 25%, transparent 75%, #e9ecef 75%);
}

.section-i_beam {
  background: linear-gradient(0deg, transparent 40%, #e9ecef 40%, #e9ecef 60%, transparent 60%);
}
/* Export Notification Styles */
.export-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 5px;
    color: white;
    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;
    display: flex;
    align-items: center;
}

.export-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.export-notification.success {
    background-color: #28a745;
}

.export-notification.error {
    background-color: #dc3545;
}

.export-notification.info {
    background-color: #17a2b8;
}
/* Error Notification Styles */
.error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 5px;
    background-color: #dc3545;
    color: white;
    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;
    display: flex;
    align-items: center;
    max-width: 400px;
}

.error-notification.show {
    opacity: 1;
    transform: translateY(0);
}