/* Live Billers Display Styles - Matching Dashboard styles */

/* Biller Name with Logo Styling */
.biller-name-with-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.biller-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    padding: 3px;
    background: #fff;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.biller-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.biller-logo-default {
    opacity: 0.5;
    border-color: #ddd;
    background: #f8f9fa;
}

.biller-name-text {
    flex: 1;
    line-height: 1.4;
}

/* Blinking dot animation for status indicators */
@keyframes blink-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.blink-dot {
    animation: blink-dot 2s ease-in-out infinite;
}

.blink-dot-success {
    animation: blink-dot 2s ease-in-out infinite;
    color: #3aff1c;
}

.blink-dot-warning {
    animation: blink-dot 2s ease-in-out infinite;
    color: #f4fc01;
}

.blink-dot-danger {
    animation: blink-dot 2s ease-in-out infinite;
    color: #dc3545;
}

/* Table Styling */
.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

/* Cards */
.card {
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Search Input */
#search-billers {
    border-radius: 4px;
}

#clear-filters-btn {
    border-left: 0;
}

/* Pagination */
.pagination {
    margin-bottom: 0;
}

.pagination .page-link {
    color: #2c3e50;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table {
        font-size: 0.9rem;
    }
    
    .card-body h3 {
        font-size: 1.5rem;
    }
    
    #results-info {
        display: block;
        margin-top: 5px;
        text-align: center;
    }
}

/* Loading Spinner */
.spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Alert styling */
.alert {
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-info {
    border-left-color: #17a2b8;
}

.alert-danger {
    border-left-color: #dc3545;
}
