body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  transition: background-color 0.3s, color 0.3s;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
}


#date-select {
  padding: 10px;
  font-size: 16px;
  border-radius: 25px;
  border: none;
  outline: none;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  margin-right: 10px;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

#search-input, #search-button, .nav-buttons button {
  padding: 10px;
  font-size: 16px;
  border-radius: 25px;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

#search-input {
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  font-family: "Noto Sans Telugu", sans-serif;
}

#search-button, .nav-buttons button {
  background: linear-gradient(45deg, #FF6B6B, #FF8E53);
  color: white;
  cursor: pointer;
  padding: 10px 20px;
}

#search-button:hover, .nav-buttons button:hover {
  background: linear-gradient(45deg, #FF8E53, #FF6B6B);
  transform: translateY(-2px);
}

.search-container {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 25px;
  padding: 5px;
}

.content-box {
  background: linear-gradient(45deg, #f3f3f3, #ffffff);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  font-family: "Noto Sans Telugu", sans-serif;
}

#search-results {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-height: 80%;
  overflow-y: auto;
  overflow-X: hidden;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  z-index: 1000;
  font-family: "Noto Sans Telugu", sans-serif;
}

#search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
}

.search-result {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.search-result:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.result-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.result-button {
  padding: 8px 15px;
  font-size: 14px;
  background: linear-gradient(45deg, #105112, #45a049);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.result-button:hover {
  background: linear-gradient(45deg, #45a049, #4CAF50);
  transform: translateY(-2px);
}

.highlight {
  background-color: #ffe75e;
  font-weight: bold;
}

body.dark-mode {
  background: linear-gradient(135deg, #2f2e2e 0%, #1a1a1a 100%);
  color: #f0f0f0;
}

body.dark-mode .content-box {
  background: linear-gradient(45deg, #2c2c2c, #3c3c3c);
  color: #f0f0f0;
}

body.dark-mode #search-results {
  background-color: #333;
  color: #f0f0f0;
}

body.dark-mode #date-select {
  background-color: rgba(255, 255, 255, 0.2);
  color: #f0f0f0;
}

@media (max-width: 500px) {
  header {
    flex-direction: column;
    align-items: stretch;
  }
  .header-left {
    margin-bottom: 10px;
  }
  .search-container {
    width: 100%;
    flex-wrap: wrap;
  }
  #search-input {
    flex-grow: 1;
    margin-right: 10px;
  }
}