.mod-order-details {
    margin: 2em 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mod-order-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.mod-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.mod-table th,
.mod-table td {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.mod-table thead {
    background-color: #f9fafb;
    border-bottom: 2px solid #f3f4f6;
}

.mod-table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #4b5563;
}

.mod-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.mod-table tbody tr:last-child {
    border-bottom: 2px solid #e5e7eb;
}

.mod-table tbody td a {
    text-decoration: none !important;
    box-shadow: none !important;
}

.mod-summary-row {
    background-color: #fafafa;
}

.mod-summary-row th {
    font-weight: 500;
    color: #4b5563;
    text-align: right;
}

.mod-summary-row td {
    font-weight: 600;
    color: #111827;
    text-align: right;
    width: 20%;
}

.mod-summary-row.mod-total-highlight {
    background-color: #f3f4f6;
}

.mod-summary-row.mod-total-highlight th,
.mod-summary-row.mod-total-highlight td {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.mod-actions-container {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.mod-order-note-box {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background-color: #f0fdf4;
    border-left: 4px solid #16a34a;
    border-radius: 4px;
    font-size: 0.9rem;
}

.mod-order-note-box strong {
    color: #166534;
    display: block;
    margin-bottom: 0.25rem;
}

.text-right {
    text-align: right;
}

/* Style for the cancel button specifically */
.order-actions-button.cancel-btn {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
}

.order-actions-button.cancel-btn:hover {
    background-color: #dc2626 !important;
}