body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #89f7fe, #66a6ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}
button {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
}

.container {
  text-align: center;
  width: 360px;
  max-width: 95%;
  background: rgba(255,255,255,0.06);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
}

h1 {
  color: rgb(0, 0, 0);
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.hidden {
  display: none !important;
}

#moodButton {
  font-size: 4rem;
  padding: 20px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: white;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

#moodButton:hover {
  transform: scale(1.08);
}

#moodSelector {
  margin-top: 20px;
  display: flex;
  justify-content: center;  
  align-items: center;
  gap: 2px;  
}

.hidden {
  display: none;
}

.mood {
  margin: 0 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.mood:hover {
  transform: scale(1.3);
}
/* Caritas pequeñas */

.mood-option {
  flex: 1;
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.mood-option:hover {
  transform: scale(1.3); 
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.mood-option.selected {
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  transform: scale(1.2);
}

#message {
  margin-top: 16px;
  color: white;
  font-size: 1.0rem;
  font-weight: bold;
}

.history-section {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

#toggleView,
#chartTypeButton {
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  background-color: #6c5ce7;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background 0.3s;
}

#historyButton:hover {
  background-color: #01ffc4;
  color: black;
}

#historyContainer {
  margin-top: 14px;
  text-align: left;
  max-height: 240px;
  overflow: auto;
}

#historyContainer div {
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

#historyChart {
  max-width: 100%;
  margin-top: 12px;
  height: 260px;
}

#historyButton,
#exportBtn {
  display: block;
  width: 100%;
  margin: 10px auto;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: background 0.3s, color 0.3s;
}

#historyButton {
  background-color: #003052; 
}

#exportBtn {
  background-color: #220e71; 
}

#historyButton:hover,
#exportBtn:hover {
  background-color: #01ffc4;  
  color: black;
}