.booking-page {
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: var(--bg-light, #F9FAFE);
}

/* Tab 栏 */
.booking-page__tabs {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 44px;
    background-color: var(--bg-white, #ffffff);
    border-bottom: 1px solid var(--border-light, #E9EDF2);
    box-sizing: border-box;
}

.booking-page__tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    box-sizing: border-box;
}

.booking-page__tab-text {
    font-size: var(--font-size-base, 14px);
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--text-light, #8A99B4);
    white-space: nowrap;
}

.booking-page__tab-text--active {
    font-weight: 700;
    color: var(--accent-orange, #FF6B35);
}

.booking-page__tab-indicator {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background-color: var(--accent-orange, #FF6B35);
}

/* 内容区 */
.booking-page__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 40px;
    box-sizing: border-box;
}

/* 提醒横幅 */
.booking-page__alert {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 204, 170, 1);
    background-color: rgba(255, 243, 238, 1);
    box-sizing: border-box;
}

.booking-page__alert-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
}

.booking-page__alert-text {
    flex: 1;
    font-size: var(--font-size-base, 14px);
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--accent-orange, #FF6B35);
    line-height: 1.4;
}

/* 预约卡片 */
.bk-card {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(26, 25, 24, 0.03);
    background-color: var(--bg-white, #ffffff);
    overflow: hidden;
    box-sizing: border-box;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.bk-card__banner {
    width: 100%;
    height: 80px;
    display: block;
    border-radius: 14px 14px 0 0;
}

.bk-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    box-sizing: border-box;
}

.bk-card__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.bk-card__title {
    flex: 1;
    min-width: 0;
    font-size: var(--font-size-md, 16px);
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--text-dark, #1E2A3A);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-card__status {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 6px;
    box-sizing: border-box;
}

.bk-card__status--booked {
    background-color: var(--success-green, #2ECC71);
}

.bk-card__status--pending {
    background-color: rgba(255, 243, 238, 1);
    border: 1px solid rgba(212, 166, 74, 1);
}

.bk-card__status--completed {
    background-color: var(--bg-light, #F9FAFE);
    border: 1px solid var(--border-light, #E9EDF2);
}

.bk-card__status--cancelled {
    background-color: var(--bg-light, #F9FAFE);
    border: 1px solid var(--border-light, #E9EDF2);
}

.bk-card__status-text {
    font-size: var(--font-size-sm, 12px);
    font-family: var(--font-family);
    font-weight: 500;
    white-space: nowrap;
}

.bk-card__status-text--booked {
    color: var(--text-inverse, #ffffff);
}

.bk-card__status-text--pending {
    color: var(--accent-orange, #FF6B35);
}

.bk-card__status-text--completed {
    color: var(--text-muted, #5E6F8D);
}

.bk-card__status-text--cancelled {
    color: var(--text-light, #8A99B4);
}

/* 时间与教练信息（分两行） */
.bk-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.bk-card__meta-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.bk-card__meta-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    display: block;
}

.bk-card__meta-text {
    font-size: var(--font-size-base, 14px);
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--text-muted, #5E6F8D);
    white-space: nowrap;
}

/* 底部操作行 */
.bk-card__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.bk-card__footer-info {
    flex: 1;
    min-width: 0;
    font-size: var(--font-size-sm, 12px);
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--text-light, #8A99B4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-card__cancel {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-light, #E9EDF2);
    background-color: var(--bg-white, #ffffff);
    box-sizing: border-box;
}

.bk-card__cancel-text {
    font-size: var(--font-size-base, 14px);
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--error-red, #E74C3C);
    white-space: nowrap;
}

/* 空状态 */
.booking-page__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.booking-page__empty-text {
    font-size: var(--font-size-base, 14px);
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--text-light, #8A99B4);
}
