.lpbd-bookings-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: "Azo Sans Regular", sans-serif;
}

.lpbd-filters {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.lpbd-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.lpbd-filter-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.lpbd-filter-item {
    display: flex;
    flex-direction: column;
}

.lpbd-filter-item label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.lpbd-filter-item input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.lpbd-filter-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.lpbd-filter-btn:hover {
    background: #005a87;
}

.lpbd-time-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.lpbd-time-btn {
    background: #ff0096;
    border: 1px solid #ff0096;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-family: "Azo Sans Regular", sans-serif;
    transition: all 0.3s;
    color: #ffffff;
}

.lpbd-time-btn:hover {
    background: #e0007a;
    border-color: #e0007a;
}

.lpbd-time-btn.active {
    background: #cc0080;
    color: #ffffff;
    border-color: #cc0080;
    box-shadow: 0 2px 4px rgba(255, 0, 150, 0.3);
}

.lpbd-time-btn.active:hover {
    background: #b3006d;
    border-color: #b3006d;
}

.lpbd-no-bookings {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Inline batch payment rows in table */
.lpbd-batch-payment-row {
    background: linear-gradient(135deg, #fff8fc 0%, #fff0f7 100%);
    border-top: 2px solid #ff0096;
    border-bottom: 2px solid #ff0096;
}

.lpbd-batch-payment-row td {
    padding: 16px !important;
}

.lpbd-inline-batch-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.lpbd-batch-customer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Marvin Round", sans-serif;
    font-size: 15px;
}

.lpbd-batch-customer-info strong {
    color: #ff0096;
    font-weight: 600;
}

.lpbd-batch-label {
    color: #6c757d;
    font-family: "Azo Sans Regular", sans-serif;
    font-size: 13px;
    font-style: italic;
}

.lpbd-batch-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.lpbd-batch-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lpbd-batch-desc {
    font-family: "Azo Sans Regular", sans-serif;
    font-size: 13px;
    color: #495057;
    white-space: nowrap;
}

.lpbd-batch-desc strong {
    color: #ff0096;
    font-family: "Marvin Round", sans-serif;
    font-size: 15px;
    margin-left: 4px;
}

.lpbd-btn-batch-local-today,
.lpbd-btn-batch-local-all {
    background: linear-gradient(135deg, #ff0096 0%, #e0007a 100%);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer !important;
    font-size: 13px;
    font-family: "Azo Sans Regular", sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(255, 0, 150, 0.25);
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.lpbd-btn-batch-local-today:hover,
.lpbd-btn-batch-local-all:hover {
    background: linear-gradient(135deg, #e0007a 0%, #cc0080 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 150, 0.35);
}

.lpbd-btn-batch-local-today:active,
.lpbd-btn-batch-local-all:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(255, 0, 150, 0.3);
}

.lpbd-btn-batch-card-today,
.lpbd-btn-batch-card-all {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer !important;
    font-size: 13px;
    font-family: "Azo Sans Regular", sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.lpbd-btn-batch-card-today:hover,
.lpbd-btn-batch-card-all:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
}

.lpbd-btn-batch-card-today:active,
.lpbd-btn-batch-card-all:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 123, 255, 0.3);
}

.lpbd-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.lpbd-btn-confirm-batch-local,
.lpbd-btn-confirm-batch-card {
    background: linear-gradient(135deg, #ff0096 0%, #e0007a 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Azo Sans Regular", sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 150, 0.3);
    min-width: 120px;
}

.lpbd-btn-confirm-batch-local:hover,
.lpbd-btn-confirm-batch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 150, 0.4);
}

.lpbd-btn-confirm-batch-local:disabled,
.lpbd-btn-confirm-batch-card:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.lpbd-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lpbd-bookings-table {
    width: 100%;
    border-collapse: collapse;
}

.lpbd-bookings-table thead {
    background: #f5f5f5;
}

.lpbd-bookings-table th {
    padding: 16px;
    text-align: left;
    font-family: "Marvin Round", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.lpbd-bookings-table td {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: "Azo Sans Regular", sans-serif;
}

.lpbd-bookings-table tbody tr:hover {
    background: #f9f9f9;
}

.lpbd-booking-id {
    font-weight: 600;
}

.lpbd-id {
    display: block;
    color: #333;
}

.lpbd-code {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.lpbd-customer-email {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.lpbd-customer-custom-field {
    font-size: 12px;
    color: #0073aa;
    margin-top: 2px;
    font-weight: bold;
}

.lpbd-agent {
    font-weight: 500;
    color: #333;
}

.lpbd-status-badge,
.lpbd-payment-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.lpbd-status-approved {
    background: #d4edda;
    color: #155724;
}

.lpbd-status-pending {
    background: #fff3cd;
    color: #856404;
}

.lpbd-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.lpbd-payment-paid {
    background: #d4edda;
    color: #155724;
}

.lpbd-payment-partially_paid {
    background: #fff3cd;
    color: #856404;
}

.lpbd-payment-unpaid {
    background: #f8d7da;
    color: #721c24;
}

.lpbd-actions {
    white-space: nowrap;
}

.lpbd-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
    transition: all 0.3s;
}

.lpbd-btn-local {
    background: linear-gradient(135deg, #ff0096 0%, #e0007a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 0, 150, 0.3);
}

.lpbd-btn-local:hover {
    background: linear-gradient(135deg, #e0007a 0%, #cc0080 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 150, 0.4);
}

.lpbd-btn-card {
    background: #007bff;
    color: white;
}

.lpbd-btn-card:hover {
    background: #0056b3;
}

.lpbd-paid-label {
    color: #28a745;
    font-weight: 600;
    font-size: 12px;
}

.lpbd-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    animation: lpbd-modal-fade-in 0.3s ease-out;
}

@keyframes lpbd-modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lpbd-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: lpbd-modal-slide-in 0.4s ease-out;
}

@keyframes lpbd-modal-slide-in {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.lpbd-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lpbd-modal-close:hover {
    background: #ff0096;
    color: white;
    transform: scale(1.1);
}

.lpbd-modal h3 {
    margin-top: 0;
    margin-bottom: 24px;
    color: #333;
    font-family: "Marvin Round", sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.lpbd-modal-body {
    margin-bottom: 24px;
    font-family: "Azo Sans Regular", sans-serif;
}

.lpbd-payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lpbd-payment-form .form-group {
    display: flex;
    flex-direction: column;
}

.lpbd-payment-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-family: "Azo Sans Regular", sans-serif;
}

.lpbd-payment-form input {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Azo Sans Regular", sans-serif;
    transition: border-color 0.3s ease;
}

.lpbd-payment-form input:focus {
    outline: none;
    border-color: #ff0096;
    box-shadow: 0 0 0 3px rgba(255, 0, 150, 0.1);
}

.lpbd-payment-summary {
    background: linear-gradient(135deg, #ff0096 0%, #e0007a 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(255, 0, 150, 0.2);
}

.lpbd-payment-summary p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    font-family: "Azo Sans Regular", sans-serif;
}

.lpbd-payment-summary .total {
    font-weight: 700;
    font-size: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 12px;
}

.lpbd-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.lpbd-btn-confirm,
.lpbd-btn-close {
    background: linear-gradient(135deg, #ff0096 0%, #e0007a 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Azo Sans Regular", sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 150, 0.3);
    min-width: 120px;
}

.lpbd-btn-confirm:hover,
.lpbd-btn-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 150, 0.4);
}

.lpbd-btn-confirm:active,
.lpbd-btn-close:active {
    transform: translateY(0);
}

.lpbd-btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
    padding: 14px 28px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Azo Sans Regular", sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
}

.lpbd-btn-cancel:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.lpbd-success-message,
.lpbd-error-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: "Azo Sans Regular", sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lpbd-success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
    box-shadow: 0 4px 12px rgba(21, 87, 36, 0.1);
}

.lpbd-success-message::before {
    content: "✓";
    font-weight: bold;
    font-size: 18px;
}

.lpbd-error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
    box-shadow: 0 4px 12px rgba(114, 28, 36, 0.1);
}

.lpbd-error-message::before {
    content: "⚠";
    font-weight: bold;
    font-size: 18px;
}

.lpbd-loading {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.lpbd-loading p {
    margin: 0;
    color: #666;
    font-style: italic;
}

/* Mobile-first responsive design */
@media (max-width: 1024px) {
    .lpbd-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lpbd-bookings-table {
        min-width: 800px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .lpbd-bookings-container {
        margin: 10px 0;
    }

    .lpbd-filters {
        padding: 15px;
        margin-bottom: 15px;
    }

    .lpbd-filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .lpbd-filter-item {
        width: 100%;
    }

    .lpbd-filter-item input {
        width: 100%;
        box-sizing: border-box;
    }

    .lpbd-filter-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }

    .lpbd-time-buttons {
        gap: 6px;
    }

    .lpbd-time-btn {
        font-size: 11px;
        padding: 6px 10px;
    }

    .lpbd-batch-payment-row td {
        padding: 12px !important;
    }

    .lpbd-inline-batch-payment {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .lpbd-batch-customer-info {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .lpbd-batch-label {
        font-size: 12px;
    }

    .lpbd-batch-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .lpbd-batch-option {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 8px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 6px;
    }

    .lpbd-batch-desc {
        font-size: 12px;
        white-space: normal;
    }

    .lpbd-batch-desc strong {
        font-size: 14px;
    }

    .lpbd-btn-batch-local-today,
    .lpbd-btn-batch-local-all,
    .lpbd-btn-batch-card-today,
    .lpbd-btn-batch-card-all {
        width: 100%;
        padding: 8px 12px;
        font-size: 12px;
    }

    .lpbd-btn-small {
        width: 100%;
        padding: 8px 12px;
    }

    .lpbd-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 4px;
        margin: 0 -10px;
        padding: 0 10px;
    }

    .lpbd-bookings-table {
        min-width: 700px;
        font-size: 12px;
    }

    .lpbd-bookings-table th,
    .lpbd-bookings-table td {
        padding: 8px;
        white-space: nowrap;
    }

    .lpbd-customer-name {
        min-width: 120px;
        white-space: normal !important;
    }

    .lpbd-customer-email,
    .lpbd-customer-custom-field {
        font-size: 10px;
    }

    .lpbd-actions {
        min-width: 100px;
    }

    .lpbd-btn {
        font-size: 10px;
        padding: 4px 8px;
        margin-right: 2px;
        margin-bottom: 2px;
    }

    .lpbd-status-badge,
    .lpbd-payment-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .lpbd-modal-content {
        width: 95%;
        margin: 10px;
        padding: 24px;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 12px;
    }

    .lpbd-modal h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .lpbd-modal-close {
        width: 32px;
        height: 32px;
        font-size: 20px;
        right: 16px;
        top: 16px;
    }

    .lpbd-payment-summary {
        margin-bottom: 20px;
        padding: 20px;
    }

    .lpbd-modal-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .lpbd-btn-confirm,
    .lpbd-btn-cancel {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }

    .lpbd-payment-form input {
        padding: 14px 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .lpbd-bookings-container {
        font-size: 14px;
    }

    .lpbd-table-wrapper {
        margin: 0 -15px;
        padding: 0 15px;
    }

    .lpbd-bookings-table {
        min-width: 600px;
        font-size: 11px;
    }

    .lpbd-bookings-table th,
    .lpbd-bookings-table td {
        padding: 4px;
    }

    .lpbd-customer-name {
        min-width: 100px;
    }

    .lpbd-customer-email,
    .lpbd-customer-custom-field {
        font-size: 9px;
    }

    .lpbd-btn {
        font-size: 9px;
        padding: 3px 6px;
    }

    .lpbd-status-badge,
    .lpbd-payment-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
}