/* ============================================================
   产品预约订单查询
   复用 productBooking.css 基础风格（暖奶油 #F5F5EB + 主色 #BEFF50）
   本文件仅补充：根容器、温馨提示、订单卡片、状态徽标、操作按钮
   ============================================================ */

/* 主题色变量（与 orderVerification.css 保持一致） */
:root {
    --primary-green: #73c26e;
    --secondary-green: #5ab554;
}

#product-booking-order-query-box {
    min-height: 100vh;
    background-color: #F5F5EB;
}

/* ========== 温馨提示（查询按钮下方）========== */
.warm-tip {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 4px 4px 24px;
    padding: 10px 12px;
    background: rgba(190, 255, 80, 0.14);
    border-radius: 8px;
    border-left: 3px solid #BEFF50;
}

.warm-tip-icon {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.6;
}

.warm-tip-text {
    flex: 1;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    word-break: break-all;
}

/* ========== 空状态 ========== */
.order-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px;
    text-align: center;
}

.order-empty-icon {
    font-size: 44px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.order-empty-text {
    font-size: 14px;
    color: #999;
}

/* ========== 订单卡片 ========== */
.order-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 4px 16px 12px;
    margin: 12px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.order-row {
    display: flex;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 14px;
    line-height: 1.6;
}

.order-row:last-of-type {
    border-bottom: none;
}

.order-label {
    flex: 0 0 76px;
    color: #999;
    font-size: 13px;
}

.order-value {
    flex: 1;
    color: #14140F;
    word-break: break-all;
}

/* 付款金额强调（terra，与状态徽标同色系）*/
.order-value--amount {
    font-weight: 600;
    color: #d4845a;
}

/* ========== 状态徽标 ========== */
.order-row--status {
    align-items: center;
}

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.status--1 { color: #d4845a; background: rgba(212, 132, 90, 0.12); }   /* 未确认 */
.status--2 { color: #2f7ac0; background: rgba(47, 122, 192, 0.12); }   /* 已确认 */
.status--3 { color: #999;    background: rgba(0, 0, 0, 0.06); }         /* 已取消 */
.status--4 { color: #5b8233; background: rgba(91, 130, 51, 0.14); }    /* 已完成 */

/* ========== 操作按钮 ========== */
.order-actions {
    display: flex;
    gap: 12px;
    padding: 12px 0 4px;
    margin-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.action-btn {
    flex: 1;
    height: 36px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.action-btn:active {
    transform: translateY(1px);
}

.action-btn--ghost {
    background: var(--secondary-green);
    color: #fff;
    border: 1px solid var(--secondary-green);
}

.action-btn--danger {
    background: var(--primary-green);
    color: #fff;
    border: 1px solid var(--primary-green);
}

.action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
