/* QZY V0.5.226：未完成测评列表布局与信息层级 */
.main-panel.qzy-reservation-panel {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 0 12px !important;
    text-align: left !important;
}

.qzy-reservation-list {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    box-sizing: border-box;
}

.qzy-reservation-list > h2 {
    margin: 2px 0 16px;
    color: #31558f;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
}

.qzy-reservation-card {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 12px;
    padding: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    border: 1px solid #c8d9f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(44, 78, 130, .055);
    box-sizing: border-box;
}

.qzy-reservation-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 9px 15px;
    border-bottom: 1px solid #e4edfa;
    background: linear-gradient(105deg, #edf4ff 0%, #e5efff 100%);
    box-sizing: border-box;
}

.qzy-reservation-card-head h3 {
    min-width: 0;
    margin: 0;
    color: #254a82;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.qzy-reservation-icon {
    display: inline-flex;
    flex: 0 0 23px;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    color: #31588f;
}

.qzy-reservation-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qzy-reservation-details {
    padding: 0 15px;
    box-sizing: border-box;
}

.qzy-reservation-detail-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-height: 46px;
    padding: 8px 0;
    border-bottom: 1px solid #e4ebf5;
    color: #344d70;
    font-size: 14px;
    line-height: 1.45;
    box-sizing: border-box;
}

.qzy-reservation-detail-row:last-child {
    border-bottom: 0;
}

.qzy-reservation-label {
    flex: 0 0 auto;
    color: #647895;
    font-size: 13px;
}

.qzy-reservation-value {
    min-width: 0;
    color: #314c72;
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.qzy-reservation-tail {
    color: #8190a5;
    font-size: 12px;
    white-space: nowrap;
}

.qzy-reservation-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 14px 13px;
}

.qzy-reservation-actions button {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
    box-sizing: border-box;
}

.qzy-reservation-actions .qzy-reservation-cancel {
    color: #b35c5c;
    border-color: #e7bcbc;
    background: #fff;
}

.qzy-reservation-actions .qzy-reservation-cancel:active {
    background: #fff7f7;
}

.qzy-reservation-actions .qzy-reservation-continue {
    color: #fff;
    border-color: #365d96;
    background: #365d96;
}

.qzy-reservation-actions .qzy-reservation-continue:active {
    background: #2e5185;
}

.qzy-reservation-empty {
    width: 100%;
    margin: 0;
    padding: 22px 14px;
    border: 1px dashed #cad8eb;
    border-radius: 12px;
    background: #f8faff;
    color: #6a7d98;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    box-sizing: border-box;
}

.qzy-reservation-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin: 14px 0 0;
    padding: 0 12px;
    border: 1px solid #9bb6dc;
    border-radius: 9px;
    color: #31588f;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
}

@media (max-width: 420px) {
    .main-panel.qzy-reservation-panel {
        padding: 6px 0 10px !important;
    }

    .qzy-reservation-list > h2 {
        margin-bottom: 13px;
        font-size: 21px;
    }

    .qzy-reservation-card-head {
        min-height: 50px;
        padding: 8px 12px;
    }

    .qzy-reservation-card-head h3 {
        font-size: 17px;
    }

    .qzy-reservation-details {
        padding: 0 12px;
    }

    .qzy-reservation-detail-row {
        min-height: 43px;
        gap: 7px 8px;
        padding: 7px 0;
        font-size: 13px;
    }

    .qzy-reservation-value {
        font-size: 13px;
    }

    .qzy-reservation-actions {
        gap: 8px;
        margin: 3px 11px 11px;
    }

    .qzy-reservation-actions button {
        min-height: 38px;
        padding: 0 8px;
        font-size: 13px;
    }

    .qzy-reservation-back {
        min-height: 40px;
        margin-top: 12px;
        font-size: 14px;
    }
}
