html {
  color: white;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: #121212;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.logo {
  width: 250px;
  margin-top: 15px;
}

.input-button,
.input-button:hover {
  background-color: #0D1B3E;
  color: white;
  font-size: large;
  font-family: mulish;
  border-radius: 20px;
  padding: 15px;
}

.input-button:hover {
  background-color: #4a6096;
  cursor: pointer;
}

.streak-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px 40px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 90px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.streak-text {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.streak-number {
  font-size: 64px;
  font-weight: bold;
  color: white;
  line-height: 1;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.loading-dots span {
  animation: fadeInOut 1.5s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

.sleep-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px 40px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 90px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.sleep-text {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.sleep-number {
  font-size: 64px;
  font-weight: bold;
  color: white;
  line-height: 1;
}

.sleep-input {
  background: transparent;
  border: none;
  color: white;
  font-size: 64px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  outline: none;
}

.weight-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px 40px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 90px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.weight-text {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.weight-number {
  font-size: 64px;
  font-weight: bold;
  color: white;
  line-height: 1;
}

.weight-input {
  background: transparent;
  border: none;
  color: white;
  font-size: 64px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  outline: none;
}

.steps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px 40px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 90px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.steps-text {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.steps-number {
  font-size: 64px;
  font-weight: bold;
  color: white;
  line-height: 1;
}

.steps-input {
  background: transparent;
  border: none;
  color: white;
  font-size: 64px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  outline: none;
}

.food-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px 40px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 90px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.food-text {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.food-number {
  font-size: 64px;
  font-weight: bold;
  color: white;
  line-height: 1;
}

.food-input {
  background: transparent;
  border: 5px solid white;
  color: white;
  font-size: 64px;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.add-log-btn {
  background: linear-gradient(135deg, #8A2BE2, #6A0DAD);
  color: white;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

.add-log-btn:hover {
  background: linear-gradient(135deg, #6A0DAD, #4B0082);
  box-shadow: 0 8px 20px rgba(106, 13, 173, 0.5);
}

.add-log-btn:active {
  transform: scale(0.98);
}

.nutrition-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#nutrition-form {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px; 
  margin-top: 20px;
}

.form-column {
  display: flex;
  gap: 20px; 
}

.input-boxes {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  text-align: center;
  width: 135.5px; 
}

.input-boxes input {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  outline: none;
}

.bar {
  width: 360px;
  height: 25px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  font-size: 18px;
}

.bar div {
  height: 100%;
}

.bar-text {
  position: absolute;
  color: white;
  font-size: 18px;
  font-weight: bold;
  z-index: 1;
}

.motivation-banner {
  position: fixed;
  top: -30px;
  background-color: #4CAF50; 
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  border-radius: 15px;
  z-index: 1000;
  transition: top 0.5s ease, opacity 0.5s ease;
  width: 800px;
  opacity: 0;
}

.motivation-banner.show {
  top: 40px; 
  opacity: 1;
}