ion-searchbar {
  --background: #f4f4f4;
  margin: 10px;
  border-radius: 10px;
}

.info-box {
  text-align: center;
  font-weight: bold;
}

.info-value {
  text-align: center;
  margin-top: 10px;
  font-size: 1.2em;
  color: #888;
}

.wave-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  position: relative;
  margin: 20px 0;
}

.wave-circle {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 50% 50%, #6ec1e4, #378ab7);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* .wave {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -75%;
  left: -50%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: wave 4s infinite linear;
} */

.wave-inner {
  width: 150px;
  height: 150px;
  background-color: #6ec1e4;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

/* @keyframes wave {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
} */


// 每日小习惯
.daily-habit {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.daily-habit-line {
  width: 5px;
  height: 20px;
  background-color: green;
  margin-right: 10px;
}

.daily-habit-text {
  font-size: 1.2em;
  color: #666;
}

.habit-button {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

/* @keyframes wave {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
} */



//每日习惯css
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  .custom-button {
    margin: 10px;
    width: calc(33.33% - 20px);
    border-radius: 20px;
  }

  ion-icon {
    margin-bottom: 10px; // 调整图标与文字之间的间距
  }

  p {
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: center; // 水平居中
    align-items: center; // 垂直居中
    flex-wrap: wrap; // 允许文字换行
    line-height: 1; // 保持文字垂直居中
  }
}


  .success-text {
    color: #32db64; // 荧光绿
  }

  .failure-text {
    color: #ff4d4f; // 荧光红
  }


.habit-text {
  margin-left: 10px;
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  height: 50px; // 设置固定高度以垂直居中

  &.centered {
    
    justify-content: right; // 水平居中
    align-items: center; // 垂直居中
  }
}
.daily-habit{
  margin-left: 10px;
}