@charset "UTF-8";
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
.animation {
  -moz-transition-duration: 300ms;
  -o-transition-duration: 300ms;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  -moz-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

.no-animation {
  -moz-transition-duration: 0ms;
  -o-transition-duration: 0ms;
  -webkit-transition-duration: 0ms;
  transition-duration: 0ms;
  -moz-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

.calendar-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}

.calendar-header {
  text-align: center;
  margin-bottom: 20px;
}

.calendar-header button {
  margin: 0 10px;
}

.calendar-days {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}

.year-label {
  width: 60px;
  padding: 0 8px;
  font-weight: bold;
}

.day-label {
  width: calc(100% / 5);
  text-align: center;
  font-weight: bold;
}

.week-calendar {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.calendar-grid {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 520px;
  /* 設定行事曆高度 */
}

.time-slot {
  width: auto;
  text-align: right;
  padding-right: 10px;
  height: 40px;
  /* 每小時顯示的高度 */
}

.day-column {
  width: calc(100% / 7);
  border-left: 1px solid #e0e0e0;
  position: relative;
  display: flex;
  flex-direction: column;
  /* 確保時間格子是垂直排列 */
}

.clickable-slot {
  height: 40px;
  /* 每小時的格子高度 */
  border-top: 1px solid #e0e0e0;
  cursor: pointer;
}

.available-event-block {
  position: absolute;
  width: 100%;
  background-color: #97cbff;
  color: #005B35;
  text-align: center;
  font-size: 12px;
  pointer-events: none;
}

.event-block {
  position: absolute;
  width: 100%;
  background-color: #BFF9D3;
  color: #005B35;
  border-radius: 5px;
  text-align: center;
  font-size: 12px;
  z-index: 10;
  overflow: hidden;
}

.false {
  background-color: #F27D64;
  color: #fff;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.w-block {
  padding: 0;
}

.g-block {
  padding: 0;
  justify-content: space-evenly;
}
.g-block .block {
  background: #fff;
}

.line-g {
  width: 1px;
  height: 45px;
  margin: 16px 0;
  background: #EEEEEE;
}
