/* Common Table Styling for LeadManagement */
.table-container {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    margin-bottom: 0;
}

.data-table thead th {
    background-color: #343a40;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
    letter-spacing: 0.5px;
    border: none;
}

.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.data-table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status indicator */
.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-active {
    background-color: #38c172;
}

.status-pending {
    background-color: #f6993f;
}

.status-cancelled {
    background-color: #e3342f;
}

.status-expired {
    background-color: #6c757d;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    transition: all 0.2s ease;
}

.btn-view {
    background-color: #3490dc;
    color: white;
}

.btn-edit {
    background-color: #f6993f;
    color: white;
}

.btn-delete {
    background-color: #e3342f;
    color: white;
}

.btn-action:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
} 