.quotation-card {
    background: #fff;
    border: 1px solid #eceef3;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(16, 29, 70, 0.05);
    overflow: hidden;
}

.quotation-table th,
.quotation-table td {
    padding: 18px;
    vertical-align: middle;
}

.quotation-table thead th {
    background: #f8f9fb;
    border-bottom: 1px solid #eceef3;
    white-space: nowrap;
}

.quotation-product > a {
    flex: 0 0 92px;
    width: 92px;
}

.quotation-product img {
    display: block;
    width: 92px !important;
    min-width: 92px;
    max-width: none !important;
    height: 92px !important;
    object-fit: contain;
    border: 1px solid #eceef3;
    border-radius: 10px;
    background: #fff;
}

.quotation-qty {
    width: 82px;
    text-align: center;
}

.quotation-table td:last-child {
    width: 52px;
}

.quotation-table button.quotation-remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 1px solid #eceef3 !important;
    border-radius: 7px;
    background: #fff !important;
    color: #8b91a1 !important;
    line-height: 1 !important;
}

.quotation-table button.quotation-remove:hover {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
    background: #fff5f5 !important;
}

.quotation-card-footer {
    border-top: 1px solid #eceef3;
    padding: 15px 18px;
}

.quotation-summary {
    padding: 24px;
    position: sticky;
    top: 90px;
}

.quotation-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
}

.quotation-grand-total {
    border-top: 1px solid #eceef3;
    margin-top: 8px;
    padding-top: 17px;
    font-size: 18px;
}

.quotation-account,
.quotation-empty {
    border: 1px dashed #d8dce6;
    border-radius: 12px;
    background: #fafbfc;
    padding: 24px;
}

.quotation-account span,
.quotation-account small {
    display: block;
    margin-top: 3px;
}

#quotation-notes.form-control {
    height: 180px !important;
    min-height: 180px !important;
    padding-top: 14px;
    resize: vertical;
}

.quotation-summary .iti {
    width: 100%;
}

.quotation-empty {
    padding: 60px 20px;
}

@media (max-width: 767px) {
    .quotation-table th,
    .quotation-table td {
        padding: 12px;
    }

    .quotation-product {
        min-width: 240px;
    }

    .quotation-summary {
        position: static;
    }
}
