/* Custom styles for the Language Map Application */

/* Main container styling */
.main-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
}

/* Header styling */
.title {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 10px;
}

.subtitle {
  color: #7f8c8d;
  font-style: italic;
  margin-bottom: 20px;
}

/* Map container styling - maximize size */
.leaflet-container {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px 0;
  height: 80vh !important;
  width: 100% !important;
}

/* Ensure maps take full width */
.leaflet {
  height: 80vh !important;
  width: 100% !important;
}

/* Table styling */
.dataTables_wrapper {
  margin: 20px 0;
}

.dataTable {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Plot styling */
.plotly {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

/* Section headers */
h2 {
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
}

h3 {
  color: #34495e;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Code blocks */
pre {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 15px;
  margin: 15px 0;
}

/* Links */
a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .main-container {
    padding: 5px;
  }
  
  .leaflet-container {
    height: 60vh !important;
  }
  
  .leaflet {
    height: 60vh !important;
  }
  
  .title {
    font-size: 1.5em;
  }
  
  .subtitle {
    font-size: 1em;
  }
}

/* Full width layout without TOC */
body {
  margin: 0;
  padding: 0;
}

.quarto-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.quarto-layout-panel {
  padding: 10px !important;
}

/* Map specific styling */
.leaflet-popup-content {
  font-size: 14px;
  line-height: 1.4;
}

.leaflet-popup-content b {
  color: #2c3e50;
}

/* Statistics section */
.verbatim {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 15px;
  margin: 15px 0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

