.main_container {
  display: flex;
  justify-content: 'space-between';
  flex-wrap: wrap;
  flex: 0 0 100%;
}            


.polar_plot_container{
  display: inline-block;
  vertical-align: top;
  flex: 0 0 40%;
  min-width: 200px;
}


.map_plot_container{
display: inline-block;
vertical-align: top;
flex: 0 0 60%;
min-width: 400px;
margin-bottom: 20px;
}


@media screen and (max-width: 800px) {
.map_plot_container {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
.polar_plot_container {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
}

.custom-button {
  padding: 10px 20px;
  background-color: #6ba8a4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.collapse-button {
  font-family: Arial;

  padding: 5px 10px;
  background-color: #6ba8a4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;

}

.collapse-button:hover {
  background-color: #5a938f;
}

.custom-button:hover {
  background-color: #5a938f;
}

.custom-dropdown {
  width: 200px;
  font-size: 18px;
  padding-left: 10%;
}


/* restyle radio items */
.radio-group .form-check {
  padding-left: 0;
}

.radio-group .btn-group > .form-check:not(:last-child) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.radio-group .btn-group > .form-check:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}

/* Tab styling */
.nav-tabs-custom .nav-link {
    color: #6ba8a4 !important;
    border: 2px solid transparent !important;
    border-radius: 8px 8px 0 0 !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-tabs-custom .nav-link:hover {
    background-color: #f8f9fa !important;
    border-color: #6ba8a4 !important;
}

.nav-tabs-custom .nav-link.active {
    background-color: #6ba8a4 !important;
    color: white !important;
    border-color: #6ba8a4 !important;
}

.nav-tabs-custom {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px !important;
}

/* Sidebar styles */
.sidebar-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 100vh;
}

.sidebar-toggle-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #6ba8a4 !important;
  border: none !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 8px 10px !important;
  color: white !important;
  font-size: 14px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  min-width: 120px;
  text-align: center;
}

.sidebar-toggle-btn:hover {
  background-color: #5a9590 !important;
  transform: translateX(2px);
}

.sidebar-toggle-open {
  background-color: rgba(107, 168, 164, 0.3) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.sidebar-toggle-open:hover {
  background-color: rgba(107, 168, 164, 0.5) !important;
  color: white !important;
}

.sidebar-toggle-closed {
  background-color: #6ba8a4 !important;
  color: white !important;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 320px;
  background-color: #f8f9fa;
  border-right: 2px solid #6ba8a4;
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar-closed {
  transform: translateX(-100%);
}

.sidebar-open {
  transform: translateX(0);
}

.sidebar-content {
  padding: 60px 20px 20px 20px;
}

.sidebar-title {
  color: #6ba8a4;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
}

.sidebar-text {
  color: #333;
  font-size: 16px;
  margin-bottom: 20px;
}

.crawl-item {
  background-color: white;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 4px solid #6ba8a4;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.crawl-title {
  color: #6ba8a4;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.crawl-date {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.crawl-status {
  color: #28a745;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0;
}

.main-content {
  transition: margin-left 0.3s ease;
}

/* Responsive design for sidebar */
@media screen and (max-width: 768px) {
  .sidebar {
    width: 280px;
  }
  
  .sidebar-content {
    padding: 50px 15px 15px 15px;
  }
  
  .sidebar-toggle-btn {
    font-size: 12px !important;
    padding: 8px 12px !important;
  }
}
