.quotpdf-block {
    margin: 10px 0;
    text-align: right;
}

.quotpdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 6px 4px 0;
}

.quotpdf-btn-sm {
    padding: 4px 10px;
    font-size: 0.85em;
}

.quotpdf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quotpdf-modal {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    width: 90%;
    max-width: 420px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.quotpdf-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.quotpdf-field {
    margin-bottom: 14px;
}

.quotpdf-field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.9em;
}

.quotpdf-field input,
.quotpdf-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.quotpdf-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.quotpdf-summary-table td,
.quotpdf-summary-table th {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.quotpdf-summary-table .txt-r {
    text-align: right;
}

.quotpdf-summary-table .txt-c {
    text-align: center;
}

.quotpdf-grand-row td {
    font-weight: 700;
    font-size: 1.1em;
    border-top: 2px solid #333;
}

.quotpdf-actions {
    margin: 20px 0;
}

.quotpdf-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}

.quotpdf-whatsapp:hover {
    background-color: #1ebe5a;
    border-color: #1ebe5a;
    color: #fff;
}

.quotpdf-warning {
    color: #b94a48;
}
