.suggestions-dropdown {
    position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid #ddd; border-top: none;
    max-height: 200px; overflow-y: auto; z-index: 1000; display: none; border-radius: 0 0 5px 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.suggestion-item { padding: 10px; cursor: pointer; border-bottom: 1px solid #eee; transition: background-color 0.2s; }
.suggestion-item:hover, .suggestion-item.selected { background-color: #007bff; color: white; }
.suggestion-item:last-child { border-bottom: none; }

.customer-row { cursor: pointer; transition: background-color 0.2s; }
.customer-row:hover { background-color: #f8f9fa; }
.customer-transactions { display: none; background-color: #f8f9fa; padding: 15px; margin-top: 10px; border-radius: 5px; cursor: default; }

.transaction-row { padding: 10px 0; border-bottom: 1px solid #dee2e6; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.transaction-row:last-child { border-bottom: none; }
.transaction-info { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.transaction-timestamp { font-size: 0.75rem; color: #6c757d; font-weight: normal; }
.job-actions { display: flex; gap: 4px; flex-wrap: wrap; }

.paid { color: #198754; font-weight: bold; }
.unpaid { color: #dc3545; font-weight: bold; }
.customer-name { font-weight: 500; }
.amount { font-weight: bold; }
.refund-flag { color: #b02a37; font-weight: bold; }

#customerName { position: relative; }
.mb-3 { position: relative; }
.card { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); }

.status-btn { font-size: 0.75rem; padding: 0.25rem 0.5rem; min-width: 30px; transition: all 0.2s ease; border-width: 1px; }
.status-btn:hover { transform: scale(1.05); }

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

.btn-outline-success { color: #198754; border-color: #198754; background-color: transparent; }
.btn-outline-success:hover, .btn-success { color: white; background-color: #198754; border-color: #198754; }
.btn-outline-danger { color: #dc3545; border-color: #dc3545; background-color: transparent; }
.btn-outline-danger:hover { color: white; background-color: #dc3545; border-color: #dc3545; }
.spinner-border-sm { width: 0.875rem; height: 0.875rem; }

.floating-alert {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; min-width: 400px; max-width: 90vw;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); animation: slideDown 0.3s ease-out;
}
@keyframes slideDown { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.floating-alert.fade-out { animation: slideUp 0.3s ease-in; }
@keyframes slideUp { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(-20px); } }

.payment-status-group { display: flex; border: 1px solid #ced4da; border-radius: 0.375rem; overflow: hidden; }
.payment-radio { position: relative; flex: 1; }
.payment-radio input[type="radio"] { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.payment-radio label { display: block; padding: 0.5rem 1rem; text-align: center; background-color: #f8f9fa; border-right: 1px solid #ced4da; margin: 0; cursor: pointer; transition: all 0.2s ease; user-select: none; }
.payment-radio:last-child label { border-right: none; }
.payment-radio input[type="radio"]:checked + label { background-color: #007bff; color: white; font-weight: 500; }
.payment-radio input[type="radio"]:focus + label { box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); outline: none; }
.payment-radio.paid input[type="radio"]:checked + label { background-color: #198754; }
.payment-radio.unpaid input[type="radio"]:checked + label { background-color: #dc3545; }

.badge { font-size: 0.75rem; }
.breadcrumb { background-color: transparent; padding: 0; margin-bottom: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: "•"; color: #6c757d; }

.settings-field { margin-bottom: 1rem; }
.settings-field textarea { font-size: 0.9rem; }
.ph-hint { font-size: 0.75rem; color: #6c757d; }
.me-job { padding: 12px 0; border-bottom: 1px solid #dee2e6; }
.me-job:last-child { border-bottom: none; }
.me-job .btn { margin: 4px 4px 0 0; }
.stat-box { background: #f8f9fa; border-radius: 8px; padding: 12px; text-align: center; }
.stat-box .n { font-size: 1.3rem; font-weight: 700; }

@media (max-width: 768px) {
    .container-fluid { padding: 10px; }
    .col-md-4, .col-md-8 { margin-bottom: 20px; }
    .transaction-row { flex-direction: column; align-items: flex-start; }
    .transaction-info { flex-direction: column; align-items: flex-start; }
    .floating-alert { min-width: 300px; left: 10px; right: 10px; transform: none; }
    .payment-status-group { flex-direction: column; }
    .payment-radio label { border-right: none; border-bottom: 1px solid #ced4da; }
    .payment-radio:last-child label { border-bottom: none; }
}
