body { 
  margin: 0; 
  padding: 0; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

.logout-btn {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.logout-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transform: translateX(-50%) translateY(-2px);
}

#map { 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  width: 100%; 
}

.sidebar {
  position: absolute;
  left: 0;
  top: 0;
  width: 40vw;
  height: 100%;
  background: #fff;
  padding: 0;
  display: none;
  z-index: 1;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0,0,0,0.15);
}

.sidebar-header {
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 2;
}

.sidebar-header h2 {
  margin: 0 0 5px 0;
  font-size: 20px;
  color: #333;
  line-height: 1.3;
}

.sidebar-header p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.sidebar-content {
  padding: 20px;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  transition: background 0.2s;
}

.close-btn:hover {
  background: #e0e0e0;
}

.info-item {
  margin-bottom: 15px;
}

.info-item label {
  display: block;
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item value {
  display: block;
  color: #333;
  font-size: 16px;
}


.info-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: white;
  padding: 20px;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  z-index: 1;
}

.info-sidebar h2 {
  margin-top: 0;
  color: #3FB1CE;
  font-size: 24px;
}

.info-sidebar h3 {
  color: #333;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.info-sidebar ul, .info-sidebar ol {
  padding-left: 20px;
}

.info-sidebar li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.history-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.history-section h3 {
  margin-top: 0;
}

.table-container {
  overflow-x: auto;
  margin-top: 15px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.history-table th,
.history-table td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.history-table th {
  background-color: #3FB1CE;
  color: white;
  font-weight: bold;
  position: sticky;
  top: 0;
}

.history-table tr:hover {
  background-color: #f5f5f5;
}

.loading {
  padding: 20px;
  text-align: center;
  color: #666;
}

.history-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.history-section h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
}

#temperature-chart {
  margin-top: 20px;
  width: 100%;
}

.loading {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
}

.no-data {
  padding: 20px;
  text-align: center;
  color: #999;
  background: #f5f5f5;
  border-radius: 4px;
  margin-top: 10px;
}

.apexcharts-tooltip-custom {
  padding: 10px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
}


.wind-stats {
  margin-top: 10px;
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.wind-stats p {
  margin: 5px;
  font-size: 13px;
}

.history-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.history-section h3 {
  margin-bottom: 10px;
  color: #333;
}

.no-data {
  padding: 20px;
  text-align: center;
  color: #999;
  font-style: italic;
}