﻿.quick-search-item {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    user-select:none;
}

    .quick-search-item:hover {
        background: #e9ecef;
        border-color: #adb5bd;
        color: #212529;
        text-decoration: none;
    }

    .quick-search-item.active {
        background: #0d6efd;
        border-color: #0d6efd;
        color: white;
    }

.filter-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);   
}

.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 12px 8px;
    font-size: 0.9rem;
}

.table tbody td {
    padding: 12px 8px;
    vertical-align: middle;
    border-color: #e9ecef;
    font-size: 1rem;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.amount-positive {
    color: #198754;
    font-weight: 600;
}

.amount-negative {
    color: #dc3545;
    font-weight: 600;
}

.status-paid {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-unpaid {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    border: none;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-action {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-edit {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    color: white;
}

    .btn-edit:hover {
        background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
        color: white;
    }

.header-title {
    color: #343a40;
    font-weight: 700;
    margin-bottom: 0;
}

.add-btn {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .add-btn:hover {
        background: linear-gradient(135deg, #157347 0%, #1aa179 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

@media (max-width: 768px) {
    .table thead th
{
    font-size: 0.9rem;
    padding: 8px 4px;
}

.table tbody td {
    font-size: 1rem;
    padding: 8px 4px;
}

    .quick-search-item {
        font-size: 0.7rem;
        padding: 6px 12px;
        white-space: nowrap;
    }
    .add-btn {
        font-size: 0.75rem;
    }

}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.375rem 0.75rem;
    margin-left: 2px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        background: #0d6efd;
        border-color: #0d6efd;
        color: white !important;
    }

.dataTables_wrapper .dataTables_filter input {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 6px 12px;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 4px 8px;
}
