/* @keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1), 
                   0 0 10px rgba(255, 255, 255, 0.1), 
                   0 0 15px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2), 
                   0 0 20px rgba(255, 255, 255, 0.2), 
                   0 0 30px rgba(255, 255, 255, 0.2);
    }
} */

/* Status Cards */
.status-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15), 
        rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.6rem 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    border-radius: 16px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.status-card.active {
    border-left: 4px solid #28a745;
    animation: fadeInUp 0.6s ease-out, pulseGlow 3s ease-in-out infinite;
}

.status-card.inactive {
    border-left: 4px solid #dc3545;
    animation: fadeInUp 0.6s ease-out;
}

.status-card:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.status-card:hover::before {
    opacity: 1;
}

.status-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.badge-active {
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.8), 
        rgba(40, 167, 69, 0.6));
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.badge-inactive {
    background: linear-gradient(135deg, 
        rgba(220, 53, 69, 0.8), 
        rgba(220, 53, 69, 0.6));
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.card-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.status-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.service-info {
    flex: 1;
}

.service-name {
    color: white;
    font-weight: 600;
    /* margin: 0 0 0.5rem 0; */
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.last-updated {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Table Card */
.table-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.table-dark {
    background: transparent;
}

.table-dark th {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
}

.table-dark td {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* Pagination */
.pagination .page-link {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.pagination .page-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.pagination .page-item.active .page-link {
    background-color: #ff3385;
    border-color: #ff3385;
    color: white;
}

.pagination .page-item.disabled .page-link {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .table-card{
        padding: 10px;
    }
    .table-card h4{
        font-size: 1.3rem;
        padding-top: 20px;
        text-align: center;
    }
}