:where([class^="ri-"])::before { content: "\f3c2"; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    background-color: #FAFAFA;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
}
html {
    background-color: #E5E5E5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}
.filter-item.active {
    background-color: #4A90E2;
    color: white;
}
.card-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* 修改弹窗层级样式 */
#filterModal { z-index: 1000; }
#detailModal { z-index: 1001; }
#bookingModal { z-index: 1002; }
#paymentModal { z-index: 1003; }
#successModal { z-index: 1004; }
/* 添加时间选择样式 */
.time-slot {
    transition: all 0.2s ease;
}

.time-slot:hover {
    border-color: #4A90E2;
    background-color: #F0F7FF;
}

.time-slot.selected {
    border-color: #4A90E2;
    background-color: #E6F0FF;
}

.time-slot.selected div {
    color: #4A90E2;
}

/* 添加日期选择样式 */
.date-slot {
    transition: all 0.2s ease;
}

.date-slot:hover {
    border-color: #4A90E2;
    background-color: #F0F7FF;
}

.date-slot.selected {
    border-color: #4A90E2;
    background-color: #E6F0FF;
}

.date-slot.selected div:first-child {
    color: #4A90E2;
}

/* 添加时长选择样式 */
.duration-slot {
    transition: all 0.2s ease;
    position: relative;
}

.duration-slot:hover {
    border-color: #4A90E2;
    background-color: #F0F7FF;
}

.duration-slot.selected {
    border-color: #4A90E2;
    background-color: #E6F0FF;
}

.duration-slot.selected div {
    color: #4A90E2;
}

/* 删除对号相关的样式 */
.duration-slot.selected::after,
.duration-slot.selected::before {
    display: none;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* 弹窗滚动区域 */
#detailModal .bg-white,
#bookingModal .bg-white,
#paymentModal .bg-white {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}