/* Dashboard Esami */
.cdvet-exams-dashboard { margin-top: 15px; }
.cdvet-dashboard-header h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.cdvet-dashboard-header p { color: #64748b; font-size: 14px; margin-bottom: 20px; }

/* Tabella Ordine e Dashboard */
.cdvet-exams-table { border-collapse: collapse; width: 100%; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.cdvet-exams-table th { background: #f8fafc; color: #475569; font-weight: 600; font-size: 13px; padding: 12px; border-bottom: 2px solid #e2e8f0; }
.cdvet-exams-table td { padding: 14px 12px; vertical-align: middle; border-bottom: 1px solid #f1f5f9; }

.cdvet-order-items-table th { background: #f8fafc; font-weight: 600; }
.cdvet-order-items-table td { vertical-align: middle; }

/* Tag Paziente */
.cdvet-pet-tag { background: #e0f2fe; color: #0369a1; padding: 4px 8px; border-radius: 4px; font-weight: 600; font-size: 13px; display: inline-block; }

/* Link / Pulsante Download Template Modulo */
.cdvet-template-box { margin-bottom: 6px; width: 100%; }
.cdvet-template-download-link,
.cdvet-template-download-btn {
    display: inline-block !important;
    background: #f0f9ff !important;
    color: #0284c7 !important;
    border: 1px solid #bae6fd !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    height: auto !important;
    text-decoration: none !important;
    margin-bottom: 6px !important;
    transition: all 0.2s ease;
}
.cdvet-template-download-link:hover,
.cdvet-template-download-btn:hover {
    background: #e0f2fe !important;
    border-color: #0284c7 !important;
}

/* Pulsante & Stato Invio Cartaceo con il Campione */
.cdvet-btn-paper {
    display: inline-block !important;
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1.5px solid #94a3b8 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    height: auto !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.cdvet-btn-paper:hover {
    background: #f1f5f9 !important;
    border-color: #475569 !important;
    color: #0f172a !important;
}

.cdvet-paper-confirmed-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    padding: 8px 10px;
    color: #166534;
    font-size: 12px;
    line-height: 1.4;
}
.cdvet-paper-confirmed-box strong {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
}
.cdvet-paper-confirmed-box span {
    font-size: 11px;
    color: #15803d;
}

.cdvet-link-secondary {
    background: none;
    border: none;
    color: #64748b;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    text-align: left;
}
.cdvet-link-secondary:hover {
    color: #0f172a;
}

/* Box Prossimo Step nella Thank You Page */
.cdvet-thankyou-next-steps {
    margin: 28px 0 !important;
    background: #f0f9ff !important;
    border: 2px solid #0284c7 !important;
    border-radius: 10px !important;
    padding: 22px 24px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
.cdvet-thankyou-next-steps h3 {
    margin: 0 0 10px 0 !important;
    color: #0c4a6e !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
}
.cdvet-thankyou-next-steps p {
    margin: 0 0 14px 0 !important;
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
.cdvet-thankyou-next-steps ul {
    margin: 0 0 18px 20px !important;
    padding: 0 !important;
    list-style: disc !important;
}
.cdvet-thankyou-next-steps li {
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
}
.cdvet-thankyou-cta-btn {
    display: inline-block !important;
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    background: #0284c7 !important;
    border: 1px solid #0284c7 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 11px 20px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}
.cdvet-thankyou-cta-btn:hover {
    background: #0369a1 !important;
    border-color: #0369a1 !important;
    color: #ffffff !important;
}

/* Pillole di Stato */
.cdvet-status-pill { display: inline-block; padding: 3px 8px; border-radius: 9999px; font-size: 12px; font-weight: 700; }
.cdvet-pill-completed { background: #dcfce7; color: #15803d; }
.cdvet-pill-processing { background: #e0f2fe; color: #0284c7; }
.cdvet-pill-pending { background: #fef3c7; color: #b45309; }

/* Azioni Documenti */
.cdvet-doc-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cdvet-btn-view { padding: 5px 10px !important; font-size: 12px !important; text-align: center; line-height: 1.3 !important; height: auto !important; }
.cdvet-link-danger { background: none; border: none; color: #dc2626; font-size: 11px; cursor: pointer; text-decoration: underline; padding: 0; text-align: left; }
.cdvet-link-danger:hover { color: #991b1b; }

.cdvet-upload-form-inline { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cdvet-file-pick { font-size: 11px; max-width: 210px; }
.cdvet-btn-upload { padding: 5px 10px !important; font-size: 12px !important; line-height: 1.3 !important; height: auto !important; }
.cdvet-btn-download { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; font-weight: 700 !important; font-size: 12px !important; line-height: 1.3 !important; height: auto !important; }

/* Banner Alert Top */
.cdvet-top-warning-banner { background: #fef3c7; border-bottom: 2px solid #f59e0b; color: #92400e; padding: 12px 20px; text-align: center; font-size: 14px; position: sticky; top: 0; z-index: 99999; }
.cdvet-top-warning-banner a { color: #b45309; font-weight: 700; text-decoration: underline; margin-left: 10px; }