/* ForClimApp Custom Styles */

/* Scenario info boxes */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #31708f;
}

.alert-warning {
  background-color: #fcf8e3;
  border-color: #faebcc;
  color: #8a6d3b;
}

.alert-danger {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}

/* Module spacing */
.module-container {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Loading spinner overlay */
.shinybusy-modal {
  z-index: 10000 !important;
}

/* Results table styling */
.dataTables_wrapper {
  margin-top: 20px;
}

/* Map container */
#map {
  border: 2px solid #ddd;
  border-radius: 5px;
}

/* Coordinate display */
pre {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* Step headers */
h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 15px;
}

/* Icon spacing in alerts */
.alert .fa,
.alert .fas,
.alert .far {
  margin-right: 8px;
}

/* Radio button spacing */
.radio {
  margin-bottom: 10px;
}

/* Button styling */
.btn-primary {
  background-color: #3498db;
  border-color: #2980b9;
  font-weight: 500;
  padding: 10px 20px;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #21618c;
}

/* Extract button specific */
.btn-extract {
  font-size: 18px;
  margin-top: 20px;
}

/* Sidebar navigation styling */
.sidebar-nav-item {
  margin-bottom: 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.sidebar-nav-item a {
  text-decoration: none;
  color: #2c3e50;
  display: block;
  padding: 12px;
  border-radius: 4px;
  background-color: #f8f9fa;
  border-left: 4px solid transparent;
}

.sidebar-nav-item a:hover {
  background-color: #e9ecef;
  border-left-color: #3498db;
}

.sidebar-nav-item.active a {
  background-color: #3498db;
  color: white;
  border-left-color: #2980b9;
  font-weight: 500;
}

.sidebar-nav-item.disabled a {
  color: #adb5bd;
  background-color: #f8f9fa;
  cursor: not-allowed;
  opacity: 0.6;
}

.sidebar-nav-item.disabled a:hover {
  background-color: #f8f9fa;
  border-left-color: transparent;
}

/* Workflow status styling */
#workflow_status {
  font-size: 13px;
}

#workflow_status p {
  margin-bottom: 8px;
}

#workflow_status .fa {
  width: 16px;
  margin-right: 8px;
}

/* Extraction preview */
#extraction_preview {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 15px;
  border-radius: 4px;
}

#extraction_preview p {
  margin-bottom: 5px;
  font-size: 14px;
}
