/* 自定义工具类 */
.card-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.table-nowrap th,
.table-nowrap td {
    white-space: nowrap;
}
.table-striped tbody tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.8);
}
.table-striped tbody tr:nth-child(odd) {
    background-color: #fff;
}
.table-striped tbody tr:hover {
    background-color: rgba(238, 242, 255, 0.9) !important;
}

.jiedu-content hr {
    display: none;
}
.jiedu-disabled {
    pointer-events: none;
    opacity: 0.6;
}

/* 日期时间选择器 - 滚轮样式 */
.rlxzq-picker-modal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}
.rlxzq-picker-modal.active {
    transform: translateY(0);
}
.rlxzq-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    backdrop-filter: blur(2px);
}
.rlxzq-backdrop.active {
    display: block;
}
.rlxzq-picker-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.rlxzq-picker-title {
    font-size: 18px;
    font-weight: 600;
}
.rlxzq-picker-actions {
    display: flex;
    gap: 10px;
}
.rlxzq-picker-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}
.rlxzq-picker-cancel {
    background: #f5f5f5;
    color: #666;
}
.rlxzq-picker-confirm {
    background: #6366f1;
    color: white;
}
.rlxzq-calendar-info {
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}
.rlxzq-wheel-wrapper {
    display: flex;
    height: 240px;
    position: relative;
    overflow: hidden;
}
.rlxzq-wheel-column {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.rlxzq-wheel-scroll {
    list-style: none;
    position: absolute;
    width: 100%;
    top: 100px;
    transition: transform 0.1s ease-out;
    padding: 0;
    z-index: 5;
    margin: 0;
}
.rlxzq-wheel-item {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
    color: #888;
    line-height: 40px;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 10;
}
.rlxzq-wheel-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 10;
}
.rlxzq-wheel-highlight {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    height: 40px;
    border-radius: 8px;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.rlxzq-wheel-item.active {
    color: #333 !important;
    font-weight: 600;
    z-index: 20;
    position: relative;
}

/* 测算结果滚动时预留导航栏高度，避免被遮挡 */
#header-card {
    scroll-margin-top: 72px;
}
