/*
Blue: #8ACED9
Green: #93CEAE
Teal: #7FCECB
Off-White: #FAFCF6;
*/

/* Yakalama checkbox'u için stil */
.capture-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Tablo hücrelerinde ortalamak için */
td {
    text-align: center;
    vertical-align: middle;
}

#topHeading h1 {
  font-size: 2.2em;
  margin-bottom: 5px;
}

#topHeading h2 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #318D9B;
}

body {
  text-align: center;
  background-image: url("Images/leafWallpaper.png");
  background-repeat: repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: "Noto Sans TC", sans-serif;
  color: #0F2A2E;
}

#topHeading {
  display: inline-block;
  width: 850px;
  border: 12px solid #318D9B;
  background-color: #FAFCF6;
  border-radius: 12px 12px 0 0;
  padding: 15px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #topHeading {
    display: inline-block;
    width: 600px;
  }
}

#languageSelector {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #7FCECB;
  padding: 8px 15px;
  border-radius: 20px;
}

#languageSelector label {
  font-weight: bold;
}

#languageSelect {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #318D9B;
  background-color: #FAFCF6;
}

.availableMonth {
  margin: 0 0 12px 0;
  padding: 6px;
  font-size: 1em;
  font-weight: 600;
  background-color: #7FCECB;
  color: #E1F4F3;
  border-radius: 12px;
  border: 2px solid #318D9B;
}

 .availableMonth:hover, .monthSelected {
  background-color: #D5ECDF;
  color: #7FCECB;
}

#charts {
  background-color: #318D9B;
  padding: 12px;
  margin: auto;
  width: 850px;
  border-radius: 0 0 12px 12px;
}

@media (max-width: 768px){
  #charts {
    padding: 12px;
    margin: auto;
    width: 600px;
    border-radius: 0 0 12px 12px;
  }
}

/* style the tab , note to self, add some media queries....*/
.tab {
  margin: auto;
  width: inherit;
  overflow: hidden;
  border: 1px solid #318D9B;
  background-color: #E1F4F3;
  border-radius: 6px;
  padding: 6px 0 0 0;

}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: 1px solid #318D9B;
  border-radius: 12px 12px 0 0;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-weight: 600;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #C6E7EC;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #A6DDDC;
}

table {
  margin-left: auto;
  margin-right: auto;
  width: 850px;
  background-color: #318D9B;
  border-radius: 6px;

}

@media (max-width: 768px){
  table {
    width: 600px;
  }
}

 th:first-child, td:first-child {
   border-radius: 6px 0 0 6px;
}

th:last-child {
  border-radius: 0 6px 6px 0;
}

th {
  background-color: #D5ECDF;
}

td{
  background-color: #FAFCF6;
}

th, td {
  width: 100px;
  border: 1px solid #318D9B;
}

.month, .jan, .feb, .mar, .apr, .may, .jun, .jul,
.aug, .sept, .oct, .nov, .dec {
  display: none;
}

img {
  width: 50px;
}

/* Filtreleme seçenekleri için ek stil */
#hemisphere {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

#hemisphere label {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #7FCECB;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#hemisphere label:hover {
    background-color: #93CEAE;
}

#hemisphere input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Tablo hücrelerinde ortalamak için */
td {
    text-align: center;
    vertical-align: middle;
}

/* Yakalama checkbox'u için stil */
.capture-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Yeşil buton stili */
#activeNowButton {
    background-color: #4CAF50; /* Yeşil */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

#activeNowButton:hover {
    background-color: #45a049;
}

#activeNowButton.active {
    background-color: #2E7D32; /* Koyu yeşil */
}

/* Pembe arkaplan (ayrılacak olanlar için) */
.leaving-soon {
    background-color: #ffcccc !important; /* Açık pembe */
    color: red;
}
