/* 宠物检疫证明与托运指南 /css/tools/pet-quarantine-certificate.css */

/* 结果头部 */
.pqc-head {
    border-radius: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(34, 211, 238, 0.08));
    border: 1px solid rgba(8, 145, 178, 0.3);
    margin-bottom: 10px;
}
.pqc-head-icon { font-size: 28px; line-height: 1.2; }
.pqc-headline { font-size: 17px; font-weight: 900; color: #0e7490; line-height: 1.5; margin-top: 2px; }
.pqc-mode-desc { font-size: 12.5px; color: var(--c-text-sub); line-height: 1.7; margin-top: 6px; }
.pqc-cond { font-size: 12px; color: var(--c-text-muted); margin-top: 6px; line-height: 1.6; }

/* 检疫证提示条 */
.pqc-cert-tag {
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12.5px;
    line-height: 1.7;
    background: rgba(8, 145, 178, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.3);
    color: #0e7490;
    margin-bottom: 12px;
    font-weight: 600;
}
.pqc-cert-tag.is-none {
    background: rgba(100, 116, 139, 0.08);
    border-color: rgba(100, 116, 139, 0.3);
    color: var(--c-text-sub);
    font-weight: 400;
}

/* 警告 */
.pqc-notes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pqc-note {
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12.5px;
    line-height: 1.7;
}
.pqc-note.is-block {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #b91c1c;
    font-weight: 600;
}
.pqc-note.is-warn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #b45309;
}
.pqc-note.is-info {
    background: rgba(8, 145, 178, 0.07);
    border: 1px solid rgba(8, 145, 178, 0.28);
    color: #0e7490;
}
.pqc-note.is-ok {
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: #15803d;
}

/* 总价条 */
.pqc-total-box {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 12px;
    padding: 12px 16px;
    background: var(--c-surface-soft);
    border: 1px solid var(--c-border);
    margin-bottom: 16px;
}
.pqc-total-k { font-size: 13px; font-weight: 700; color: var(--c-text-sub); }
.pqc-total-v {
    font-size: 20px;
    font-weight: 900;
    color: #0e7490;
    font-variant-numeric: tabular-nums;
}

/* 分区小标题 */
.pqc-block-title {
    font-size: 13px;
    font-weight: 800;
    margin: 16px 0 8px;
    letter-spacing: 0.5px;
    color: var(--c-text);
}
.pqc-block-title:first-child { margin-top: 2px; }

/* 时间线 */
.pqc-timeline { position: relative; padding-left: 4px; }
.pqc-tl-item { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.pqc-tl-item:last-child { padding-bottom: 0; }
.pqc-tl-item::before {
    content: '';
    position: absolute;
    left: 43px;
    top: 22px;
    bottom: -2px;
    width: 2px;
    background: var(--c-border);
}
.pqc-tl-item:last-child::before { display: none; }
.pqc-tl-day {
    flex-shrink: 0;
    width: 64px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: #0e7490;
    background: rgba(8, 145, 178, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: 99px;
    z-index: 1;
}
.pqc-tl-body { flex: 1; min-width: 0; }
.pqc-tl-title { font-size: 13px; font-weight: 700; color: var(--c-text); line-height: 1.5; }
.pqc-tl-desc { font-size: 12px; color: var(--c-text-muted); line-height: 1.7; margin-top: 2px; }

/* 列表（材料 / 承运要求 / 提醒） */
.pqc-list { margin: 0; padding-left: 20px; }
.pqc-list li { font-size: 12.5px; line-height: 1.9; color: var(--c-text-sub); }

/* 费用明细 */
.pqc-fee {
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 9px 14px;
    background: var(--c-surface-soft);
    margin-bottom: 8px;
}
.pqc-fee-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pqc-fee-name { font-size: 13px; font-weight: 700; color: var(--c-text); line-height: 1.5; flex: 1; min-width: 140px; }
.pqc-fee-price {
    font-size: 13px;
    font-weight: 800;
    color: #0e7490;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.pqc-fee-note { font-size: 11.5px; color: var(--c-text-muted); line-height: 1.7; margin-top: 3px; }

/* 纯文本区 */
.pqc-textarea {
    width: 100%;
    min-height: 260px;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.9;
    font-family: ui-monospace, Menlo, Consolas, "Microsoft YaHei", monospace;
    color: var(--c-text-sub);
    background: var(--c-surface-soft);
    resize: vertical;
}
.pqc-textarea:focus { outline: none; border-color: rgba(8, 145, 178, 0.5); }
.pqc-text-actions { display: flex; gap: 10px; margin-top: 10px; }
.pqc-text-actions .btn { flex: 1; }

.pqc-toast {
    position: fixed;
    left: 50%;
    bottom: 60px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 99px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    max-width: 86vw;
    text-align: center;
}
.pqc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

[data-theme="dark"] .pqc-headline { color: #22d3ee; }
[data-theme="dark"] .pqc-cert-tag { color: #22d3ee; }
[data-theme="dark"] .pqc-note.is-block { color: #f87171; }
[data-theme="dark"] .pqc-note.is-warn { color: #fbbf24; }
[data-theme="dark"] .pqc-note.is-info { color: #22d3ee; }
[data-theme="dark"] .pqc-note.is-ok { color: #4ade80; }
[data-theme="dark"] .pqc-total-v { color: #22d3ee; }
[data-theme="dark"] .pqc-tl-day { color: #22d3ee; }
[data-theme="dark"] .pqc-fee-price { color: #22d3ee; }
[data-theme="dark"] .pqc-toast { background: rgba(226, 232, 240, 0.95); color: #0f172a; }

@media print {
    .detail-breadcrumb, .calc-layout .calc-card:first-child, .calc-table-card,
    .detail-tabs, .tab-panel, .related, .calc-disclaim, .pqc-text-actions,
    .pqc-toast, .ft-btns, .btn { display: none !important; }
    .pqc-tl-item, .pqc-fee { break-inside: avoid; }
}

@media (max-width: 640px) {
    .pqc-headline { font-size: 15px; }
    .pqc-fee-name { min-width: 0; }
    .pqc-total-v { font-size: 18px; }
}
